![]() |
[Release] Online/Offline Move
Author: Sinecure
Description: This will teach you how to make your online/offline status a little more noticable then the default look. It will place Online or Offline under your username depending on your status. |
Thank You!
|
Very nice! But Saint Dog, how did you get the usergroup to show up in the postbit, let alone to make the admin and mod's part a different color
|
And sorry about the double post but how did you get the offline part to look faded?
|
i figured this out myself already...thanks anyway
|
yep installed and working fine,just have to figure out the changing of the online offline colours
|
In the postbit templates there's templates for the online/offline stuff. You can put font tags around the text so it's differnt colors.
|
For it to change colors. In the postbit_online and postbit_offline templates, instead of it just being <b>Online!</b> and <b>Offline!</b> He added something like <font color="red"><B>Online!</b></font> and <font color="c0c0c0"><b>Offline!</b></font>
To display a usergroup in your postbit if you don't already have it. (which the default template does) goto your postbit template and where u want it put: $post[usertitle] will output the usergroup your in IF you don't have a custom title. |
thanks for that appreciated
|
is there a way to make the online font glow a color orange?
|
it is on the second page in this section..
I can't get it to work though.. It doesn't show up in my postbit template... but it shows up when someone sends me a private message along the bottom.... why is this? |
Put this in your postbit_online template EmuMasta.
<normalfont color="#000000"><TABLE STYLE="filter:GLOW(color=orange,strength=2"><b>Onl ine!</b></table> |
Excellent. I've wanted to do this for a while. Thanks! Heres what mine looks like now:
|
Thx I need this for another hack....lets try :)
|
could anyone help me?
|
Sweet addition to my forums, thanks! :)
|
w00t nice works fine :D
|
I have tried to add the online offline with no luck could someone lend a hand...? I am using 2.26
Thanks |
Well...what's the problem, firstly?
|
Well I install everything as stated and it does not show up anywhere on the board....
|
Did you follow the postbit instructions properly? If it doesn't show up AT ALL thats where the problem would be.
|
Followed them to the T...does it work with 2.2.6?
|
Yes it should.
Can I have a link to your forum to see? |
It is a private forum...here is my postbit
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer --> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <tr> <td bgcolor="$post[backcolor]" width="175" valign="top" nowrap> <a name="post$post[postid]"></a> $post[firstnewinsert] <normalfont><b>$post[username]</b></normalfont><br> <smallfont>$post[usertitle]</smallfont><br> $post[avatar]<p> <smallfont>$onlinestatus<br>Registered: $post[joindate]<br> Location: $post[field2]<br> Posts: $post[posts]</smallfont></td> <td bgcolor="$post[backcolor]" width="100%" valign="top"> <smallfont>$post[icon] <b>$post[title]</b></smallfont> <p><normalfont>$post[message]</normalfont></p> $post[attachment] <p>$post[signature]</p> <p>$post[editedby]</p> <p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p> </td> </tr> <tr> <td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon] $post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td> <td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr valign="bottom"> <td><smallfont> $post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy] <!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] --> </smallfont></td> <td align="right" nowrap><smallfont> <a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a> <a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a> </smallfont></td> </tr> </table> </td> </tr> </table> </td></tr></table> <!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table> |
Well online status is there.
Can't understand what could be going wrong. |
heres a kicker for u...it shows up in some sub forums but not others...OMG...I am so confused
|
Can you PM me the link then? It would really help..
But otherwise no idea. Sorry. |
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 What you mean by cut it there..just delete the $onlinestatus? I can't get this to work at all..and when you read it,it aint that hard hmm.. What do i put into postbit_offline and online,can someone tell me that cause i deleted it..yeah stupid me I want it to be like you guys have it here,taht would be awesome:) Anyway help will be nice,i really want to use this. |
Quote:
Anyone can help plz? |
You will need to edit the PM template to make the "Online" part place like that of the postbit (being they are 2 different sections of the board, hence 2 different templates need to be edited). As for it not working with 2.2.6, check what version we are running ;). Unless you have hacked up your board with code hacks and something, it shoud work just fine.
|
All I did was edit my postbit_online and postbit_offline and it worked. I'm on 2.2.6 too so I don't see why it shouldn't work.
|
thanx you guys,so it can't be the version..then i have to edit the pm template,i know the one i must edit,but what must i place in then?
|
Hello,
This is how I did : Opened showgroups.php Replaced all occurances of postbit_online with online Replaced all occurances of postbit_offline with offline Saved it back to my forums root directory. Then Added two new templates : 1. "online" with this code in it : <smallfont>Status : <B>Online</B></smallfont> 2. "offline" with this code in it : <smallfont>Status : <B>Offline</B></smallfont> Then in the "postbit" template, I added this $onlinestatus , where i wanted. What I actually want to appear in the postbit is Status : Online for online users & Status : Offline for offline users And that is what my two new templates reflect. But, I am getting an image in the postbit, instead of text, what i wanted. How can i get the text as i mentioned above ?? Thanks for help. Cheers |
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|