I'm not sure when this happened since I use it on a page that I do not access often, but the following if statement worked at one time and now it is no longer working.
<IF {MEMBERISGUEST} or {MEMBERUSERGROUP} is NOT 3> <script language="javascript"> location.replace("http://www.highaspirations.com/portal/") </script> </IF>
It should forward anyone who visits the page and is not part of the admin usergroup back to the index page, but the page should load correctly for admins. Instead it is forwarding admins back as well.
The caps-lock NOT hasn't ever intentionally been supported (though it might work or have worked by accident), it should be lowercase. The real problem is more likely that you're using {MEMBER when you actually mean the person viewing the page, which is {THISMEMBER. {MEMBER could be the person who owns a link shown on a page, or who owns the profile being shown, or so on. It will default to the viewer of the page when it can't guess what other member you might mean, so it could work by accident, but should never be used that way intentionally.
Comments on if statement stopped working
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
I'm not sure when this happened since I use it on a page that I do not access often, but the following if statement worked at one time and now it is no longer working.
It should forward anyone who visits the page and is not part of the admin usergroup back to the index page, but the page should load correctly for admins. Instead it is forwarding admins back as well.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The caps-lock NOT hasn't ever intentionally been supported (though it might work or have worked by accident), it should be lowercase. The real problem is more likely that you're using {MEMBER when you actually mean the person viewing the page, which is {THISMEMBER. {MEMBER could be the person who owns a link shown on a page, or who owns the profile being shown, or so on. It will default to the viewer of the page when it can't guess what other member you might mean, so it could work by accident, but should never be used that way intentionally.
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
Thanks Paul. Made the changes and now it works again. Guess I just got lucky when it worked last time and left it at that.
BTW just wanted to let you know that last speed update was awesome even on this site which has so much going on! Thanks.