![]() |
If currently running this script do nothing else?
Hi all, im trying to get this to work, it displays a floating menu on all pages but i do not want it visible on any of the register pages, can someone help?
PHP Code:
|
I think it might be the '/>' at the end of the first line, where maybe it should just be '>'
ETA: ...but it isn't because I just tried it and it makes no difference. |
Quote:
|
But I think what does work is to put a quote at the end of that condition on the first line (and remove the '/').
Code:
<if condition="THIS_SCRIPT == 'register'"> ETA: and unless you have something you're going to do if THIS_SCRIPT is 'register', then maybe Code:
<if condition="THIS_SCRIPT != 'register' AND is_member_of($bbuserinfo,1)"> would be an alternative. |
Quote:
|
Quote:
|
Quote:
--------------- Added [DATE]1258391365[/DATE] at [TIME]1258391365[/TIME] --------------- KH99, i wonder if you can help further?, i am trying to display my floating box only when index.php is being viewed, i assumed that the script is forumhome but the box displays on forumhome, forum, sub forum and even in thread, can you help fix this so it only shows in forumhome? HTML Code:
<if condition="THIS_SCRIPT != 'FORUMHOME'"> |
Sorry, I just now noticed your post.
I think THIS_SCRIPT is 'index' when index.php is running, so try: Code:
<if condition="THIS_SCRIPT == 'index'"> |
Thanks for that, i used this:
HTML Code:
<if condition="THIS_SCRIPT == 'index' AND is_member_of($bbuserinfo,5,6,7)"> HTML Code:
...="THIS_SCRIPT != 'index' HTML Code:
...="THIS_SCRIPT == 'index' |
!= means "is not equal to"
== means "is equal to" |
All times are GMT. The time now is 09:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|