The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi everybody,
I have a picture and I would like to see it in just 3 forums id, I tried to put this code but I still does not show. <vb:if condition="in_array($forumid, array(16,31,32))"><img border="0" src="http://www.world-gd.com/forum/images/brotator/ard-and-nkd.gif" width="900" height="156"></vb:if> Thank you very much |
#2
|
||||
|
||||
![]()
So just post it in the forum where you want it to show. There's no need for code.
I suspect you're trying to do something much more complicated, but just don't know the right question to ask. |
#3
|
|||
|
|||
![]()
Thank you my friend for reply...
But I need to show the picture in those 3 forums. I dont want to show the picture in all forums id. |
#4
|
||||
|
||||
![]()
What template are you trying to put that condition in? In vB4, variables must be registered for use in the template. If $forumid is not registered for use in whatever template you are trying to use it in, then you either need to preregister it or use a different variable that is already registered for use there.
|
#5
|
|||
|
|||
![]()
Thank you for reply, I tried to put that condition in "FORUMDISPLAY", is right?
|
#6
|
||||
|
||||
![]()
But is that variable registered for use in the FORUMDISPLAY template? Do a search in your php files for ('FORUMDISPLAY') and you'll find where the template gets created and then rendered and you'll also see all the variables listed that are registered for use in it. Is $forumid listed there?
|
#7
|
||||
|
||||
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|