![]() |
Footer - Question
I would like to show adds in every page of my forum accept my portal page as this has a module i added for adds . Is there anyway i could stop the sponsor box showing on the portal page footer. But showing in everyother footer?
Thanks for anyones help. |
you'd just need a single condition:
HTML Code:
<if condition="THIS_SCRIPT != 'portal'"> |
I tried using the code below and it did not work , i am such a newbie to coding i know what an "if" does ( what it says on the tin) . I am using the portal vba_cmps using the template prefix adv_portal_filename . I don't want to it to show as said before on the homepage but on all the others .
Is this the exact code i would require? If not could you please copy it into here.... i apologise for being a donut and if the number 0 stands for no brain im a -. Thanks |
well that's exactly the code.
if it doesn't work, then the portal does not use the correct vb standarts, or it uses a different string for THIS_SCRIPT as i don't know the portal software itself, i cannot help you more, you might want to ask the author or look into the portal's php code to see what THIS_SCRIPT is defined as. |
Unless he changed the define this is how its done:
HTML Code:
<if condition="THIS_SCRIPT != 'adv_index'"> |
Thanks dude, worked like a charm.
|
Brad, our man who knows every script out of mind ;)
|
Quote:
But we'll go with what you said, makes me seem smarter then I am, which I like ;) |
Quote:
|
All times are GMT. The time now is 02:36 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:
|