vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - status online postbit text (https://vborg.vbsupport.ru/showthread.php?t=231163)

abbasbsp 12-24-2009 10:00 PM

status online postbit text
 
1 Attachment(s)
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

https://vborg.vbsupport.ru/external/2009/12/34.jpg

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

Charlie98902 12-25-2009 04:25 PM

Hi Lynne, how would you go about this for the postbit style?

Hasanudin 12-25-2009 05:08 PM

installed...

Charlie98902 12-25-2009 09:46 PM

Sorry I saw that avatar and thought it was Lynne. Doe this same code work for the postbit style?

abbasbsp 12-25-2009 09:59 PM

postbit = postbit_legacy

Charlie98902 12-25-2009 10:20 PM

Thanks I'll try it out and if it work will mark installed.

Charlie98902 12-25-2009 11:02 PM

Okay so if you use postbit and not postbit legacy this mod will not work. Just tried. It works but it doesn't at the same time.

Dr.osamA 12-27-2009 01:35 PM

thanxxx man

installed
________
Extreme vaporizer

merk_aus 12-28-2009 01:00 AM

Installed - works and looks brilliant thank you.

Charlie98902 12-28-2009 02:02 AM

Yea it looks wonderful in the postbit_legacy but looks like crap in the postbit. I was hoping it would work in the postbit only as well.


All times are GMT. The time now is 11:22 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.01012 seconds
  • Memory Usage 1,742KB
  • 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_php_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