Announcement

Collapse
No announcement yet.

Moving Rep button next to post number

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Moving Rep button next to post number

    How do I go about moving the Add Reputation button in posts so that it is next to the Post Number (I use legacy postbit).

  • #2
    # find in postbit_legacy
    Code:
    		<if condition="$show['reputationlink']">
    			<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
    			<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
    		</if>
    find and add proper html to this code
    Code:
    				<div>
    					$vbphrase[posts]: $post[posts]
    				</div>

    Comment


    • #3
      Originally posted by Jose Amaral Rego View Post
      # find in postbit_legacy
      Code:
              <if condition="$show['reputationlink']">
                  <span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
                  <if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
              </if>
      find and add proper html to this code
      Code:
                      <div>
                          $vbphrase[posts]: $post[posts]
                      </div>
      Thanks, but where would I find the second code & where would I add the first one?

      Comment


      • #4
        Second code is same template as the first and then add first between divide tags of the second.

        Comment


        • #5
          Thanks, but that's not where I meant.

          Comment


          • #6
            serach in same template for $post[postcount] and add it in front of the begining open tag of that code.

            Comment

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