The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
you'd just need a single condition:
HTML Code:
<if condition="THIS_SCRIPT != 'portal'"> your banner code here </if> |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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. |
|
#5
|
|||
|
|||
|
Unless he changed the define this is how its done:
HTML Code:
<if condition="THIS_SCRIPT != 'adv_index'"> your banner code here </if> |
|
#6
|
|||
|
|||
|
Thanks dude, worked like a charm.
|
|
#7
|
||||
|
||||
|
Brad, our man who knows every script out of mind
|
|
#8
|
|||
|
|||
|
Quote:
). But we'll go with what you said, makes me seem smarter then I am, which I like
|
|
#9
|
|||
|
|||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|