Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] The little icon next to threads
#1
Not Solved
How can I use a custom image for certain categories?
For example mines look like this 
http://screenshot.sh/m1R41Lgd6BVfv

I want to be able to change them, so that it can be for example like this
http://screenshot.sh/mMzdzJkWuwCf5
Reply
#2
Not Solved
(08-11-2015, 07:21 PM)Mutual Wrote: How can I use a custom image for certain categories?
For example mines look like this 
http://screenshot.sh/m1R41Lgd6BVfv

I want to be able to change them, so that it can be for example like this
http://screenshot.sh/mMzdzJkWuwCf5

In the default theme, these icons are stored in /images/forum_icon_sprite.png. But these only know,
  • new message(s)
  • no new messages
  • locked
  • moved
Your board seem to use the same but in the example you show there is much more variation in icons, so this will require a large scale edit of your theme.
Regards, Ad Bakker (NL)
Reply
#3
Not Solved
Any way to specifically change one categories icon?
Reply
#4
Not Solved
(08-11-2015, 08:44 PM)Mutual Wrote: Any way to specifically change one categories icon?

I don't know what you mean by this. If you stick to the 4 categories I mentioned before, you can make a new sprite png. If you have the 4 different icons for these categories, I could make the sprite for you. When they have the sane dimensions as the existing ones, nothing else has to be changed, else the css must also be changed.
Regards, Ad Bakker (NL)
Reply
#5
Not Solved
I wasn't clear, lets say i find an icon download it and want to use it for that forum what do I have to change for that icon to show next to that forum.
Reply
#6
Not Solved
If you are wanting to add individual icons for each forum you'll need to go into the forumbit_depth2_forum template and add {$forum['fid']} variable to the class that affects the images and which will create unique css classes for it and then add the css code for each new forum and set the images. You got to hard code each forum represented by its id in the css.
Reply
#7
Not Solved
check this plugin: http://community.mybb.com/mods.php?action=view&pid=457

or follow this Tutorial: http://community.mybb.com/thread-92128.html (yes its old but still works if you understand the logic)
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't seen it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)