vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Blanks Space (https://vborg.vbsupport.ru/showthread.php?t=112969)

imported_infitech 04-14-2006 01:32 AM

Blanks Space
 
1 Attachment(s)
Does anybody know why there is a large blank space at the end of all my code ? what could this be? see the screenshot.

SHANE-D-PAIN 04-19-2006 08:10 AM

Did you hit enter too many times? Or maybe the template code for your PHP BBCODE has a massive bottom padding.

Post the Source code. ;)

Cant tell from a picture.

imported_infitech 04-19-2006 08:55 AM

bbcode

[CODE]<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">$vbphrase
Code:

:</div>
    <pre class="codebit" style="margin:0px; padding:$stylevar[cellpadding]px; width:$stylevar[codeblockwidth]; height:{$blockheight}px; overflow:auto"><div dir="ltr" style="text-align:left;">$code</div></pre>
</div>


bbcode_html


HTML Code:

<div style="margin:20px; margin-top:5px">
    <div class="smallfont" style="margin-bottom:2px">$vbphrase[html_code]:</div>
    <pre class="codebit" style="margin:0px; padding:$stylevar[cellpadding]px; width:$stylevar[codeblockwidth]; height:{$blockheight}px; overflow:auto"><div dir="ltr" style="text-align:left;">$code</div></pre>
</div>


bbcode_php

Code:


<div style="margin:20px; margin-top:5px">
    <div class="smallfont" style="margin-bottom:2px">$vbphrase[php_code]:</div>
    <div class="codebit" style="margin:0px; padding:$stylevar[cellpadding]px; width:$stylevar[codeblockwidth]; height:{$blockheight}px; overflow:auto">
        <code style="white-space:nowrap">
        <div dir="ltr" style="text-align:left; font-size: 12px; font-family: verdana, Helvetica, Arial, sans-serif;">
            <!-- php buffer start -->$code<!-- php buffer end -->
        </div>
        </code>
    </div>
</div>


imported_infitech 04-20-2006 02:45 PM

I thought this might have been a pretty simple thing to fix for some of the coders ou tthere. Can anyone help here?

Yet another ignored post on VBulletin.org......

Zachery 04-20-2006 03:11 PM

Did you check your $blockheight? setting?

Of course I can't view your sites threads where such code would exsist to tell you why your code tags are so large. So again, you aren't helping us help you.

imported_infitech 04-20-2006 04:25 PM

Where i sthe $blockheight setting? Why cant you view my site's threads?


Code:

        // fetch height of block element
        $blockheight = fetch_block_height($code);

        eval('$html = "' . fetch_template('bbcode_code') . '";');
        return $html;
}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~``


Code:

        // fetch height of block element
        $blockheight = fetch_block_height($code);

        eval('$html = "' . fetch_template('bbcode_html') . '";');
        return $html;
}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Code:

// remove htmlspecialchars'd bits and excess spacing
        $code = trim(str_replace($codefind1, $codereplace1, $code));
        $blockheight = fetch_block_height($code); // fetch height of block element
        $code = str_replace($codefind2, $codereplace2, $code); // finish replacements


That is what i see in the functions_bbcode file? is there something i shoul ddo there?

Zachery 04-20-2006 05:29 PM

Because I do not wish to register at your site. Which I'd need to do to view threads, and I'm not willing to go that far./

imported_infitech 04-20-2006 08:06 PM

Quote:

Originally Posted by Zachery
Because I do not wish to register at your site. Which I'd need to do to view threads, and I'm not willing to go that far./

I see. I wasnt even thinking about that. Well no need. Thanks anyway. I'm sure i can figure it ou tin time.

Like so many of the other issues ive asked for support on the forums about. I appreciate it because im learning more abou tthe software as i have to learn for myself.


All times are GMT. The time now is 05:20 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.01941 seconds
  • Memory Usage 1,731KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete