vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Online/Offline In Forums (https://vborg.vbsupport.ru/showthread.php?t=33751)

Stretchr 01-03-2002 02:43 AM

I've searched this board for several hours and now I guess I have to ask for some help. On the left side of this board, beside the posts, what hack was used to show whether the user is Online or Offline? I love the feature but can't find how to implement it. Thanks in advance and I hope I'm asking in the right place. :confused:

Sinecure 01-03-2002 04:14 PM

Its actually just a simple templae modificiation.

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>$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.

Stretchr 01-03-2002 04:37 PM

You're right that it was simple to do but you sure saved me a lot of time by letting me know where to change things. I appreciate your quick response and help. Thank you!!

Sinecure 01-03-2002 04:39 PM

Your welcome :)

TurboFC3S 01-30-2002 04:32 PM

Cool! Just what I was looking for ...

dezoris 01-31-2002 10:31 PM

so do you just delete
the default script in the postbit_offline/online?
Or do you just place that
line that you mentioned in there?

dezoris 01-31-2002 11:21 PM

forget it I figured it out :)

KISS 02-04-2002 02:42 AM

how do you make it glow? btw it works great :)

Airwaves 02-04-2002 10:13 AM

and to get them to glow I must...

PLEASE reply

ace 02-04-2002 10:22 AM

<font color="#FFFFFF"><table style="filter:glow(color=yellow, strength=2)">Online</table></font>

there ya go ;)


All times are GMT. The time now is 03:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01042 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete