How can I make reputation a seperate column from user info?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dndog
    Senior Member
    • Apr 2004
    • 230

    How can I make reputation a seperate column from user info?

    How can I achieve something like this? I am using the vB3 postbit, btw.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Add this to your postbit template:

    Code:
    				<if condition="$show['reputation']">
    				<fieldset>
    					<legend><strong>Karma:</strong></legend>
    					Points: $post[reputation]
    					$post[reputationdisplay]
    				</fieldset>
    				</if>
    That should work and look like the picture.

    Comment

    • dndog
      Senior Member
      • Apr 2004
      • 230

      #3
      I already had boxed both the reputation and profile, but I wanted them to be in seperate columns. The attachment is what I currently have. I want it to be in a seperate column from the profile box. How can I do this?

      Currently, the boxes stack and stretch my postbit (which looks very ugly).

      Thanks.
      Attached Files

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        You need to put them in different table cells. In the default postbit template you would need to add the red code around the section of code to separate it:

        Code:
        			<td width="100%">&nbsp;</td>
        			<td valign="top" nowrap="nowrap">
        				
        				<div class="smallfont">
        					<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
        <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
        					<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
        
        			[color=red]<td valign="top" nowrap="nowrap">[/color]
        
        					<div>
        						$vbphrase[posts]: $post[posts]
        						<if condition="$show['reputation']">$post[reputationdisplay]</if>
        					</div>
        
        			[color=red]</td>[/color]
        
        					<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
        				</div>
        				
        			</td>

        Comment

        • Cold Steel
          Senior Member
          • Apr 2000
          • 383
          • 3.0.1

          #5
          Originally posted by Jake Bunce
          Add this to your postbit template:

          Code:
          				<if condition="$show['reputation']">
          				<fieldset>
          					<legend><strong>Karma:</strong></legend>
          					Points: $post[reputation]
          					$post[reputationdisplay]
          				</fieldset>
          				</if>
          That should work and look like the picture.
          Good stuff - thank you!
          Richard Young, Esq.
          asian forums | asians
          Reverse Funnel System - Fastest Way To Monetize Your Forum

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...