Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Searchlog Permissions
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 08 May 2008 :  05:13:40  Show Profile
Having installed the searchlog mod and looked at the permissions of who can view the search results, there is an option within the provided readme file for inc_header.asp which says
"If you would like your visitors (non-members) to be able to view the searchlog.asp page without being registered/logged on follow the following instructions".

I have looked to only allow all, registered members, admins and moderators the option to see the search results. So I did not add the extra coding suggested.

Currently entering the admin config page selecting 'All members' and the Search Log link is displayed in the forum header, with no member logged in.

The admin_searchlog.asp can be altered to only allow members and above to view the link at the top of the header. The option code from admin_searchlog.asp:

 "                  <b>Access to Search Log page:</b> </font>" & vbNewLine & _
		  "                </td>" & vbNewLine & _
		  "                <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine & _
		  "                  <select name=""strSLDisplay"">" & vbNewLine & _
		  "	             <option value=""0""" & chkSelect(strSLDisplay,0) & ">All Members</option>" & vbNewLine & _
		  "                    <option value=""3""" & chkSelect(strSLDisplay,3) & ">Admins and Moderators</option>" & vbNewLine & _
		  "                    <option value=""4""" & chkSelect(strSLDisplay,4) & ">Admins only</option>" & vbNewLine & _
		  "                </select>" & vbNewLine & _


If you add a new line below the 0 option:
<option value=""1""" & chkSelect(strSLDisplay,1) & ">Members Only</option>" & vbNewLine & _
it will change permissions.
Then change the option 0 line to:
<option value=""0""" & chkSelect(strSLDisplay,0) & ">Everyone</option>" & vbNewLine & _



Once uploaded changed file, remember to go to admin options and re submit new option on the config page.<

Edited by - Andy Humm on 08 May 2008 06:23:24
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07