![]() |
Catagory Icons
Catagory Icons
Tested on 3.6.1 By Adrian at Development chat.com Current Version: 1.0.1 1.0.1 Status: Working Fine. Hey, I noticed a few people around the 'net wanted a modification like this, It wasn't too hard so i thought i would give it ago. You can specify a image path/url to use for your catagory icon, if none is specified, the forum will use vBulletins default image. See bottom of post for screenshots Installation Import product-catagoryicons.xml (It should make the needed Mysql tables too) Go to Options > Catagory Icons to enable the mod'. Template Edits Open Forum Home Templates > forumhome_forumbit_level1_post Find: HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /> HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" HTML Code:
<if condition="$vboptions[customimg_enabled] == 1"> Open up Forum Home Templates > forumhome_forumbit_level2_post Find: HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /> HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" HTML Code:
<if condition="$vboptions[customimg_enabled] == 1"> That should be it. To set catagory icons, just edit a forum, the image field is at the bottom. If you have any problems, just ask. If you use it, please click install. :) Thanks. Adrian |
Nice hack, will install soon! :)
|
Ok Great hack buy im having a few problems first one is this you say in forumhome_forumbit_level2_post replace this
Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /> Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" |
Hi
I was about to install and i see i have the same code as ChavMagnet Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> |
If you have...
HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" Just make sure, you are not replacing <td> </td> <tr> </tr> EDIT: Also, make sure you have the mod' enabled. Adrian |
Hi m8, Ok done that and seemed ot go ok,
Can you take a look at the image please, i take it the forum manager aint meant to look like that? Also i have added an image, yet it dont show the image, it just removes the original |
Sorry about it having no description on the field.
I was in a hurry to finish this mod' up for someone before i had to go out. If you import the .xml attached (Updated), it should add the description. Adrian |
Ny ideas on the image not showing, the url in the box is
/images/catergory/grabit.gif i take it thats right EDIT, Sorted, it needs forums/ 1st |
Thanks for making this! :)
|
Just a wee question, is this possible to work with the sub forum icons please?
If too much then no worries!! |
Quote:
Or do you mean, set custom images for the subforum list on forum home? |
Great Work Adrian.
Clicks Install, Thanks. :) |
The latter m8, to show on forumhome?
Quote:
|
didt work for me :(
|
Quote:
|
Quote:
|
your USing firefox, use IE and you will see placeholders, right click on the place holder, choose propertise and you will see where its trying to point to the images......adjust the url in the forum manager as neccasary!!
|
Quote:
|
Its work, im install 3.6.0 and 3.6.1 thanks...
|
Actually this mod was already done by Chris M when I requested it way back.
https://vborg.vbsupport.ru/showthread.php?t=102025 |
Just as a question, can this mod be updated to give the user the option to place 4 custom images:
One for new posts one for no new posts One for Locked forum & no new posts & one for locked and NEW posts |
Quote:
I suppose this could be made, but not a while, got other projects on currently. :) Adrian |
thanks a lot
|
Quote:
yup, it will be awesome... Marco |
Quote:
I agree with Luke. It's just that without the ability for the icon to change with the different status' of the forum in question's read marking it takes away a rather important functionality of knowing if there are unread posts in said forum. |
not working :( dont know how to do can u tell me in details.. where ro upload images? is there any other changes?
sorry i m new :( |
Quote:
Does no image display? If so...
If the problem still persists with the image URL inplace, it could be due to if you have your forum in a directory. eg /forum. If so, put /forum/ before your image URL. Adrian |
http://www.maksazone.com/images/statusicon/
That is my Image URL where should i enter that url? i think it's default one isn't it? File names for images: forum_(forum id).gif E.g: forum_45.gif Is it okay? i think it's correct one.. but don't know wat is the problem.... any help? |
btw i don't know where to get this one
where to find that option? check the image attached |
Quote:
Ok, lets say you have a car catagory... Upload a image with anyway name, but too keep it simple, call it car.jpg, upload it into anyway directory, (for the sake of this explanation, upload it into /images/statusicon/" Now, enter in the text field, "/images/statusicon/car.jpg" :) Adrian |
i have uploaded few images. i m confused where to enter text field
"/images/statusicon/car.jpg" where to add that |
Quote:
Admin Panel > Forum manager > (Forum) Edit |
wow man it's working....
www.maksazone.com check :) But i was looking for something else. any idea where i can get like that? check this http://www.golpo.net/forum/ i don't want to "remove new post icon" and "old post icon" in the category. wanted to add images like them next to that post icons.. can u see that? if u know then reply me otherwise it's ok :) thanks a lot for helping me Maksa |
Nice one body
|
cool. :D thanks friends
|
Quote:
quotin Maksa... I'd like to keep the new/old post icon... :D Marco |
even i wanted to keep that but no idea how to do? where to get help :(?
|
http://www.golpo.net/forum/ is not using this hack.
It's just template edit, right click on icon in that forum, you will see that file name is using forum id, example forum News And Announcements has id 2, so the image name will be 2.gif I hope you understand what I'm talking about :) |
yes that's wat i wanted to do for my website. but what code i have to edit in template page. sorry but i really don't know much about codeing. i want some help if anyone can give me... :(
|
Quote:
|
All times are GMT. The time now is 05:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|