Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 10-05-2013, 10:56 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I didn't see is was a quote, it just looked like a bunch of blank space to me between the text and the signature.
Reply With Quote
  #12  
Old 10-07-2013, 12:27 PM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Sorry, I didn't see is was a quote, it just looked like a bunch of blank space to me between the text and the signature.

Hi Lynne, actually this issue is still there, i need to set the a fix width for bbcode of php, html, code.

I remember on vb 3.7.x it was simple but i cant remember which to edit.

http://s2.ipicture.ru/uploads/20131007/7T25811z.jpg
Reply With Quote
  #13  
Old 10-07-2013, 05:20 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In order to fix CSS, we need a link to the actual post. An image doesn't allow us to view the CSS.
Reply With Quote
  #14  
Old 10-11-2013, 06:37 AM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne, here is a link http://forum.nihonomaru.com/finished...bluray.343960/

See the long a url in the bbcode code the longer it will stretch out, i need to set the width for bbcode code for example to fix this issue. making the width may be 750 px

I did it with vb 3.7.6 but that was long time ago, i can't remember what did i change.
-------------

This was based on vb 3.7.x template of bbcode_code

PHP Code:
<div style="margin:20px; margin-top:5px">

    <
div class="smallfont" style="margin-bottom:2px"><b>$vbphrase[code]:</b> <a href="#" onclick="selectCode(this); return false;"><input type="button" value="Select All" style="border: 1px solid #B8B8B8; background: #E8E8E8; color: #999999; -moz-border-radius: 6px;     font-family: Tahoma;     font-size: 9px;" /></a></div



    <
pre class="alt2" dir="ltr" style="
        margin: 0px;
        padding: 
$stylevar[cellpadding]px;
        border: 1px inset;
        width: 
$stylevar[codeblockwidth];
        height: 
{$blockheight}px;
        text-align: left;
        overflow: auto"
>$code</pre>
</
div
Now this is the template for vb 4.2.1 and it is the same for the default vb skin, all bbcode and css of bbcode are the same.

PHP Code:
<div class="bbcode_container">
    <
div class="bbcode_description">{vb:rawphrase code}:</div>
    <
pre class="bbcode_code"<vb:if condition="$vboptions['codemaxlines']">style="height:<vb:if condition="$blockheight<$vboptions['codemaxlines']">{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}*2}<vb:else />{vb:math {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar mid_fontSize}}</vb:if>;"</vb:if>>{vb:raw code}</pre>
</
div

It is actually done and fixed here too on vbulletin.org since the txt does not stretch the border, you can scroll left and right.
Reply With Quote
  #15  
Old 10-11-2013, 08:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add to additional.css something like:

HTML Code:
.bbcode_container {width: 500px;}
change actual width to what you want.
Reply With Quote
  #16  
Old 10-12-2013, 12:50 PM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! (: this works!

P.s.

Hi Lynne,

If i only want to apply this change to bbcode_code, bbcode_html and bbcode_php only, how can i do that?

I don't want to apply it in general because it does mess up the style for the bbcode_quote, which makes it i have to scroll left and right.

So i only want to apply the change to code, php, html. How can i do that?

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

Or a better way to auto fit the page automatically

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

I did this, i think it works? additional css

.bbcode_code {
width: 650px;
}

.bbcode_html {
width: 650px;
}

.bbcode_php {
width: 650px;
}
Reply With Quote
Благодарность от:
Lynne
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 06:21 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.06474 seconds
  • Memory Usage 2,229KB
  • 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)bbcode_html
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete