Print Page | Close Window

Members only script

Printed From: S2H.co.uk
Category: Web Wiz Forums
Forum Name: Tips & Tricks Support
Forum Description: Support for tutorials from S2H on Web Wiz Forums
URL: http://www.s2h.co.uk/forum/forum_posts.asp?TID=62
Printed Date: 27 Mar 2026 at 12:11am


Topic: Members only script
Posted By: Andy
Subject: Members only script
Date Posted: 10 Sep 2007 at 3:58am
I am using the members only script and it works OK until I use it with a page that contains WebWiz RTE. There seems to be a conflict. Haxs any one used the script on a page with RTE?



Replies:
Posted By: Matt
Date Posted: 11 Sep 2007 at 6:55am
The reason for the conflict is because the forums common.asp file which is included to find out if your logged in etc also includes other files such as the RTE settings file.

if you are using the stand alone RTE then you will need to remove the conflicting parts such as the "Dim" parts.

If you use the RTE on pages which do not include the forum common.asp file you will need to have to copies of the RTE, one for member pages and one for non-member pages (if you get me)


Posted By: Andy
Date Posted: 11 Sep 2007 at 7:07am
I am not sure where to look. Which file are the "Dim" parts in.
Thanks for your help on this.


Posted By: Matt
Date Posted: 16 Sep 2007 at 7:45am
in the "RTE_setup.asp" file in the "RTE_configuration" folder remove the "Const" only from lines that course a problem (ie produce an error).

for example:

Const blnNew = true


to

blnNew = true




Print Page | Close Window