The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Icons on forumhome Details »» | |||||||||||||||||||||||||||
This mod allows you to have specific forum icons on the forumhome per forum. (New) You want your statusicons per forum? Read this : https://vborg.vbsupport.ru/showpost....6&postcount=45 Installation In the template forumhome_forumbit_level2_post, Find: HTML Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> HTML Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left"/></a> Indicate a forumid for the images name. Example: ID Forum = 3. So your image have this name : "3.gif" ID Forum = 7. So your image have this name : "7.gif" You must have an icon for each forum. Screenshots
Show Your Support
|
Comments |
#62
|
|||
|
|||
Hi!
This is my problem too greetz Karin |
#63
|
||||
|
||||
Any help possible, Sofia?
|
#64
|
|||
|
|||
Hello abdulbasitsaeed. Try these modifications :
Template: forumhome_forumbit_level1_nopost HTML Code:
<table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img src="$stylevar[imgdir_misc]/_cat-top_lft3.gif" alt="" /></td> <td width="100%" class="cat-top_x3"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> <if condition="$show['forumdescription']"><span class="smallfont">: $forum[description]</span></if> </td> <td><img src="$stylevar[imgdir_misc]/_cat-top_rht3.gif" alt="" /></td> </tr></table> <div class="side_lft3"> <div class="side_rht3"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <if condition="$show['subforums']"> <tbody> <tr> <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><div class="smallfont"><ul class="subforum">$forum[subforums]</ul><br class="clear" /></div></td> </tr> </tbody> </if> <if condition="$childforumbits"> <if condition="!$show['collapsable_forums']"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> </if> <tr align="center"> <td class="thead"> </td> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" nowrap="nowrap">$vbphrase[last_post]<div class="lastpost_w"></div></td> <td class="thead" nowrap="nowrap">$vbphrase[threads]<div class="threads_w"></div></td> <td class="thead" nowrap="nowrap">$vbphrase[posts]<div class="posts_w"></div></td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> $childforumbits <if condition="!$show['collapsable_forums']"> </tbody> </if> </if> </table> </div> </div> <div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div> <br /> HTML Code:
<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]" /></td> <td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left"/></a></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <div> <!-- Code begin by Saeed --> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].png" hspace="4px" align="left"/></a> <!-- Code end by Saeed --> <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"><ul class="subforum">$forum[subforums]</ul><br class="clear" /></div></if> </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> $childforumbits |
#65
|
||||
|
||||
Thank you so much for your response, Sofia.
All I had to do was change the path of the image in the last Template: forumhome_forumbit_level2_post you posted, and take out the code you had mentioned in your first post. The results looks lovely. Thank you very much, once again! |
#66
|
|||
|
|||
Hallo!
My forumhome_forumbit_level2_post is different and in Firefox it looks like this: and in IE it looks like this: And this ist my forumhome_forumbit_level2_post: Code:
<tr align="center"> <td class="alt2"><if condition="$vboptions[customimg_enabled] == 1"> <if condition="$forum[customimg] == ''"> <img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].png" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <else /> <img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> </if> <else /> <img border="0" src="images/misc/iconforums/$forum[forumid].JPG" /> </if> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <div> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].png" alt="" border="0" hspace="4px" align="left" /> <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" width="175">$forum[lastpostinfo]</td> <td class="alt1" width="65">$forum[threadcount]</td> <td class="alt2" width="65">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1" width="120"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> $childforumbits What can I change to get it to work like abdulbasitsaeed - with a separator between the category icon and it's title & description Thanks a lot Karin |
#67
|
||||
|
||||
I've got a couple of questions because I like this mod very much, but I don't have and I don't want an icon for each and every forum.
For example, I've got an information and a news forum on which I don't want icons, they should remain standard. Then I have some receiver forums and for every receiver brand I want an icon. Then the admin/mod forums I don't want an icon. Is there a way to make it so that icons can be put in on a per-forum base? My second question is what the measures (height and width) of the icons should be. I can download gifs at many places, some a bit bigger, others a bit wider. Or does this get auto-adjusted? |
#68
|
|||
|
|||
how can I get the specific forum icons to show up in the spot where the status icons are? I dont want to replace the status icons with a new ones but to just have a different icon per forum in the spot of the status icon.
Thanks |
#69
|
||||
|
||||
Quote:
You resizing is the best method so it does not require code (if you don't have an graphics program, google GIMP or if no interest in doing it and just resizing on occasion, google Irfanview) but you can add this to the code: Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left" width="50px" height="50px"/></a> edit: Sofia, you can add this as a demo (even though Screenshot should be sufficient but if you like) www.tournamentgamingworld.com/online |
#70
|
||||
|
||||
Quote:
Perhaps? I saw this somewhere else, it can be done and I believe it was in one of Sofia's post too... |
#71
|
|||
|
|||
Good job.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|