iMan
08-14-2003, 07:35 AM
Hi Guys, here is a simple hack for vBulletin that displays the "online / offline" status of users.
Go to the 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:
<b>Offline</b>
Second, change postbit_online to the following:
<font color="#FFFFFF"><table style="filter:glow(color=red, strength=2)">NOW ONLINE</table></font>
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:
<smallfont>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]</smallfont>
Replace that code with the following:
<smallfont>$onlinestatus<br>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]</smallfont>
I hope this might help and be of use.
Best regards.
iMan
Go to the 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:
<b>Offline</b>
Second, change postbit_online to the following:
<font color="#FFFFFF"><table style="filter:glow(color=red, strength=2)">NOW ONLINE</table></font>
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:
<smallfont>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]</smallfont>
Replace that code with the following:
<smallfont>$onlinestatus<br>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]</smallfont>
I hope this might help and be of use.
Best regards.
iMan