Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
status online postbit text Details »»
status online postbit text
Version: 1.00, by abbasbsp abbasbsp is offline
Developer Last Online: Sep 2016 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.x Rating:
Released: 12-24-2009 Last Update: Never Installs: 136
Template Edits
 
No support by the author.

styles manager >> postbit_legacy

1. Find :
PHP Code:
{vb:raw post.onlinestatus
then remove

2. find :
PHP Code:
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd
add below :
PHP Code:
<dt>User ID</dt> <dd>{vb:raw post.userid}</dd>
<
dt>Status</dt> <dd>{vb:raw post.onlinestatus}</dd
3. SAVE

then ;
remove all "postbit_onlinestatus"

replace :
PHP Code:
<vb:if condition="$onlinestatus==0"><font color="#FDD017"><b><i>Offline</i></b></font></vb:if>
<
vb:if condition="$onlinestatus==1"><font color="#00FF00"><b><i>Online</i></b></font></vb:if>
<
vb:if condition="$onlinestatus==2"><font color="#87AFC7"><b><i>Invisible</i></b></font></vb:if> 
then : SAVE



Demikian Harap Maklum, semoga tuhan memberkahi ..... aminnnn

Show Your Support

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

Comments
  #32  
Old 01-22-2010, 08:56 AM
iyama iyama is offline
 
Join Date: Sep 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working on vb4.1.
Only with the "A nice Postbit_legacy - vb4" i'm getting al the fields white.

Is there a option to make ofline and online status with a icoon instead of that txt?
Reply With Quote
  #33  
Old 01-27-2010, 08:00 AM
murekhalir murekhalir is offline
 
Join Date: Oct 2006
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aweomness.
Reply With Quote
  #34  
Old 01-27-2010, 11:57 AM
pretke pretke is offline
 
Join Date: Nov 2004
Location: Gyor, Hungary
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed
Thx
Reply With Quote
  #35  
Old 02-09-2010, 06:35 AM
iyama iyama is offline
 
Join Date: Sep 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iyama View Post
Is there a option to make ofline and online status with a icoon instead of that txt?
Anyone?
Reply With Quote
  #36  
Old 02-26-2010, 06:52 AM
Chickenpotpie Chickenpotpie is offline
 
Join Date: Feb 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked very well for me. thanks.

-CPP
Reply With Quote
  #37  
Old 03-06-2010, 12:11 PM
DaninMS DaninMS is offline
 
Join Date: May 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Thx.
Reply With Quote
  #38  
Old 03-07-2010, 03:18 AM
CFodder CFodder is offline
 
Join Date: Mar 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iyama View Post
Anyone?
I suspect all you'd have to do is replace

Quote:
<font color="#FDD017"><b><i>Offline</i></b></font>
<font color="#00FF00"><b><i>Online</i></b></font>
with something like:

Quote:
<img src="pathtoyourimage/offlineimage">
<img src="pathtoyourimage/onlineimage">
Respectively. Where onlineimage and offlineimage will be the names of the actual images you are going to use.

For example would use: <img src="./images/offline.png">
Reply With Quote
  #39  
Old 04-04-2010, 04:32 AM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
<vb:if condition="$onlinestatus==0"><font color="#FDD017"><b><i>Offline</i></b></font></vb:if>
<vb:if condition="$onlinestatus==1"><font color="#00FF00"><b><i>Online</i></b></font></vb:if>
<vb:if condition="$onlinestatus==2"><font color="#87AFC7"><b><i>Invisible</i></b></font></vb:if>
the bold and italics tags you used in this are not reccomended by the w3c beacuse it doesnt show properly on every web browser.

It is reccomended to use <strong> and <em>

Code:
<vb:if condition="$onlinestatus==0"><font color="#FDD017"><strong><em>Offline</em></strong></font></vb:if> 
<vb:if condition="$onlinestatus==1"><font color="#00FF00"><strong><em>Online</em></strong></font></vb:if> 
<vb:if condition="$onlinestatus==2"><font color="#87AFC7"><strong><em>Invisible</em></strong></font></vb:if>
Reply With Quote
  #40  
Old 04-04-2010, 02:05 PM
hqlman's Avatar
hqlman hqlman is offline
 
Join Date: Aug 2008
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ti07shadow View Post
the bold and italics tags you used in this are not reccomended by the w3c beacuse it doesnt show properly on every web browser.

It is reccomended to use <strong> and <em>

Code:
<vb:if condition="$onlinestatus==0"><font color="#FDD017"><strong><em>Offline</em></strong></font></vb:if> 
<vb:if condition="$onlinestatus==1"><font color="#00FF00"><strong><em>Online</em></strong></font></vb:if> 
<vb:if condition="$onlinestatus==2"><font color="#87AFC7"><strong><em>Invisible</em></strong></font></vb:if>

Strong does not work properly on every browser, the code above will not display the font in bold in the chrome browser but does so in IE, still safer to use <b><i> as it works in every browser.
Reply With Quote
  #41  
Old 04-05-2010, 10:49 AM
Syria BoY's Avatar
Syria BoY Syria BoY is offline
 
Join Date: Oct 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks.
installed
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:36 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.06056 seconds
  • Memory Usage 2,341KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (4)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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