vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Code & PHP Boxes - Stop them from scrolling right... (https://vborg.vbsupport.ru/showthread.php?t=38536)

Chris M 05-11-2002 09:33 PM

Code & PHP Boxes - Stop them from scrolling right...
 
How would this be done?

Satan

Admin 05-12-2002 09:35 AM

Remove <pre> from them. But it beats the purpose of CODE boxes...

Boofo 05-12-2002 03:16 PM

Why would it beat the purpose of code boxes? I do most of my coding and hacking through Notepad and I usually use have "word wrap" turned on. For us that do it that way, wouldn't it actually be EASIER to read the code if it wasn't wrapped? :)

Admin 05-12-2002 05:31 PM

If you are used to reading wrapped code, it won't matter. But personally I can't read wrapped code without line markers, so I can know and see exactly where one line ends, and another line starts.

Boofo 05-12-2002 06:02 PM

I guess it's all what you are used to. :) I'm so new at this, that I don't do alot of code writing yet. Maybe I will feel the same way about it as you do as I learn more.

To make it stop wrapping, you said something about leaving the <pre> out or something. Do I need to set that somewhere or something?

Admin 05-12-2002 06:11 PM

Yeah edit functions.php, search for [minicode]<pre>[/minicode] and you'll see what I'm talking about.

Chris M 05-12-2002 07:19 PM

Cool Thanks FF...

Satan

Boofo 05-12-2002 08:07 PM

Ok, I ventured, I saw. :) Do I just remove all of the <pre> parts in the functions.php or do I need to leave some of them there to get the code: to wrap? Removing all of them won't screw anything up will it?


All times are GMT. The time now is 11:42 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.00978 seconds
  • Memory Usage 1,714KB
  • 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
  • (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