Thread: Forum Home Enhancements - Forum Icons on forumhome
View Single Post
  #64  
Old 07-21-2009, 02:00 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">&nbsp;</td>
    <td class="thead">&nbsp;</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


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&amp;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]&nbsp;</div></td>
    </if>
</tr>
$childforumbits
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01265 seconds
  • Memory Usage 1,819KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete