![]() |
vB Category Icons
vB Category Icons vBulletin 3.5.0 RC 1 www.vBHackers.com What this does This will allow you to setup a icon to display by the title of each forum you have. The look of the icon depends on how you want to set it up in the templates. This will work for all levels of sub-forums. Note: This hack will work for vBulletin Version 3.5.0 RC-1 and RC-2 ONLY! To do list...
Template Edit Alot of people want to get there icon like my screenshot. So you have bugged me enough for me to post how. :p Enjoy! Replace Template: forumhome_forumbit_level1_post With The Folllowing: HTML Code:
<tbody> HTML Code:
<tr align="center"> Please read carefully and make all the necessary changes as stated. This is will work if installed properly. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack Help & Support Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here. Please post bugs and errors here. Hope you like, feedback welcomed. |
You might want to update the instructions to save 1 file-edit, as this can be done with a plugin :)
|
I can use the hooks for "class_db_forum.php"?
|
Yes. See my post in your thread regarding this.
|
See mine :p
|
Hack Updated: Now using The Default Hooks System!
|
You were quick to do this. Well done :D
|
You just had to have the first hack didnt you?
Good job :) |
hehe, i didn't get to have the first hack, but the first public hack. :p
|
great hack good to see it released already
|
I am a little confused as to where to do this step:
Add $forum[forumhomeicon] in your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post to display on all your forums, and sub forums. I know where the templates are, but where should I place the $forum[forumhomeicon] |
Quote:
|
like this?:
Code:
|
No like this:
HTML Code:
<tbody> |
Ah, ok. but but I add it to the forumhome_forumbit_level2_post template no matter where I seem to put it it jacks my display up. Here is my current working template. Would you mind showing me where I need to insert that piece of code to make it look like your image? Sorry I am such a n00b.
Code:
<tr align="center"> |
You enter the IMG info when your editing your forums in the Admincp. Pretend you want to edit a forum title or a forum description. It should be just underneath that. Also, to get it to look like my screenshot, you would need to mock up some HTML. I was feeling nice tonight so I edited my first post with a little tutorial on how to get the image like the screenshots. Also updated the screenshots as well.
|
Thank you so much. I found where I was supposed to edit the image info.. Working Like a charm Thank you again.. I am feeling very stupid now.
|
Thanks again dear Live ...
|
Thanks everyone, glad you like. :)
|
Thank you ! Is valided with W3C ;)
|
All my work is ;)
|
Can you use these icons in the forum display template? Because im having a problem that MIGHT be related to this: http://www.programmersforums.com/forumdisplay.php?f=7. As you can see, when i put icons in the sub forums, it gets alittle crazy :(. Is there any way to maybe fix this at all?
|
Install! :D
|
Sorry for this noob quesion but what is a query? Which is the first step on the read me file.
|
I can't find it here. But read this http://www.vbhackers.com/forum/thread82.html
|
Quote:
|
Well I found out how to add phrases but its not quite working yet
|
I did it my first big hack too. It looks great! Thanks so much for this hack.
|
Glad you got it working... Please click the install button to show support.
|
Quote:
|
The query is so you can store the <img> info inside the database. In order to run querys in the Admincp you need to edit the config.php file. Change the following line:
Find: PHP Code:
PHP Code:
|
Thanks again.
|
The following does essentially the same thing, but is easier and quicker to install, I think...
http://www.vbulletin.com/forum/showthread.php?t=114545 |
As stated in my other thread about that post on vb.com. I personaly like to keep things as orginaized as possiable, so there for its eaiser for me to just edit the forum info in the ADMINCP. As if you have more then one style, you would have to edit every template that contains the icon information. My way, you would just edit one field and be done.
|
Hi,
Please bear with my noobness, as I don't always know. But couldn't one add <img> tag to the forum description? I think this is a great tutorial. Now if I could only kill the default status icons... Anyone have any ideas? |
Quote:
|
@Live Wire
This Hack can be implemented without File Edits in RC 1 by using Hook forumadmin_edit_form, so you might want to update it :) |
lol, thanks mate. Gonna update.
|
figures I just installed this yesterday (LOVE IT AND showed support with "INSTALL" ;)), next day RC1 is out... heh. I take it I have to redo this if I update to RC1?
|
All you will have to do is import a xml file from the admincp. Working on it now/
|
All times are GMT. The time now is 01:18 AM. |
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:
|