Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2004, 08:33 PM
imported_Marcel Lee imported_Marcel Lee is offline
 
Join Date: Sep 2003
Location: www.marcellee.com
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How can I customize the "wrap" in the post-bit information?

When I use the '<td nowrap="nowrap">' command in the template, extended text (for example, extended member replies to the "Location" field) tends to go all the way across the screen and stretch the whole page out; and when I delete that (<td nowrap="nowrap">) command (from the template), the text wraps too soon.

Is there any way for me to tell it to wrap only after a certain amount of characters or space?
Reply With Quote
  #2  
Old 07-18-2004, 02:44 PM
imported_Marcel Lee imported_Marcel Lee is offline
 
Join Date: Sep 2003
Location: www.marcellee.com
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the way, it's not long words I'm talking about. It's long sentences (composed of short words).

See, when I said "extended text" in the first post of this thread, I meant normal sentences that run too long (for example; a member typing "Jane likes to go out to wild dance-clubs at night; but please don't tell her I told you that, because she might beat me up."); not individual words that run too long (for example; a member typing "lolololololololololololololololololololololololol ololololololololololololololol olol" (< without the break).

I just retested it before making this reply; and you can see for yourself by putting a long sentence (composed of normal-lengthed words) in your "Location" field on the official vbulletin community forum (which isn't on Legacy view), then watch how it stretches all the way across to your "big user-name" and also stretches out the whole screen. Then, go to a vb3 board that is on Legacy view, type the same sentence in your "Location" field and watch how it wraps (goes down to the next line) automatically when it reaches the border (instead of just stretching it out).

Also keep in mind that, in order for that test to work, you must have the '<td nowrap="nowrap">' command in the "postbit" template. The problem is that when you don't have that command in there (when you delete it), the sentence then wraps too soon when it isn't on Legacy view; because there is no border to "stop" it or make it wrap automatically after a normal amount of characters (as opposed to too many or too few).

I hope you're understanding all this.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03674 seconds
  • Memory Usage 2,160KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete