Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/admin/setup_ex_adv.htm
<!-- TITLE: Advanced Setup -->

<center><b>
  <a href="index.php?page=setup">General Setup</a> |
  <a href="index.php?page=setup&f=adv">Advanced Setup</a> |
  <a href="index.php?page=perform">Performance Setup</a>
</b></center>
<br />

       <table width="100%" border="0" cellspacing="1" cellpadding="0">
         <tr> 
           <td colspan="3"> 
             <form method="post" name="frm">

<input type=hidden name=token value="##TOKEN##">

               <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">

                 <tr> 
                   <td colspan="3" class=th_adm>ADVANCED SETTINGS</td>
                 </tr>

	       <tr> 
                   <td width="3%">&nbsp;</td>
                   <td width="30%" valign=top>Enable search engines friendly URLs ?
                   </td>
                   <td width="67%" valign=top>
                     <input type=checkbox name=EN_SE_URLS value=1 ##EN_SE_URLS##>
<font class=txt8 color=blue> 
You need Apache module "mod_rewrite" installed for this.
If mod_rewrite is installed and you want this option to work please copy ".htaccess" file 
from "/docs/" dir into script dir (where index.php resides)
                     </td>
                 </tr>


                 <tr>
                   <td>&nbsp;</td>
                   <td valign=top>Include category names and {item} titles in SE friendly URLs ?
                   </td>
                   <td valign=top>
                     <input type=checkbox name=EN_SE_ADV ##EN_SE_ADV## value=1>
                    <font class=txt8 color=blue>
This option has effect only if "Enable SE friendly URLs" is enabled above
                   </td>
                 </tr>


<input type=hidden name=EN_FSETS value=1>

                 <!--tr>
                   <td>&nbsp;</td>
                   <td>Multiple fieldsets
                   </td>
                   <td valign=top>
                     <input type=checkbox name=EN_FSETS ##EN_FSETS## value=1>
                     <font class=txt8 color=red> Do you need categories with different fieldsets (category-specific ad fields) ?
                     </td>
                 </tr-->

                 <tr>
                   <td>&nbsp;</td>
                   <td valign=top>Sectioned (dynamic) category selection ?
                   </td>
                   <td valign=top>
                     <input type=checkbox name=EN_CAT_MULTI ##EN_CAT_MULTI## value=1>
                    <font class=txt8 color=blue>
Check on if you have many categories/subcategories and they are difficult to scroll if
all shown in a single drop-down menu.
This setting affects {Add_Item}, Modify {Item}, Advanced Search pages
                   </td>
                 </tr>


                 <tr>
                   <td>&nbsp;</td>
                   <td valign=top>Parse user fields ?
                   </td>
                   <td valign=top>
                     <input type=checkbox name=EN_UF ##EN_UF## value=1>
                    <font class=txt8 color=blue>
Enable user profile fields displaying in {item} details / search / browse results ?
                   </td>
                 </tr>

                 <tr>
                   <td>&nbsp;</td>
                   <td valign=top>Display non-fatal PHP errors ?
                   </td>
                   <td valign=top>
                     <input type=checkbox name=EN_PHP_ERR ##EN_PHP_ERR## value=1>
                    <font class=txt8 color=blue>
This determines whether errors should be printed to the screen as part of the output or if they should be hidden from the user.
This option can help in development and should be turned off on production system
                   </td>
                 </tr>

                 <tr>
                   <td>&nbsp;</td>
                   <td>Store user sessions data in database ?
                   </td>
                   <td valign=top>
                     <input type=checkbox name=EN_DB_SESSION ##EN_DB_SESSION## value=1>
                    <font class=txt8 color=blue>Check on to enable "Guests online now" amount tracking feature
                   </td>
                 </tr>

                 <tr>
                   <td>&nbsp;</td>
                   <td>Disallow user account sharing ?
                   </td>
                   <td valign=top>
                     <input type=checkbox name=EN_U_AC_NOSHARE ##EN_U_AC_NOSHARE## value=1>
                    <font class=txt8 color=blue>Check on to 
prevent other users from logging in under the same user account at the same time 
(option 'store user sessions data in database' should be enabled)
<!--using the IP address to compare-->
                   </td>
                 </tr>


                 <tr>
                   <td>&nbsp;</td>
                   <td>Session IP Validation Level<br>
                   <font class=txt8>(max. value corresponds to strict IP based validation)</td>
                   <td valign=top>
                    <select name=SES_OCTETS>##SES_OCTETS##</select>
                    <font class=txt8 color=blue>
This option adds an additional layer of protection to sessions, but
you may want to reduce this value if you have many complaints from people not able to login (e.g. AOL based users, these people have rotating/dynamic IP 
addresses and session/IP checking fails for them)
                   </td>
                 </tr>

                 <tr>
                   <td>&nbsp;</td>
                   <td>Failed authentication delay, seconds<br>
		   </td>
                   <td valign=top>
                     <input name=AUTH_FAILED_DELAY value="##AUTH_FAILED_DELAY##" size=4>
                    <font class=txt8 color=blue>
Brute Force Attack protection - if a new login attempt is made within this time of a previous failure, authentication fails regardless of whether the login credentials are correct
                   </td>
                 </tr>


                 <tr>
                   <td>&nbsp;</td>
                   <td>Auto Login (persistent login) expiration time, days<br>
		   </td>
                   <td valign=top>
                     <input name=AUTOLOGIN_DAYS value="##AUTOLOGIN_DAYS##" size=4>
                    <font class=txt8 color=blue>
How many days from the last login date "Auto Login" should be valid ?
                   </td>
                 </tr>

 <tr>
                   <td>&nbsp;</td>
                   <td valign=top>Enable one-time autologin cookie usage ?</td>
                   <td valign=top>
<table border=0 width="100%" cellpadding=0 cellspacing=0>
<tr>
<td class=txt8 valign=top width="50%">
<input type=checkbox name=EN_SINGLE_AUTH_USER ##EN_SINGLE_AUTH_USER## value=1> For Users<br />
</td>
<td class=txt8 valign=top width="50%">
<input type=checkbox name=EN_SINGLE_AUTH_ADM ##EN_SINGLE_AUTH_ADM## value=1> For Admin<br />
</td>
</tr>
</table>

<font class=txt8 color=blue>

This option offers more secure persistent login implementation and protection from replay (presentation) attacks.
If it is enabled, autologin will be possible only from the last used computer/browser where "Remember me" login option was used

                   </td>
                 </tr>


<!-- IF ##GD_VER## -->

 <tr>
                   <td>&nbsp;</td>
                   <td>Enable verification image on these pages (CAPTCHA)</td>
                   <td valign=top>
<table border=0 width="100%" cellpadding=0 cellspacing=0>
<tr>
<td class=txt8 valign=top width="50%">
<input type=checkbox name=EN_IMG_VER_ITEM ##EN_IMG_VER_ITEM## value=1> {Add_Item}<br />
</td>
<td class=txt8 valign=top width="50%">
<input type=checkbox name=EN_IMG_VER_USER ##EN_IMG_VER_USER## value=1> User Registration<br />
</td>
</tr>
</table>

                   </td>
                 </tr>

<!-- ENDIF -->

<!--
                 <tr>
                   <td>&nbsp;</td>
                   <td>Force subscription plan based {item} options ?
                   </td>
                   <td valign=top>
                    <input type=checkbox name=EN_SUB_AD ##EN_SUB_AD## value=1>
                    <font class=txt8 color=blue>Move Extra Options from Fee-based price plans to Subscription-based plans?
                   </td>
                 </tr>
-->

                 <tr>
                  <td>&nbsp;</td>
                  <td valign=top>Allow built-in cron job execution ?</td>
                   <td>
                     <input type=checkbox name=EN_CRON value=1 ##EN_CRON##>
                     <font color=blue class=txt8>

Otherwise cron job (task scheduler) manual setup needed, some examples:
<br />
<font color=black>##cron_cmds##

                   </td>
                 </tr>

                 <tr>
                  <td>&nbsp;</td>
                  <td>Disallow remote execution of cron script ?</td>
                   <td>
                     <input type=checkbox name=EN_CRON_CMD value=1 ##EN_CRON_CMD##>
                     <font color=blue class=txt8>
                     Otherwise cron script can be executed via browser by anybody
                   </td>
                 </tr>

                 <tr>
                   <td >&nbsp;</td>
                   <td>Path to CURL (if external used)
                   </td>
                   <td valign=top>
                    <input name=CURL_PATH value="##CURL_PATH##" size=25>
                    <font class=txt8 color=blue>
<a href="javascript:popUp('index.php?page=setup&pg=curl&dir='+escape(document.frm.CURL_PATH.value),'PathLookUp',50,50,400,50)">Lookup</a>

                   </td>
                 </tr>

                 <tr>
                   <td>&nbsp;</td>
                   <td>Track online users</td>
                   <td valign=top>
                     <input type=checkbox name=EN_TRACK_ONLINE ##EN_TRACK_ONLINE## value=1>
                     <font class=txt8 color=blue> Track online status of members and their current / last accessed page
                     </td>
                 </tr>
                 <tr>
                   <td >&nbsp;</td>
                   <td>If so, online timeout 
                   </td>
                   <td valign=top>
                     <input name=ONLINE_TIME value="##ONLINE_TIME##" size=10>
		<font class=txt8 color=blue>
		Timeout in seconds for the "Who is Online" (default: 300)
                     </td>
                 </tr>

                 <tr>
                   <td >&nbsp;</td>
                   <td>Hits unban time, minutes<br />
                   </td>
                   <td valign=top>
                     <input name=HIT_UNBAN value="##HIT_UNBAN##" size=6> 
                    <font class=txt8 color=blue>
                    - till hits will be counted for the same {item} from the same IP
                     </td>
                 </tr>

                 <tr>
                   <td >&nbsp;</td>
                   <td>Rating/votes unban time, minutes<br />
                   </td>
                   <td valign=top>
                     <input name=VOTE_UNBAN value="##VOTE_UNBAN##" size=6> 
                    <font class=txt8 color=blue>
                    - till votes will be counted for the same {item} from the same IP
                     </td>
                 </tr>


                 <tr>
                   <td>&nbsp;</td>
                   <td>Allow Decimals in Price Field ?</td>
                   <td valign=top>
                     <input type=checkbox name=EN_PRICE_DEC ##EN_PRICE_DEC## value=1>
                     <font class=txt8 color=blue> Only for {items} where "v_price" database field is used as price field
                     </td>
                 </tr>

                 <tr>
                   <td>&nbsp;</td>
                   <td>Use MySQL full-text search capabilities for Keywords Search ?</td>
                   <td valign=top>
                     <input type=checkbox name=EN_FT_SEARCH ##EN_FT_SEARCH## value=1>
                     <font class=txt8 color=blue> Turn this option off if you are not satisfied with full-text search 
results for keywords search
                     </td>
                 </tr>


                 <tr>
                   <td>&nbsp;</td>
                   <td>Path to Admin Area
<br />
<font class=txt8>
(without trailing "/", e.g.: "admin")
</font>
                   </td>
                   <td valign=top>
                    <input name=ADMIN_DIR value="##ADMIN_DIR##" size=15>
                    <font class=txt8 color=blue>

For security purposes you may want to change the name 
of the folder that the admin control panel resides in.
If you rename the admin directory on the server, 
you have to change the name of the directory here as well

                   </td>
                 </tr>

                 <tr>
                   <td>&nbsp;</td>
                   <td>Method to send mail
                   </td>
                   <td valign=top>
                    <select name=MAILER OnChange="SwitchMailer()">
##MAILER##
</select>
                   </td>
                 </tr>

                  <tr>
                   <td>&nbsp;</td>
                   <td colspan=2> 

<div id="smtp" style="display:none">

<hr size=1>

           <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                   <td width="31%" valign=top>SMTP Host(s)</td>
                   <td width="69%">
<input name=SMTP_HOST value="##SMTP_HOST##" size=50>
<font class=txt8 color=blue>
Sets the SMTP hosts.  All hosts must be separated by a
   semicolon.  You can also specify a different port
   for each host by using this format: [hostname:port]
   (e.g. "smtp1.example.com:25;smtp2.example.com").
   Hosts will be tried in order.
                   </td>
                 </tr>

                  <tr>
                   <td>SMTP Port</td>
                   <td>
<input name=SMTP_PORT value="##SMTP_PORT##" size=5 maxlength=4>
<font class=txt8 color=blue>
Default SMTP server port</td>
                 </tr>

                  <tr>
                   <td>Enable SMTP authentication ?</td>
                   <td>
<input name=EN_SMTP_AUTH ##EN_SMTP_AUTH## type=checkbox OnChange="SwitchSMTPAuth()">
</td>
                 </tr>
              </table>
<div id="smtp_auth" style="display:none">
           <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                   <td width="31%">SMTP Username</td>
                   <td width="69%">
<input name=SMTP_USER value="##SMTP_USER##" size=30>
</td>
                 </tr>

                  <tr>
                   <td>SMTP Password</td>
                   <td>
<input name=SMTP_PW value="##SMTP_PW##" size=30 type=password>
</td>
                 </tr>
                 
              </table>
</div>

<hr size=1>
</div>
                   </td>
                 </tr>

                  <tr>
                   <td colspan="3"> 
                     <div align="center"><br />
                       <input type="submit" name=go value="Update" class=button>
                       </div>
                   </td>
                 </tr>
               </table>
             </form>
  </td>
 </tr>
</table>

<script>
function SwitchMailer(){
  var f = document.frm;
  var show = (f.MAILER.options[f.MAILER.selectedIndex].value=='smtp');
  SwitchBlock('smtp', show);
}

function SwitchSMTPAuth(){
  SwitchBlock('smtp_auth', document.frm.EN_SMTP_AUTH.checked);
}


SwitchSMTPAuth();
SwitchMailer();

</script>
Return current item: Esvon Personals