Announcement

Collapse
No announcement yet.

Avatar String? <img src="$whatstringname" ???

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

  • Avatar String? <img src="$whatstringname" ???

    I just want to know what the avatar image string is?

    In example...
    <img src="$avatar"....

    Or if it like this...
    $avatarimage
    ...and it prints out the img element for you where to ~also~ find and edit the avatar element string directly (if I want to mode the img element itself to adjust attributes and elements).

    Thanks!

    John
    John Bilicki III
    Webmaster of JAB Creations

  • #2
    In vBulletin 3.0.x this is
    Code:
    <img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" />
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      Eh, not working. This is what I'm trying to do...

      <div class="welcome" style="background: url('$avatarurl') 2px 2px no-repeat;">
      John Bilicki III
      Webmaster of JAB Creations

      Comment


      • #4
        Ah, that would only work in the postbit. If you want to display the avatar of the user viewing, you'd have to use $bbuserinfo[avatarurl]
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment


        • #5
          I'm editing Template: FORUMHOME and nothing you're suggesting is working. Something we're missing?
          John Bilicki III
          Webmaster of JAB Creations

          Comment


          • #6
            In that case it seems as if this isn't in the scope of that page.

            You would have to modify the code to display the avatar there.
            Best Regards
            Colin Frei

            Please don't contact me per PM.

            Comment


            • #7
              Sounds like I'd have to throw in a PHP includes?

              These files have that string in them...
              admincp/usertools.php
              modcp/user.php

              Should I try that or?
              John Bilicki III
              Webmaster of JAB Creations

              Comment

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