MyBB Community Forums

Full Version: Image next to each category
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I hate comparing mybb to vb but well I would really find this feature usefull, if I could add a different image next to forum categories.

For example next to music would be a cd.
Next to movies would be a a film strip...
could be done as a mod but i sure that alot of people would not need to have different images for each category.
You can add HTML to a forum description.
I thought that this would be a good idea to but i'm afraid to implement it because wouldn't it expand load times for those who don't have a high speed connection? i'm not sure if it would be worth cutting them off.
Not just load time, but how many people would really need this feature? It's not something I personally would have a use for, it might be a nice optional plugin for the people that want this, but a default feature IMHO it would just be bloat.
Hi I have just tried doing this using html on this forum http://talk-thailand.com/forum/

But I am wondering how can I force the category title and description to the right of the icon so that it looks nice
labrocca Wrote:You can add HTML to a forum description.
Yup, but the title of forum pages becomes something horrible.
Hi DT, thanks for the reply but how do I make it so that the icon is on the left and the text is nicely lined up on the right

Like below but so all the text nicely positioned and lined up to the right of the icon

----------------------------

The Lounge
[Image: beer.png]
We all need to relax from time to time. This is the place to chat about any topics you wish to discuss. Off topics are welcome in here
GFN Wrote:Hi DT, thanks for the reply but how do I make it so that the icon is on the left and the text is nicely lined up on the right

Like below but so all the text nicely positioned and lined up to the right of the icon
<img border="0" src="http://www.xxxxxxxx.com/images/myimage.gif" /><br />[PUT YOUR TEXT DESCRIPTION IN HERE] 

OR

<img border="0" src="http://www.xxxxxxxx.com/images/myimage.gif" />[PUT YOUR TEXT DESCRIPTION IN HERE] 
A quick and dirty solution would be, in inc/functions_forumlist.php (this is untested - I dunno if this works)

Find:
$lightbulb = get_forum_lightbulb($forum, $lastpost_data, $hideinfo);
Below, add:
$lightbulb['folder'] .= '_'.$forum['fid'];

This means that ALL your forums will require separate icons. The icons need to be named like, "on_1.gif" for fid #1, and "minioff_3.gif" for a sub-subforum fid #3 etc.
Pages: 1 2