View Full Version : Easy Forum Icons
If anybody just needs a special icon on every forum, try the following...
Edit the 4 "forumhome_forumbit_"-templates... (Search templates by "forumhome_forumbit_")
search for:
<div><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
add
<img src='/images/forumicons/$forum[forumid].gif' border='0' nosave align='right'>
after the "div"-tag... so it looks like...
<div><img src='/images/forumicons/$forum[forumid].gif' border='0' nosave align='right'><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
just add a folder called "forumicons" to your images directory...
put in an icon for every forum on your site... use this syntax:
[forumid].gif (can be changed s.o. to *.jpg or whatever you like...)
e.g. put "12.gif" to have the "12.gif"-image shown up on the right side of the forumbit of forum 12...
very easy...
remember: you need an icon for every forum on your site... some browsers wont show the broken-image-link, if you forgot one! test it (perhaps) with internet-explorer (hrrumpf), to see, if theres an icon missing!
fun & peace!
p.s. if u dont need an image on every single forum just put a blind-gif there... e.g. "gif.15" contains: nothing but a transparent pixel...
even a good idea (to be save), is to put the blind gif from 1-200 into the forumicons-folder. (1.gif, 2.gif, 3.gif a.s.o.) there are some free image-rename-tools on google for that job! ;)
TygerTyger
10-08-2005, 11:56 AM
That's very attractive, good job!
Yorixz
10-08-2005, 12:20 PM
Nice work, for everyone who is too lazy/doesn't know how to create 200 "dummy" gifs I attached the ones I use; please notice that I named them different so you'll have to either to change the names or change <img src='/images/forumicons/$forum[forumid].gif' border='0' nosave align='right'> to <img src='/images/forumicons/picture ($forum[forumid]).gif' border='0' nosave align='right'>
I'm sure someone will find this usefull ;)
edit; why can't we upload rars? :ermm:
Nice work, for everyone who is too lazy/doesn't know how to create 200 "dummy" gifs I attached the ones I use
very good idea! :)
Zachariah
10-08-2005, 06:57 PM
Groovy. :D
edit; why can't we upload rars? :ermm:
I ask that everyday
Groovy. :D
I ask that everyday
offtopic: perhaps its not the upload... perhaps its the user, who downloads and doesnt know how to decompress rars... ;)
TygerTyger
10-10-2005, 10:41 AM
The part of the code we must search for...
<div><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
...doesn't exist in the forumhome_forumbit (nopost) sections of the template. Where should the code go? Is it necessary to place it in the nopost templates?
I really love this mod, it cheers forum home up no end (psssst, add a trailing slash at the end of the img tag to make it XHTML compliant!).
perhaps you installed some template mods, that exchanged this code for something similar...
try to search the link for the forum-title ($forum[title])... right before that link... before "<a ..." post the above code... ;)
Mastar
10-23-2005, 04:00 PM
The part of the code we must search for...
<div><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
...doesn't exist in the forumhome_forumbit (nopost) sections of the template. Where should the code go? Is it necessary to place it in the nopost templates?
I really love this mod, it cheers forum home up no end (psssst, add a trailing slash at the end of the img tag to make it XHTML compliant!).
Search for that:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
TygerTyger
10-23-2005, 09:34 PM
I found it, thank you very much guys. Looking good :)
skullycapone
10-25-2005, 02:02 AM
anyone know where to get sports logo's for this type of thing. I would like a logo for each pro team and each league be it nfl, nba etc etc.
I cant find any logo's 29x30 and when I shrink them they are just a blur
Flow Fusion
10-28-2005, 05:44 PM
I would love to use this hack but, I can't find any of this info in my templates. Some have them and others don't.
xtreme-mobile
10-28-2005, 07:18 PM
there are no images in the zip file just shows a very small dot in each
right there are no images... ;) surely! the plot is, that you create your own images... one for each forum! ;) please read the first post...
TygerTyger
11-14-2005, 07:08 PM
You can also use this template edit to create Category Icons to the left of the text in the same way as is done here...
https://vborg.vbsupport.ru/showthread.php?t=82750
...but without the plugin. Instead of the suggested code for this mod, put the following into your template in the same location:
<img src='images/forumicons/$forum[forumid].gif' class='forumicon' />
and add this CSS to your Style's Main CSS:
.forumicon {float:left; border:0; margin:0 5px 0 0;}
Demo: http://www.forumwhatever.co.uk
Purty :)
kadafi_alive
12-14-2005, 03:15 PM
Hmm,
If you click on categories, the image icons are displayed instead of right aligned.
Mudvayne
12-14-2005, 06:56 PM
installed.. nice hack..
Take a Look (http://www.golpo.net/forum/index.php)
pspcrazy
12-29-2005, 05:34 AM
installed.. nice hack..
Take a Look (http://www.golpo.net/forum/index.php)
Shuvi thats awesme, anyway you can share the template file for the orbs with us?
YOimYO
12-29-2005, 09:51 AM
when i downlaod the gif images. they are all blank when i view them ...... and YES i know how to unpack a zip file :P
is anyone else having this problem ? i have downloaded them 2 times now and same results :P
thx :D
Bubble #5
01-05-2006, 03:18 AM
Shuvi thats awesme, anyway you can share the template file for the orbs with us?
Yes PLEASE share!
floridaideal
01-23-2006, 08:56 PM
Hi all
Is there anyway to make each image clickable to take you into that forum?
RedTurtle
07-13-2006, 10:42 AM
Hi all
Is there anyway to make each image clickable to take you into that forum?
This is the way that I do it and it allows the image to be clickable and for the title of the forum to show up when you hover over it:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" class="forumicon" title="$forum[title]">
<img src='/images/forumicons/$forum[forumid].gif' border='0' class="forumicon"></a>
Hope this helps you out :)
lukeeales
08-11-2006, 03:48 PM
Anyone know an IF statement that will make the images appear if they actually exist?
Aunt Clara
09-02-2006, 08:05 PM
After much kicking it around it finally did what I wanted it to do. Great hack, thanks a lot, it was exactly what I was looking for: http://www.dominicancooking.com/dominican-recipes/
Now I just have to figure how to center the image properly, but after all this I'll call it a day.
Brandon Sheley
09-05-2006, 02:46 AM
does this work on 3.6 ? if not is there a version.. and when I clicked the link above, it says I don't have permission :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.