vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   online or offline in member info how to achieve? (https://vborg.vbsupport.ru/showthread.php?t=304209)

Wajow-community 11-06-2013 12:36 AM

online or offline in member info how to achieve?
 
Hi,

What I have seen on another vbulletin forum is that you are in the user info status offline or online are red in color, offline and online green. Seemed to me very useful instead of just an icon but also a text in the userinfo both show thread as member info. I think to myself User Profile Field to enter this?

But my question is how is this possible to achieve? 've Looked through the source code and saw this:

Quote:

<dl class="userinfo_extra">
<dt class="pbit1"> Status </ dt> <dd class="pbit2" style="color:#FF0000"> Offline </ dd>
what can I do to achieve this?

thanks

ozzy47 11-06-2013 12:40 AM

Try this search link, https://vborg.vbsupport.ru/search.php?searchid=21402495

Wajow-community 11-06-2013 12:43 AM

Quote:

Originally Posted by ozzy47 (Post 2458548)

I have see butt its only with button/images i want only text.. for example look this:

http://forums.hababam.nl/showthread....26#post6950426

You see status: Offline of a user howe to set like that?

ozzy47 11-06-2013 12:49 AM

Edit the template postbit_onlinestatus found in the group Postbit Templates, and replace everything in there with this:

Code:

<vb:if condition="$onlinestatus==0">Offline
<vb:elseif condition="$onlinestatus==1" />Online
<vb:elseif condition="$onlinestatus==2" />Invisible</vb:if>


Wajow-community 11-06-2013 12:51 AM

Quote:

Originally Posted by ozzy47 (Post 2458551)
Edit the template postbit_onlinestatus found in the group Postbit Templates, and replace everything in there with this:

Code:

<vb:if condition="$onlinestatus==0">Offline
<vb:elseif condition="$onlinestatus==1" />Online
<vb:elseif condition="$onlinestatus==2" />Invisible</vb:if>


thnx!!

en with color where to set the color code? End Status: like the link for example i give?

ozzy47 11-06-2013 12:55 AM

This should do it, but it is untested.

Code:

<vb:if condition="$onlinestatus==0"><span style="color: green;">Offline</span>
<vb:elseif condition="$onlinestatus==1" /><span style="color: red;">Online</span>
<vb:elseif condition="$onlinestatus==2" /><span style="color: orange;">Invisible</span></vb:if>


Wajow-community 11-06-2013 12:58 AM

Quote:

Originally Posted by ozzy47 (Post 2458553)
This should do it, but it is untested.

Code:

<vb:if condition="$onlinestatus==0"><span style="color: green;">Offline</span>
<vb:elseif condition="$onlinestatus==1" /><span style="color: red;">Online</span>
<vb:elseif condition="$onlinestatus==2" /><span style="color: orange;">Invisible</span></vb:if>


Thnx for youre help..

This is what i search butt i want to set it under the avatar like this look the Status of the member:

http://forums.hababam.nl/showthread....26#post6950426

i want it like this

Status: Offline under the avatar above the registration time.

--------------- Added [DATE]1383721746[/DATE] at [TIME]1383721746[/TIME] ---------------

nobody?

--------------- Added [DATE]1383754986[/DATE] at [TIME]1383754986[/TIME] ---------------

where can i set this?

--------------- Added [DATE]1383772726[/DATE] at [TIME]1383772726[/TIME] ---------------

who can help me with this???

Wajow-community 11-08-2013 11:38 AM

Quote:

Originally Posted by Wajow-community (Post 2458552)
thnx!!

en with color where to set the color code? End Status: like the link for example i give?

can sameone help?

Krusty1231 11-08-2013 08:14 PM

In your postbit legacy find:

Code:

{vb:raw post.onlinestatus}
and place it where you want it.

For exaMPLE:

Find:

Code:

{vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
                        </a>
                        </vb:if>

put the
Code:

{vb:raw post.onlinestatus}
under that.

You might have to play with to find exactly where you want it.

Wajow-community 11-09-2013 12:39 AM

I dont get it like tha forum what i have give link of..

I want with Status: online


All times are GMT. The time now is 04:43 PM.

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.01099 seconds
  • Memory Usage 1,747KB
  • 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
  • (7)bbcode_code_printable
  • (5)bbcode_quote_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