[TIP] Placing offline/online in postbit~

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sinecure
    Senior Member
    • Jul 2001
    • 1519

    [TIP] Placing offline/online in postbit~

    A lot of people want to know how to do this. Its fairly easy to do, and you can even customize it by using HTML if you so please
    The way its set up by default is offline/online are displayed with an off/on image at the bottom of the postbit. I don't know about you, but I don't even really look there when I am seeing if someone is offline or online. So its easier if its placed under the avatar with a <br> to seperate
    So here goes

    Go to your admin panel, then go to the templates section.
    You are going to need to modify the following templates.
    Postbit
    Postbit_offline
    Postbit_online

    First off change the postbit_offline template to the following:
    Code:
    <b>Offline!</b>
    Second, change postbit_online to the following:
    Code:
    <b>Online!</b>
    Now comes the tricky part. Open up the postbit template.
    About 3 quarters of the way down you will see a variable called $onlinestatus. Cut it from there. Then scroll up until you see the following:
    Code:
    <smallfont>Registered: $post[joindate]<br>
    	Location: $post[field2]<br>
    	Posts: $post[posts]</smallfont>
    Replace that code with the following:
    Code:
    <smallfont>Status: $onlinestatus<br>
    	Registered: $post[joindate]<br>
    	Location: $post[field2]<br>
    	Posts: $post[posts]</smallfont>
    That should work perfectly, if you have any troubles let me know.
    Board of the Month: November
    Websites: Pixeljunction , vBulletin.org
    Button Sets: XP and Aqua Button sets! FREE!
    vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!
  • drumsy
    Senior Member
    • Jul 2001
    • 439

    #2
    Some other variations are here....

    Comment

    • Sinecure
      Senior Member
      • Jul 2001
      • 1519

      #3
      Yeah, its pretty easy to use HTML tags to get your desired color, or even glow tags etc.. It all works
      Board of the Month: November
      Websites: Pixeljunction , vBulletin.org
      Button Sets: XP and Aqua Button sets! FREE!
      vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

      Comment

      • Island Roots
        Member
        • Dec 2001
        • 42

        #4
        I've made so it's glowing....but when I tried to link it to the Who's Online page if they're online, it screwed up the Online glowing text and made it look bad, since the link color wasn't the same as the glow color.

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 73981

          #5
          Originally posted by Justin Hancock
          I've made so it's glowing....but when I tried to link it to the Who's Online page if they're online, it screwed up the Online glowing text and made it look bad, since the link color wasn't the same as the glow color.
          You can fix that with Stylesheets. Simply move your code for the glow filter to the stylesheet in a new class.

          Then make a incontext link color like:
          Code:
          .glowstyle a:link {
            color:glowcolor;
            background-color:transparent;
          }
          Then all links that are within a glowstyle class will inherit the new color instead of your previously set color.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

          • Sinecure
            Senior Member
            • Jul 2001
            • 1519

            #6
            Didn't know that, thanks
            Board of the Month: November
            Websites: Pixeljunction , vBulletin.org
            Button Sets: XP and Aqua Button sets! FREE!
            vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

            Comment

            • Twig Deez
              Member
              • Nov 2001
              • 45

              #7
              i've had something similar on my forums for a couple of months now,
              and yah. i think it's pretty cool; check the attachment.

              for the record, i personally think glowing text looks cheap and nasty.

              Comment

              • Sinecure
                Senior Member
                • Jul 2001
                • 1519

                #8
                Yeah, I am not a big fan of the glow text either
                Looks good
                Board of the Month: November
                Websites: Pixeljunction , vBulletin.org
                Button Sets: XP and Aqua Button sets! FREE!
                vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

                Comment

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