![]() |
vB Category Icons
vB Category Icons Updates
Future Plans Being able to upload the icon via the admincp. (not guaranteed) 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. To do list...
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 Click It 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. |
Good job! Installed :)
|
Thank you ^^
|
*Installs*
Nice hack, been looking for something similar to this very nice :) |
Quote:
|
Is there a board you could link to for a demonstration? Though I get the purpose for this hack, and I see the screenshot, I'd like to see it used across a board.
|
Quote:
|
why would that tell me
WHERE forumid=17 mysql error: Unknown column 'forumhomeicon' in 'field list' you forgot to include the alter db in instructions |
Run this query
[sql] ALTER TABLE forum ADD ( forumhomeicon VARCHAR(200) NOT NULL DEFAULT '' ) [/sql] Instructions updated |
Uploaded the wrong installation txt file Live Wire, Rss Feed on forumhome page. :ermm:
|
Grrr, lol i just woke up, sorry lol. Rereupload the file again. Lets try this again kenny. ^^
|
There is already such a hack available , been using it for quite some time :)
|
I released this hack some time ago, but i had it deleted. But i have decided to bring it back, if your not talking about this hack. Then which would you be refering to?
|
The one without query to run and file to edit.
I can release it but without file to edit then it's not hack any more :p |
I know how to do this via templates, but it much more orginized when the control is right there in your admincp, so much esier to edit and add new ones, ect...
Just a personal prefrence of mine, that i wanted to share. :) |
Good job thanks
|
No problem Live Wire :)
About your hack, I think it needs a bit more detail about where to place the $forum[forumhomeicon] ;) |
Quote:
|
<a href="http://www.vbulletin.com/forum/showthread.php?t=114545&highlight=images%2Fforum_p ics%2F" target="_blank">http://www.vbulletin.com/forum/showt...Fforum_pics%2F</a>
I guess this si the same as this post why take the risk of running queries at the database Nice hack anyway |
This hack does not run queries at the database to grab the icon. I've installed a clean default vBulletin version 3.0.3 on my localhost, and there are 9 queries executed when going to the forumhome.
After installing my hack there are still only 9 queries executed when showing the forumhome, and you can have 100 forums with 100 icons, and no addtional queries are executed. The diffrence between that one and my, besides the fact that his is a template mod, mine makes it much more more orginized, and easy to get to. But we're in a world of choice.... ^^ |
I am stuck halfway thru the hack instructions. I don't know where to add the last instruction part- I am a newbie:
Add $forum[forumhomeicon] in your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post to display on all your forums, and sub forums. ================================================== ===== |
The $forum[forumhomeicon] will call the image being used.
$forum[forumhomeicon] = <img></img> So you would place $forum[forumhomeicon] in those 2 templates to show the icon. |
thx Live for the quick response. I know what it's for, but I don't have a clue where in those templates it should go. Here is my _level1post:
------------------------------------ <tbody> <tr align="center"> <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> <td> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </table> </td> <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> </tbody> <if condition="$childforumbits"> <tbody> $childforumbits </tbody> </if> |
Quote:
I want my users to either use this, or use a text signature. I do not want them to be able to use the IMG tags to retrieve their signature from else where. I am tired of the HUGE sig images. With it done this way, I can control the image size. |
Quote:
HTML Code:
<tbody> |
Quote:
|
Quote:
|
thanks live, great hack.
|
http://learnall/image/intros.gif Members Introduction
Must introduce yourself before being allowed into the rest of the forum. this is whats being displayed what have i done wrong |
<img scr="images/homeicon/intros.gif" border="0" />
is what iam putting in i just get a image square box with colour shapes inside inside, not my image |
me to the same problem
|
There must be an error with your urls, try adding.
HTML Code:
<img scr="http://www.yoursite.com/forums/images/homeicon/intros.gif" border="0" /> |
I'm having the same problem. The image is not showing up. I've tried both the full url and the relative one and the result is the same. Any other suggestions?
The Wolverine :D |
Nice addon thank you, just installed temp version and it looked great, ill now go ahead with full update.
Cheers. |
Quote:
HTML Code:
<img src="http://www.yoursite.com/forums/images/homeicon/intros.gif" border="0" /> |
Good eye wayne ;)
|
Awesome hack, thanks Live Wire!
/me installs |
why mine is not showing in a seperate cell like your site is showing, its just next to the forum name text
|
Quote:
|
Thank you !
But I need your help. My img isn't center. I want in center ( see screen demo ) here My template level2 is: Quote:
(ps: sorry for my english) |
All times are GMT. The time now is 04:52 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:
|