The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Icons ( MyLs1 Style ) Details »» | |||||||||||||||||||||||||
This is a mod alot of people wanted me to release so here it is.
What it does: It displays an icon for each forum. Demo: http://www.myls1.com ########## INSTALL ########## Admin CP >> Styles & Templates >> Edit Templates >> Forum Home Templates >> forumhome_forumbit_level2_post Find: PHP Code:
PHP Code:
Now the deal is that you have your own icons and you have to name each file with the number of the id of each forum. So you go to Forums & Moderators >> Forum Manager And click on any child forum (not subforum), for example in our case New Members, and look at the top for the Forum id... then you rename the .gif file with the number of the forum id, like: 2.gif Upload them onto the images / statusicons folder Now that file will display on that forum, and you go like that for each forum you have. I have uploaded a PSD file for you to use if you need to make your own. Is a 40 x 40 px file. Enjoy! Ask if you have any question. Show Your Support
|
Comments |
#52
|
|||
|
|||
Firstly I love this mod, I applied it to the forum as per your instructions and It works flawlessly
kudos! just a quick one, any way to make the image the hyperlink for the Thread, I have been inundated by requests for this? |
#53
|
|||
|
|||
I am not a coder but the answer is that any elementary coder can do this for you and any image can be made to launch a hyperlink of your choosing.
|
#54
|
||||
|
||||
Quote:
Try this: Code:
<div style="float: left; margin: 0px; padding: 0px;"><a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" style="white-space:nowrap" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"> <img src="$stylevar[imgdir_statusicon]/$forumid.gif" alt="" border="0" /></a> </div> After rereading your post, you might have wanted the image to actually just link to the forum, If so then use this: Code:
<div style="float: left; margin: 0px; padding: 0px;"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"> <img src="$stylevar[imgdir_statusicon]/$forumid.gif" alt="" border="0" /></a> </div> |
#55
|
|||
|
|||
Thank you so much this is so sweet
|
#56
|
|||
|
|||
why only 40x40 px???????
|
#57
|
|||
|
|||
run on 3.8?
|
#58
|
|||
|
|||
Ok so im having trouble getting this mod to work. here is what i have in:
forumhome_forumbit_level2_post: <tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /><div style="float: left; margin: 0px; padding: 0px;"> <img src="$stylevar[imgdir_statusicon]/$forumid.gif" alt=""/></div> <div></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <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]" rel="nofollow">$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> <td class="alt2">$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> $childforumbits I have added a image called 8.gif to the directory > images/statusicon/ yet it still doesnt show www.berry365.com is the site im trying to get this to work on any help appreciated |
#59
|
||||
|
||||
Quote:
|
#60
|
|||
|
|||
that is a bit of a bummer if it doesnt work for custom templates.... $20 via paypal to anyone who can get it working on my site.
email me daniel.marks@berry365.com Danny |
#61
|
|||
|
|||
OK so i fixed this and this is how. I was putting the images in the wrong folder... i was putting them in the default images >> status icons folder.... If you are using a template remember to drop the images in the relevent status icon folder for that template in my case that was located here:
forum/images/sentosa/statusicon/xx.gif Also i placed the code in a slightly different place than what was suggested by the OP. I have highlighted where i put it in red. Hope this helps! <tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <div></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"><div style="float: left; margin: 0px; padding: 0px;"> <img src="$stylevar[imgdir_statusicon]/$forumid.gif" alt=""/></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]" rel="nofollow">$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> <td class="alt2">$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> $childforumbits |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|