vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to extend the postbit legacy (https://vborg.vbsupport.ru/showthread.php?t=172842)

Treak 03-12-2008 09:31 PM

how to extend the postbit legacy
 
how do you make it so that way the username doesn't wrap when using more then 12 characters? is there a way to extend that and make it longer so my 12 character username doesn't end up like this

Save The
Queen

because my
username on my forum is Save The Queen and it wraps it drops the queen down underneath and i don't want that. i'd like to to flow all the way across

Dismounted 03-13-2008 05:49 AM

In your postbit template, you need to wrap the username variable with no wrap attributes.

Treak 03-13-2008 04:15 PM

lol and how do you do that?

Dismounted 03-15-2008 09:57 AM

Find:
Code:

$post[username]
Add before:
Code:

<span style="white-space: nowrap;">
Add after:
Code:

</span>

Boofo 03-15-2008 10:18 AM

I thought they stopped using the white-space and went to nowrap="nowrap", although I see both of them in the templates.

Dismounted 03-15-2008 10:42 AM

Both work, my way is using CSS and your method is just using HTML attributes. I prefer CSS BTW :p.

Treak 03-19-2008 11:36 PM

hmm didn't work at all.. you're more then welcome to come to my forum and show me how.. because i did it like you said only there is like 32042903 spots that say $post[username]

so which one is the right one?

Dismounted 03-20-2008 10:31 AM

Well, as in my post (first one), I said to edit the postbit (or postbit_legacy, depending on which you use). ;)

Boofo 03-20-2008 10:36 AM

Quote:

Originally Posted by Dismounted (Post 1465285)
Both work, my way is using CSS and your method is just using HTML attributes. I prefer CSS BTW :p.

Which one is vb going to, do you know? They have it both ways in the templates. I agree, CSS is the better way to go.

Dismounted 03-20-2008 10:41 AM

I have no idea which way vBulletin is going (I'm not a dev :p). But most likely they will move to CSS in 4.0, due to pressures from other packages, users and the way the web is moving.


All times are GMT. The time now is 03:17 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.00953 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete