The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok can some one show me the if conditional for showing something only on showthread.php and forumdisplay.php
<if this_script == showthread.php AND forumdisplay.php>code</if> That didn't look write but looked close, if some one could show me the correct version it would be very helpful. ![]() |
#2
|
||||
|
||||
![]()
THIS_SCRIPT == 'showthread'
THIS_SCRIPT == 'forumdisplay' |
#3
|
|||
|
|||
![]() Code:
<if condition="THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'showthread'"> ![]() nvm... I think AND is what you want if you're excluding all pages but those scripts. I think?? |
#4
|
|||
|
|||
![]()
your on a role today for helping me! Thanks alot both of you.
|
#5
|
||||
|
||||
![]() Quote:
![]() Code:
<if condition="THIS_SCRIPT == 'forumdisplay'"> Only Show this if we're looking at Forumdisplay.</if> Code:
<if condition="THIS_SCRIPT != 'forumdisplay'"> Only Show this if we're not looking at Forumdisplay.</if> |
#6
|
|||
|
|||
![]()
Yeah, sorry.. I was right the first time I guess.
![]() Code:
<if condition="THIS_SCRIPT !== 'forumdisplay' AND THIS_SCRIPT !== 'showthread'"> |
#7
|
||||
|
||||
![]() Quote:
|
#8
|
||||
|
||||
![]()
What Dismounted said.
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|