Announcement

Collapse
No announcement yet.

Online Text?

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

  • Goddess Washu
    replied
    Originally posted by Pie'oh'pah
    Grrrrrrr

    Well, i guess that would require a little code stripping.
    Something like $onlinestatus and $onlinestatus1 and additional templates.

    Try to find the declaration of the $onlinestatus variable in the php file, shouldn't be too hard to copy the part and create the same with the $onlinestatus1

    I'm not much into php (mostly glad to be able to add the hacks )

    I'll try to find it though.

    -Alex
    Yeah that's what I am thinking... I'm the exact opposite, I understand the php side, but for some reason these templates baffle me... -_- Thanks again for the help. I'll look into that when I get home (at work now) can't get FTP access to my file from here... -_-;; Thanks again.

    Leave a comment:


  • Pie'oh'pah
    replied
    Grrrrrrr

    Well, i guess that would require a little code stripping.
    Something like $onlinestatus and $onlinestatus1 and additional templates.

    Try to find the declaration of the $onlinestatus variable in the php file, shouldn't be too hard to copy the part and create the same with the $onlinestatus1

    I'm not much into php (mostly glad to be able to add the hacks )

    I'll try to find it though.

    -Alex

    Leave a comment:


  • Goddess Washu
    replied
    Originally posted by Pie'oh'pah
    Sure.

    In your Postbit Template find $onlinestatus. Take it away
    and put that variable whereever you want it to appear.

    That's it

    -Alex
    Ohh ok, thanks again... but is it possible for me to keep that little icon in the toolbar aswell, perhaps I could add some php code to the template to add that decision making...

    Leave a comment:


  • Pie'oh'pah
    replied
    Sure.

    In your Postbit Template find $onlinestatus. Take it away
    and put that variable whereever you want it to appear.

    That's it

    -Alex
    Last edited by Pie'oh'pah; Wed 15 Aug '01, 8:00am.

    Leave a comment:


  • Goddess Washu
    replied
    But is it possible for me to get that Online | Offline to appear in the area that has the username and the avatar and all that data?

    Leave a comment:


  • Goddess Washu
    replied
    Thanks a lot, that second way is really cool.

    Leave a comment:


  • Pie'oh'pah
    replied
    Another way

    I have done it a different way also. Check out the attachement.

    To do that, edit the same templates as above, but replace all with


    postbit_online template
    <table align="center" width="80%" border="0">
    <tr>
    <td><div align="right" style="width:100%; font-size:8pt; color:white; filter:Glow(color=lightgreen, strength=2)"> Online </div></td>
    <td><div style="width:100%; font-size:8pt; color:grey; filter:none"> | Offline</div></td>
    </tr>
    </table>



    postbit_offline template

    <table align="center" width="80%" border="0">
    <tr>
    <td><div align="right" style="width:100%; font-size:8pt; color:{textcolor}; filter:none"> Online | </div></td>
    <td><div style="width:100%; font-size:8pt; color:white; filter:Glow(color=lightgreen, strength=2)"> Offline</div></td>
    </tr>
    </table>


    Ahh and make sure, you enable this option in your admin cp !

    - Alex
    Last edited by Pie'oh'pah; Wed 15 Aug '01, 6:17am.

    Leave a comment:


  • Pie'oh'pah
    replied
    Postbit Templates

    online template

    ***remove all

    ***insert


    & nbsp;Online!


    or if you want to have it with glow effect:

    ***insert

    <div style="width:100%; font-size:7pt; color:white; filter:Glow(color=lightgreen, strength=2)"> Online!</div>
    <nobr>

    offline template

    ***remove all

    ***insert

    & nbsp;Offline!

    or if you want to have it with glow effect:

    ***insert

    <div style="width:100%; font-size:8pt; color:white; filter:Glow(color=darkgreen, strength=2)"> Offline!</div>
    <nobr>

    Make sure to remove the space between '&' and 'nbsp;'
    And play around with the colors and glow amount

    Hope that helps....

    -Alex
    Last edited by Pie'oh'pah; Wed 15 Aug '01, 4:09am.

    Leave a comment:


  • Goddess Washu
    replied
    Oy, I must be slow... how would I go about doing that... I see the templates and what not, but what would I do from there...

    Leave a comment:


  • mjames
    replied
    Re: Online Text?

    Originally posted by snyx
    http://www.vbulletin.com/forum/attachment.php?s=&postid=153055
    Hey, that's me!

    Leave a comment:


  • snyx
    replied
    well duh, I was all in the postbit temp. but I couldnt realize how to change it from the icon to text. arg, there has got to be somthing so simple im missing, and then I looked a bit closer and saw postbit_offline and postbit_online wow, I really hate the way the temp. are sorted, and how I can't seem to find simple things. thanks boys.
    Last edited by snyx; Sat 11 Aug '01, 6:48pm.

    Leave a comment:


  • almighty one
    replied
    hey yeah that was pretty simple and looks nicer too add the glow effect to onlien users name

    Leave a comment:


  • Freddie Bingham
    replied
    Doh, you just edit the postbit online/offline templates.

    Leave a comment:


  • snyx
    started a topic Online Text?

    Online Text?

    How can I make it say if a user is online or not? Like the icon under there post, but in text. Here is an example (taken from sitepointforums)
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X