Announcement

Collapse
No announcement yet.

images at side of username

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

  • cbiweb
    replied
    To make the image show up everywhere that the admins user name appears,do this:

    Go into Usergroup Manager to edit the Administrator group.
    In the Username HTML Markup section, add this to the first field:

    Code:
    <img src="[COLOR=Red][B]image_path[/B][/COLOR]" border="0" />
    Make sure to insert it before any other markup you have in there such as bold or color tags.

    Add this to the second field:
    Code:
     <img src="[COLOR=Red][B]image_path[/B][/COLOR]" border="0" />
    Make sure to insert it after any other markup you have in there such as bold or color tags.


    Originally posted by breamy1990 View Post
    yes you can use it as youve helped me out with getting it working
    Thank you. Glad to help.

    Leave a comment:


  • breamy1990
    replied
    is there anyway to make this appear in every part of the forum not just when the admins post ?

    Leave a comment:


  • breamy1990
    replied
    yes you can use it as youve helped me out with getting it working

    Leave a comment:


  • cbiweb
    replied
    Okay, got it!

    In your postbit template, find this block of code:
    Code:
                    <div id="postmenu_$post[postid]">
                        <if condition="$show['profile']">
                        <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                        $post[onlinestatus]
                        <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                        <else />
                        $post[musername]
                        </if>
                    </div>
    And replace it with this:
    Code:
                    <div id="postmenu_$post[postid]">
                        <if condition="$show['profile']">
                        <if condition="is_member_of($bbuserinfo, 6)">
                        <img src="[COLOR=Red][B]image_path_here[/B][/COLOR]" /> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> <img src="[COLOR=Red][B]image_path_here[/B][/COLOR]" />
                        <else />
                        <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a></if>
                        $post[onlinestatus]
                        <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                        <else />
                        $post[musername]
                        </if>
                    </div>
    ...where image_path_here is the path to the image on your server. (Note that there are two places to insert it.)

    I got it working perfectly in my test forums. Do you mind if I use that image and idea on my live forums? It's a good one.

    Leave a comment:


  • breamy1990
    replied
    ok cheers

    Leave a comment:


  • cbiweb
    replied
    I have an idea how it might be done. Give me a few minutes to work it out and I'll post back.

    Leave a comment:


  • breamy1990
    started a topic images at side of username

    images at side of username

    upto now i have coloured the admins username bold

    how would i go about adding this image at both sides of the admins usernames ??

    http://www.trueconsoleghosts.com/crown.gif
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X