The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
Basically I am needing to know what a template conditional is as for a hack I need to get something off of the page that the hack is on and the hack author said to use a template conditional Many Thanks, Sam |
#2
|
|||
|
|||
![]()
which mod are you refering to and what are you wanting to achieve?
|
#3
|
|||
|
|||
![]()
Hi,
First off, Thanks for your very quick response-Secondly, I am refering to this hack Basically, on page 2 I am hoping to take off my forumhome announcement and the shoutbox but only on that page and not on the actual forumhome- Thanks |
#4
|
|||
|
|||
![]()
i am not familiar with exactly how that mod works so i will install it when i get home and get back to you.
|
#5
|
|||
|
|||
![]()
Okay thanks
![]() |
#6
|
|||
|
|||
![]()
Right I've had a look at it, and as far as I can see, the items on the forumhome will appear on all pages created by this modification, and this is non-editable as they all use the same script variable and templates.
|
#7
|
|||
|
|||
![]() Quote:
|
#8
|
|||
|
|||
![]() Quote:
Code:
<if condition="THIS_SCRIPT=='index'">code here</if> |
#9
|
|||
|
|||
![]()
Hmm then Amykahr must be wrong:O
|
#10
|
|||
|
|||
![]()
It is possible that you could do it with some php conditionals via plugins,but it isn't something I have experimented with. As the shoutbox template is set directly in the php this should be possible, and by attaching the announcement template to that of the shoutbox, is should theoretically just put the announcement where the shoutbox is.
However, I'm not a php coder, so wouldn't know where to start with this. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|