Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Online/Offline Text Status Details »»
Online/Offline Text Status
Version: 1.00, by Tony G Tony G is offline
Developer Last Online: Dec 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-05-2004 Last Update: Never Installs: 14
 
No support by the author.

Mod once again updates from RC versions to vBulletin 3.0.0/3.0.1. Although it will work on both vBulletin 3 RC's and vBulletin 3.0.0/3.0.1.

This mod will remove the online/offline images, and instead replace them with text (much like how location, or age is displayed) displaying if the user is online or offline.

There are two versions of this modification. Once is for the posbit template, which if the infomation on top and the post below. The other version is for the postbit legacy template, which is the infomation on the side in a column. So download the instructions from the type of postbit that applies to you.

Screenshots are included. The first one is offline on the postbit legacy. The second is online on the normal postbit. The third is online on the postbit legacy.

Enjoy, and report any faults with this mod!

(Also, if you use this mod please click install. Just gives me an idea on how popular the modification is! Thank you.)

Show Your Support

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

Comments
  #12  
Old 08-07-2005, 04:28 PM
G3MM4 G3MM4 is offline
 
Join Date: Jul 2004
Location: Westcounty UK
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This needs updating for 3.0.8.
Reply With Quote
  #13  
Old 08-08-2005, 03:10 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hopefully I can get around to updating it soon. Sorry about the wait.
Reply With Quote
  #14  
Old 08-11-2005, 03:54 PM
Blind Guardian's Avatar
Blind Guardian Blind Guardian is offline
 
Join Date: Mar 2004
Location: South Carolina
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, although I added in an if condition so it will only display on smod/admin posts (our server would probably keel over from enabling it on each of the 70,000 member's posts.)

Thanks.
Reply With Quote
  #15  
Old 08-12-2005, 05:15 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did it work fine on 3.0.8, or did you have to change code around? And thanks for the comments.
Reply With Quote
  #16  
Old 08-12-2005, 09:30 PM
Blind Guardian's Avatar
Blind Guardian Blind Guardian is offline
 
Join Date: Mar 2004
Location: South Carolina
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tony G
Did it work fine on 3.0.8, or did you have to change code around? And thanks for the comments.
I installed on 3.0.3, so I'm assuming that question wasn't directed at myself.

I also discovered a slight problem in the way you set up the code, since the forum-leaders list uses the same template (SHOWGROUPS), so you get "Status: Online" and so on in the left-most column.

I shifted the code around a bit, did a small edit to showgroups_usergroupbit and it's not as hideous as before.

showgroups_usergroupbit
Replace
Code:
<td class="$bgclass">$user[onlinestatus]</td>
With
Code:
<td align="center" class="$bgclass">$user[onlinestatus]</td>
postbit_onlinestatus
Replace everything with
Code:
<if condition="$onlinestatus==0"><font color="#999999"><b>Offline</b></font></if>
<if condition="$onlinestatus==1"><font color="#009000"><b>Online</b></font></if>
<if condition="$onlinestatus==2"><font color="#999999"><b>Invisible</b></font></if>
postbit_legacy
Replace
Code:
<div>$post[onlinestatus]</div>
With
Code:
<div>Status: $post[onlinestatus]</div>
Basically, I removed the "Status:" from the actual onlinestatus template and made that specific to the postbit, then aligned the status on the forum-leaders page to account for the cell-stretching caused by "Invisible" being so much longer than "Online" and "Offline".

Note: You have to make sure you remove all the <div> tags from the onlinestatus template, otherwise it'll break the actual status onto another line in the postbit.
Reply With Quote
  #17  
Old 08-14-2005, 05:58 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was directed at you, I guess it still worked on 3.0.3.

I like the way you set up the mod, never thought of using that if condition.
Reply With Quote
  #18  
Old 08-26-2005, 12:25 AM
snags204 snags204 is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works in 3.08 fine...although it dosnt have that glow effect like the screenshot....anyone know how to get it like that?
Reply With Quote
  #19  
Old 08-26-2005, 03:26 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

XD that's no glow, just a bad quality JPEG file.

Thanks for letting me know, no need to make any changes to this now.
Reply With Quote
  #20  
Old 09-19-2005, 10:07 AM
stan111 stan111 is offline
 
Join Date: Aug 2005
Location: CA
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a ton
click installed

with this mod, i have learned a lot on how to modify my postpit legacy
Reply With Quote
  #21  
Old 09-19-2005, 11:23 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I'm glad you learnt something about the templates.
Reply With Quote
Reply


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:46 PM.


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.05274 seconds
  • Memory Usage 2,306KB
  • 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
  • (5)bbcode_code
  • (1)bbcode_quote
  • (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
  • (2)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