Announcement

Collapse
No announcement yet.

Which template is the "report post" image and "reputation" image?

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

  • Which template is the "report post" image and "reputation" image?

    I want to add another clickable image to that row but do not know which template they are located in. If some could let me know I would greatly appreciate it.

  • #2
    There all in your postbit or postbit_legacy, which ever one you use.

    Comment


    • #3
      Originally posted by Kadafi420 View Post
      There all in your postbit or postbit_legacy, which ever one you use.
      Thank you

      Comment


      • #4
        Question again.

        I have located them being in the postbit template. However I am not sure how to add a clickable image. I see these :

        <div class="normal" style="float:$stylevar[right]">
        &nbsp;

        <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
        <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>&nbsp;
        </if>

        and so forth but not sure how to add that clickable image right before the "show post count" link. Would someone be able to let me know the html needed to create that?

        Comment


        • #5
          Once again. after posting I figured it out! GR this is the html I used :

          <if condition="normal"><a href="URL HERE" target="new" rel="nofollow"><strong>Help</strong></a> &nbsp;</if>

          and seemed to work. Is that the correct way though?


          Also, is there a way to set it up so only certain usergroups can see that clickable image? Since when clicking it, only certain usergroups can view that section to post in.

          Comment


          • #6
            Use the following code:

            HTML Code:
            <a href="url to link" rel="nofollow"><img src="url to image" width="x" height="x" border="0"></a>
            Replace x with the dimensions of the image.

            If you want specific usergroups to see the link use this:

            HTML Code:
            <if condition="is_member_of($bbuserinfo, x,x)">
            <a href="url to link" rel="nofollow"><img src="url to image" width="x" height="x" border="0"></a>
            </if>
            Replace x with the usegroup id, if it's only 1 usergroup remove the ,x - if you want more keep adding ,x and replacing with the groupid.

            Comment


            • #7
              You are awesome kadaifi! Thank you so much!!

              Originally posted by Kadafi420 View Post
              Use the following code:

              HTML Code:
              <a href="url to link" rel="nofollow"><img src="url to image" width="x" height="x" border="0"></a>
              Replace x with the dimensions of the image.

              If you want specific usergroups to see the link use this:

              HTML Code:
              <if condition="is_member_of($bbuserinfo, x,x)">
              <a href="url to link" rel="nofollow"><img src="url to image" width="x" height="x" border="0"></a>
              </if>
              Replace x with the usegroup id, if it's only 1 usergroup remove the ,x - if you want more keep adding ,x and replacing with the groupid.

              Comment


              • #8
                No problem, glad it worked out

                Comment

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