Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Scott MacVicar Scott MacVicar is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-03-2001 Last Update: Never Installs: 25
 
No support by the author.

A hack which shows if the user is online or not within a column on the memberlist. Pretty simple.

Hack suggested by Ifrani.

Last updated on 05th of November 2001 08:20 GMT

I had hoped to just add to the original SQL query to make this hack work, obviously this didn't seem possible with the errors that people have been having with sessions.

Redocumented adding an extra query.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 11-12-2001, 11:12 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe his twist is that instead of putting the indicator in a separate column in the middle, he puts it next to the person name, all the way on the left (and not in a new column). I like it better Firefly's way, and that's how I did it, too.
Reply With Quote
  #33  
Old 11-12-2001, 11:50 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gotcha, no my question is I did my online offline like this site... how can I get it to show the icon and not the text next to the users name?
Reply With Quote
  #34  
Old 11-15-2001, 02:49 AM
Barret Barret is offline
 
Join Date: Nov 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the way this is done here...on this page.
How can I make this work like this page to the left with
"Online or Offline" showing under the username?
Thanks in advance.
<-----------------------------------------
Reply With Quote
  #35  
Old 11-15-2001, 10:13 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by LuBi
Gotcha, no my question is I did my online offline like this site... how can I get it to show the icon and not the text next to the users name?
Reply With Quote
  #36  
Old 11-15-2001, 01:23 PM
Barret Barret is offline
 
Join Date: Nov 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe I should have been more specific....
Firefly, how did you make yours like that on the left?
Great job btw and looks really cool.
What script I need?
Reply With Quote
  #37  
Old 11-15-2001, 02:07 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a simple matter of editing the postbit template and relocating this: $onlinestatus. Here, it's above this line: Registered: $post[joindate].

Basically... In the postbit template:
Find:
Code:
	$post[avatar]<p>
	<smallfont>Registered: $post[joindate]<br>
Change to:
Code:
	$post[avatar]<p>
	$onlinestatus<br>
	<smallfont>Registered: $post[joindate]<br>
Find:
Code:
<td><smallfont>$onlinestatus
Change to:
Code:
<td><smallfont>
Reply With Quote
  #38  
Old 11-15-2001, 05:08 PM
fiona fiona is offline
 
Join Date: Nov 2001
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great for me
cheers
Reply With Quote
  #39  
Old 11-15-2001, 06:57 PM
Barret Barret is offline
 
Join Date: Nov 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man, I appreciate it!
Now if I could only make it glow online...lol
Reply With Quote
  #40  
Old 11-15-2001, 08:02 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you need to change the postbit_online template to something like:
<smallfont><table style="filter:glow(color=#C4C400, strength=2)">Online</table></smallfont>

...and the postbit_offline template to something like
<smallfont><table>Offline</table></smallfont>

The glow style was copied from the page source here, but I'm guessing as to the exact formatting of the template. You may need to remove the <br> from after the $onlinestatus that you relocated per my earlier directions.
Reply With Quote
  #41  
Old 11-15-2001, 10:13 PM
Barret Barret is offline
 
Join Date: Nov 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man that worked GREAT!!
Thank you ever so much for taking your time to help me.
I really really appreciate it!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04681 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete