The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a way that I can put like a 200 x 500 image in one of my forums and have it show up like near the top of the forum navigation links?
|
#2
|
||||
|
||||
![]()
Try this:
OPen forumdisplay.php and find: PHP Code:
PHP Code:
![]() Then use $forumimg in the forumdisplay template |
#3
|
|||
|
|||
![]() |
#4
|
||||
|
||||
![]()
No problem
![]() |
#5
|
||||
|
||||
![]()
You're best using Logician's template conditionals for this one - an easy hack to install and you could do this without having to worry about changing files when upgrading
![]() |
#6
|
||||
|
||||
![]()
Except having to change the files used to install Logician's hack
![]() |
#7
|
|||
|
|||
![]()
ok but what if i wanna do more than one image for one forum and another image for another forum?
|
#8
|
||||
|
||||
![]() Quote:
![]() |
#9
|
|||
|
|||
![]() Quote:
![]() |
#10
|
|||
|
|||
![]()
Will there be one image for each forum, or one for most of them? If so, you probably want to append the forumid to the image filename, e.g. image_1.jpg, image_2.jpg and then load it accordingly. Otherwise if it's a smattering of images and lots of forums, you might use a switch:
Code:
switch ($foruminfo[forumid]) { case 5: $forumimg = "<img src=\"{imagesfolder}/bananas.gif\" />"; break; case 9: $forumimg = "<img src=\"{imagesfolder}/apples.gif\" />"; break; case 32: $forumimg = "<img src=\"{imagesfolder}/stringcheese.gif\" />"; break; default: $forumimg = "<img src=\"{imagesfolder}/default image.gif\" />"; ## or maybe ## $forumimg = ""; } |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|