The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
Im looking for help with a simple image selector script where it selects an image depending on the forum your in. My problem is , I dont know what the forum id variable is, so this code does not work: Code:
//if forum id = 88
if($f == "88") {
//display this image
$var = "<img src="someimage.jpg">";
} else {
//do nothing
}
|
|
#2
|
|||
|
|||
|
Code:
$forum[forumid] Code:
$foruminfo[forumid] |
|
#3
|
|||
|
|||
|
Thats the one ! Thank you very much!
|
|
#4
|
||||
|
||||
|
There is also $thread[forumid] as well.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|