The Arcive of vBulletin Modifications Site. |
|
Forum Avatars Details »»
|
|||||||||||||||||||||||||
This hack will allow you to add a forum avatar to each of your forums. The avatar will be displayed in forumdisplay.
I originally wrote this for vBulletin 2 a couple years ago and a poor dirty one a few months ago for vBulletin 3, but this is version is an optimized and very light-weight version .This has been tested on 3.0.5 but I don't know why it wouldn't work on any 3.0.x version. You will need to edit one file (admincp/forum.php) which also adds a query to that file, run one query on your database to add the avatar field to the forum table, and you will need to edit one template (FORUMDISPLAY) to display the avatar. No queries are added to forumdisplay.php. Estimated install time: five minutes or less. Don't forget to click install .Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
This could be done with template modifications only...but thank you for sharing.
|
|
#3
|
||||
|
||||
|
If you are referring to this manner:
Code:
<if condition="$foruminfo[forumid]==1"> <img src="banner1.jpg" alt="" border="0" /> </if> <if condition="$foruminfo[forumid]==2"> <img src="banner2.jpg" alt="" border="0" /> </if> |
|
#4
|
|||
|
|||
|
You could also use:
Code:
<img src="banner$foruminfo[forumid].jpg"> |
|
#5
|
||||
|
||||
|
Quote:
![]() (and HTML Code:
<if condition="in_array($forum['forumid'], array(1,2,3))">
|
|
#6
|
||||
|
||||
|
EITHER WAY, good hack man..thanks for the hard work.
~Curt |
|
#7
|
||||
|
||||
|
Quote:
My hack's pretty much useless now .
|
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
|||
|
|||
|
i like doing things from the admin panel! ^_^
this would be really neat except i'm having some trouble. the images won't show up on the forum. any idea why. i put in the avatar url but nothing shows up on the forum. |
|
#10
|
||||
|
||||
|
Are you sure you followed all instructions in the readme?
|
![]() |
|
|