Announcement

Collapse
No announcement yet.

Would anybody know how to do this? Image as a username?

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

  • Would anybody know how to do this? Image as a username?

    If you check out THIS forum, take a look at the usernames of the members. They are images - not basic text.

    Anybody know how to do this? Or what plugin allows it to be one?

    Thanks in advance.

  • #2
    Need to modify the code. Not really hard to do...
    To be or not to be... Where the hell is the question????
    My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

    Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
    CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
    Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

    Comment


    • #3
      Well, looks like they have images only for admins. So it's quite easy to do.

      First create your images and name them according to the existing admins' userids.

      Eg if an admin has the userid "1" then his would be image-1.png

      Upload these to a folder, eg images/usernames

      Then look in your postbit or postbit_legacy template (depending on which you use).

      First, take a copy of the contents of the template as a backup.

      Search for:
      Code:
      $post[musername]
      or possibly
      Code:
      $post'[musername']
      Replace with:
      Code:
      <if condition="$bbusergroup['usergroupid'] == 6">
      <img src="images/usernames/image-$post[userid].png" />
      <else />$post[musername]</if>
      This assumes your admin usergroup is 6 - if not, change accordingly.

      I haven't tested this as I don't run vB3 any more but it ought to work.
      MARK.B | vBULLETIN SUPPORT

      TalkNewsUK - My vBulletin 5.6.2 Demo
      AdminAmmo - My Cloud Demo

      Comment

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