Announcement

Collapse
No announcement yet.

[TIP] Placing offline/online in postbit~

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

  • [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!

  • #2
    Some other variations are here....

    http://www.vbulletin.com/forum/showt...ht=Online+Text

    Comment


    • #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


      • #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


        • #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 customization and demonstration site.
          vBulletin 5 Documentation - Updated every Friday. Report issues here.
          vBulletin 5 API - Full / Mobile
          I am not currently available for vB Messenger Chats.

          Comment


          • #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


            • #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


              • #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...
                X