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)

ozzy47 11-09-2013 12:44 AM

Use the code I provided and add Status: before the other text, Online, Ofline Invisible.

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

Quote:

Originally Posted by ozzy47 (Post 2459239)
Use the code I provided and add Status: before the other text, Online, Ofline Invisible.

Yess butt its nearly to offline like this

Status:Online

I want Status: Online


Just like how you see it on the site forum that i have gived

Look pleasse at: http://forums.hababam.nl/showthread....21#post6954721 then you see what i mean.

ozzy47 11-09-2013 12:54 AM

Paste the code you added to the template please.

Wajow-community 11-09-2013 01:04 AM

Quote:

Originally Posted by ozzy47 (Post 2459246)
Paste the code you added to the template please.

I have do that, butt it's show like here nearly the nickname online

I want it in the userinfo_extra:

Status: Online/offline/inviseble
Joined: 09-11-2013


etc..

ozzy47 11-09-2013 01:09 AM

Then I think you are looking for a mod, not just what you originally asked for, https://vborg.vbsupport.ru/showthrea...hlight=postbit

Wajow-community 11-09-2013 01:18 AM

Quote:

Originally Posted by ozzy47 (Post 2459249)
Then I think you are looking for a mod, not just what you originally asked for, https://vborg.vbsupport.ru/showthrea...hlight=postbit

No thats not what i search its change the info in showthread.

ozzy47 11-09-2013 01:40 AM

Well you have managed to completely confuse me. I answered your original question, have provided you with a link to make the postbit look like the link you posted.

Maybe someone else can figure out exactly what it is you want, or possibly if you could post a mockup in photoshop of how you want it to look on your site.

Wajow-community 11-09-2013 01:59 AM

Quote:

Originally Posted by ozzy47 (Post 2459261)
Well you have managed to completely confuse me. I answered your original question, have provided you with a link to make the postbit look like the link you posted.

Maybe someone else can figure out exactly what it is you want, or possibly if you could post a mockup in photoshop of how you want it to look on your site.

It's actually quite simple for scripters what I want. I use a standard style vbulletin 4.2.1.

I would like the forum I just gave the left of the:

Status: Online / offline under the avatar above the message counter t forum

So just the bit of text: Status: few spaces such as:

Joined date: 09-11-2013

with next line in green color or red status please visit: http://forums.hababam.nl/showthread....0682&p=6954085 # post6954085 then you will see clearly Status: online

Then you see the status what I mean and hope someone finally understands this.

ozzy47 11-09-2013 02:04 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"><span style="color: green;">Status: Offline</span>
<vb:elseif condition="$onlinestatus==1" /><span style="color: red;">Status: Online</span>
<vb:elseif condition="$onlinestatus==2" /><span style="color: orange;">Status: Invisible</span></vb:if>

The above will give you the text you want. To move it, follow what Krusty said.

quote=Krusty1231;2459187]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.[/quote]

Wajow-community 11-09-2013 02:09 AM

Quote:

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

Code:

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

The above will give you the text you want. To move it, follow what Krusty said.

quote=Krusty1231;2459187]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.

[/QUOTE]

Eg Member since: and the few spaces organized?

Quote:

{vb:raw post.onlinestatus}
need a script text before and after because I have tried to post it but can not get it as the site forum that I gave as an example


All times are GMT. The time now is 01:10 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.01241 seconds
  • Memory Usage 1,749KB
  • 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
  • (8)bbcode_code_printable
  • (6)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