The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Image Based on Forum Id
PHP Code:
Edit: This is in forumdisplay.php above // draw nav bar |
#2
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=39779" target="_blank">https://vborg.vbsupport.ru/showt...threadid=39779</a>
|
#3
|
||||
|
||||
imm...this is pretty easy
Code:
<img src="{imagesfolder]/$forum[id].gif"> in iamges folder, make the iamges and name it 1, 2 3 etc Also put this in the navbar template somewhere. |
#4
|
||||
|
||||
*dies*
I tried EVERY variable =P...I was like $forum[forumid] $forumid...$forum[id] doesn't work either =P And that hack isn't what I'm looking for. |
#5
|
||||
|
||||
Well...try
$forum[name]...or something by the way I was guessing at the id lol. Anyways, from wwhat I understand of ur post, something similar to my method in a template would work. |
#6
|
||||
|
||||
Yeah, I tried everything in the templates and nothing works. I just want to know why my php thing up there doesn't work...
|
#7
|
||||
|
||||
Well explain to us what you want in full detail
|
#8
|
||||
|
||||
Like, above all the forums, next to the navbar, I want an image to be displayed based on the forum ID. The image will be like, some kind of banner welcoming you to this forum. This is like, when you're looking at a forum (like, you're looking at General Hacking) but before you go into a thread.
|
#9
|
||||
|
||||
Uhh...the word like threw me off.
If this was inspired by some other site, mind getting us a screenshot? |
#10
|
||||
|
||||
lol, I just got back from a friend gathering when I posted that...when we're together everyone starts saying "Like"...sorry. I try to control my teen grammar, but you know, it sometimes gets the best of me .
And thanks for trying to help, I got it to work though =D. :banana: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|