How to add status icon column on vb forum homepage?

Discussion in 'HTML & Website Design' started by touchAshley, Feb 3, 2009.

  1. #1
    How do I add a column for the forum_new and forum_old icons on the front forum page? Also, the current status icons being used in my theme are the subforum icons. the small ones: subforum_old.gif and subforum_new) How can I make the bigger default ones show?
    Look at my screenshot:

    [​IMG]
     
    touchAshley, Feb 3, 2009 IP
  2. touchAshley

    touchAshley Active Member

    Messages:
    1,762
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    90
    #2
    Still need help with this!
     
    touchAshley, Feb 5, 2009 IP
  3. Artimmi

    Artimmi Active Member

    Messages:
    130
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    68
    #3
    could you provide the code of your forumhome_forumbit_level1_post and forumhome_forumbit_level1_nopost templates (Forum Home templates group)?
     
    Artimmi, Feb 5, 2009 IP
  4. lostdesign39

    lostdesign39 Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    in postbit_level2_ nopost or post you should be adding a <div class= Alt1active></div> around statusicon
     
    lostdesign39, Feb 5, 2009 IP
  5. touchAshley

    touchAshley Active Member

    Messages:
    1,762
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    90
    #5
    forumhome_forumbit_level1_nopost
    
    <div class="tcat_bg">
     <div class="tcat_right">
    <if condition="!$show['collapsable_forums']">
    			<a style="float:$stylevar[right];margin-right:10px;margin-top:6px;" 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>
    			</if>
      <div class="tcat_left">
      <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
    			<if condition="$show['forumdescription']"> - $forum[description]</if>
    			<if condition="$show['subforums']"> - <strong>$vbphrase[subforums]</strong>: $forum[subforums]</if>
      </div>
     </div>
    </div>
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <if condition="!$show['collapsable_forums']">
    <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
    <tr align="center">
    	  <td class="thead" width="54%" align="$stylevar[left]">&nbsp;</td>
    	  <td class="thead" width="16%">Last Post</td>
    	  <td class="thead" width="6%">$vbphrase[threads]</td>
    	  <td class="thead" width="6%">$vbphrase[posts]</td>
    	  <if condition="$vboptions['showmoderatorcolumn']">
    	  <td class="thead">$vbphrase[moderator]</td>
    	  </if>
    	</tr>
    $childforumbits
    </tbody>
    </if>
    </table>
    <div class="t_foot">&nbsp;</div>
    <br />
    Code (markup):
    forumhome_forumbit_level1_post
    
    <if condition="!$show['collapsable_forums']">
    <tbody>
    </if>
    	<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[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></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&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"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    			</td>
    		</tr>
    		</table>
    
    		</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]&nbsp;</div></td>
    		</if>
    	</tr>
    
    <if condition="!$show['collapsable_forums']">
    </tbody>
    </if>
    
    <if condition="$childforumbits">
    <if condition="!$show['collapsable_forums']">
    <tbody>
    </if>
    	$childforumbits
    <if condition="!$show['collapsable_forums']">
    </tbody>
    </if>
    </if>
    Code (markup):
     
    touchAshley, Feb 5, 2009 IP
  6. lostdesign39

    lostdesign39 Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    it's in level2_post like i was saying...

    you will need this at the top
    <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>
     
    lostdesign39, Feb 5, 2009 IP
  7. touchAshley

    touchAshley Active Member

    Messages:
    1,762
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    90
    #7

    I tried it but iit doesn't work. It does this:

    [​IMG]
     
    touchAshley, Feb 5, 2009 IP