vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Postbit User Info. and Profile Centering (https://vborg.vbsupport.ru/showthread.php?t=292820)

WorldCraft 01-04-2013 09:35 PM

It doesn't appear to be overlapping for me
https://vborg.vbsupport.ru/external/2013/01/54.png

But if you want to increase the distance between the username and the status icon you can just add &nbsp (a blank space) right before {vb:raw post.onlinestatus} in the template. Like this: &nbsp{vb:raw post.onlinestatus}.

Another way would be to wrap span tags <span>{vb:raw post.onlinestatus}</span> and apply style="padding-left: Xpx;" (or give the span a class and use additional.css). Your choice.

Amaury 01-04-2013 09:43 PM

Quote:

Originally Posted by WorldCraft (Post 2394784)
It doesn't appear to be overlapping for me
https://vborg.vbsupport.ru/external/2013/01/54.png

But if you want to increase the distance between the username and the status icon you can just add &nbsp (a blank space) right before {vb:raw post.onlinestatus} in the template. Like this: &nbsp{vb:raw post.onlinestatus}.

Another way would be to wrap span tags <span>{vb:raw post.onlinestatus}</span> and apply style="padding-left: Xpx;" (or give the span a class and use additional.css). Your choice.

Not on profiles, the postbit user information area in posts.

WorldCraft 01-04-2013 10:16 PM

That is what I screencapped. http://gyazo.com/22cace5c0304d173d02...png?1357344959

Can you show me an example where it doesn't look right?

Amaury 01-05-2013 03:21 AM

Quote:

Originally Posted by WorldCraft (Post 2394790)
That is what I screencapped. http://gyazo.com/22cace5c0304d173d02...png?1357344959

Can you show me an example where it doesn't look right?

With the glow of the green from the status circle because of the dark background, it makes it appear too close to the username.

WorldCraft 01-05-2013 06:53 AM

Have you tried the suggestion I gave above? It applies to the postbit template.

Amaury 01-05-2013 05:57 PM

Quote:

Originally Posted by WorldCraft (Post 2394847)
Have you tried the suggestion I gave above? It applies to the postbit template.

Actually, now that I think about it, it's hardly noticeable. I only noticed it because I was really looking at it at the time because I thought I noticed something else. =/

However, I do have another question for future reference: in the event that I ever want to do this, is it possible to turn the status circle into text in both the postbit and profiles?

Currently, the status circle works like this:
  • Green = User is online
  • White = User is offline
  • Yellow-Orange = User is invisible
    - Only for staff. White for non-staff.
If what I'm asking is possible, I would probably have it be like this, but instead of to the right of the username, have it be below:
  • Status: Online
  • Status: Offline
  • Status: Invisible or Status: Online, Invisible

WorldCraft 01-06-2013 09:54 PM

You would edit the postbit_onlinestatus template. And instead of serving images, you would replace them with colored text like <span style="color:red">Offline</span>, <span style="color:green">Online</span>, etc

Amaury 01-06-2013 10:09 PM

Quote:

Originally Posted by WorldCraft (Post 2395158)
You would edit the postbit_onlinestatus template. And instead of serving images, you would replace them with colored text like <span style="color:red">Offline</span>, <span style="color:green">Online</span>, etc

Okay, thank you. :)


All times are GMT. The time now is 05:28 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.02022 seconds
  • Memory Usage 1,736KB
  • 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_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
  • (8)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