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 |
#52
|
||||
|
||||
Just google FREE graphics, icons etc there are several sites offering such w/ very flexible licenses but be sure to read & abide by their terms of use.
|
#53
|
||||
|
||||
Excellent mod, Sofia. Thank you very much for it.
I know you're on vacations, but is it possible to add a separator between the category icon and it's title & description, as shown in the attachment. Attachment 101885 |
#54
|
|||
|
|||
Quote:
In your template forumhome_forumbit_level1_nopost Find: HTML Code:
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
Replace by: HTML Code:
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">7<else />6</if>">
Find HTML Code:
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> HTML Code:
<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> Find: HTML Code:
<thead> <tr align="center"> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead">$vbphrase[last_post]</td> <td class="thead">$vbphrase[threads]</td> <td class="thead">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> </thead> HTML Code:
<thead> <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">$vbphrase[last_post]</td> <td class="thead">$vbphrase[threads]</td> <td class="thead">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> </thead> |
#55
|
|||
|
|||
Thanks...
|
#56
|
|||
|
|||
no files uploaded !!!!
how to download? |
#57
|
|||
|
|||
There are no file to download What do you want to download?
|
#58
|
||||
|
||||
Quote:
Thank you for replying. However, I'm running into some trouble. Of the 3 codes you have asked to replace, I was able to locate only the second one. In template 1 and 3 you have mentioned, there is no such code which you have pointed out to replace. I think this may be because I'm using a custom skin. I'll paste the code for the 3 templates in the next post. Hopefully, you would be able to point out where I'm missing something. |
#59
|
||||
|
||||
Template: forumhome_forumbit_level1_nopost
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" 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 /> Template: forumhome_forumbit_level2_post 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="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 Template: forumhome Code:
$stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <!-- no cache headers --> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> <!-- end no cache headers --> $headinclude <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title> </head> <body> $header $navbar <if condition="$show['guest']"> <!-- guest welcome message --> <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"> <phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase> </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"> <tr> <td class="alt1"> <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase> </td> </tr> </table> </div> </div> <div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div> <!-- / guest welcome message --> <br /> </if> <!-- main --> $forumbits $forumhome_markread_script <!-- /main --> <br /> $ad_location[ad_forumhome_afterforums] <!-- what's going on box --> <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"> $vbphrase[whats_going_on] </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"> $template_hook[forumhome_wgo_pos1] <if condition="$show['loggedinusers']"> <!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>) </td> </tr> </tbody> <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]"> <tr> <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div> <div>$activeusers</div> </div> </td> </tr> </tbody> <!-- end logged-in users --> </if> $template_hook[forumhome_wgo_pos2] <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a> <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]"> <tr> <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td> <td class="alt1" width="100%"> <div class="smallfont"> <div> $vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">, <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span> </if> </div> <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div> $template_hook[forumhome_wgo_stats] </div> </td> </tr> </tbody> $template_hook[forumhome_wgo_pos3] <if condition="$show['birthdays']"> <!-- today's birthdays --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a> $vbphrase[todays_birthdays] </td> </tr> </tbody> <tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]"> <tr> <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&day=$today&sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td> </tr> </tbody> <!-- end today's birthdays --> </if> $template_hook[forumhome_wgo_pos4] <if condition="$show['upcomingevents']"> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a> <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]"> <tr> <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td> </tr> </tbody> </if> $template_hook[forumhome_wgo_pos5] <tbody> <tr> <td class="tfoot" align="center" colspan="2"><div class="smallfont"><strong> <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a> <if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if> <if condition="!$show['guest']"> <!-- member logout --> <a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a> <!-- end member logout --> </if> </strong></div></td> </tr> </tbody> </table> </div> </div> <div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div> <br /> <!-- end what's going on box --> <!-- icons and login code --> <table class="tborder" align="center" cellpadding="3" cellspacing="$stylevar[cellspacing]" border="0"> <tr> <td class="alt2 smallfont"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /> $vbphrase[forum_contains_new_posts] <img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /> $vbphrase[forum_contains_no_new_posts] <if condition="$vboptions['showlocks']"> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /> $vbphrase[forum_is_closed_for_posting] </if> </td> </tr> </table> <!-- / icons and login code --> $footer </body> </html> |
#60
|
|||
|
|||
Quote:
|
#61
|
||||
|
||||
No wonder!
I hope you'll be able to understand where to make the changes. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|