vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Code / PHP boxes saga (https://vborg.vbsupport.ru/showthread.php?t=57215)

sabret00the 09-24-2003 06:43 PM

pointed a couple to this this morning so we'll see what happens lol *crosses fingers*

EvilLS1 09-24-2003 10:45 PM

I don't know if anyone else has mentioned this, but for some reason the new code boxes are causing spaces to be inserted in parts of the code.

Here's an example:
https://vborg.vbsupport.ru/showpost....31&postcount=2

If you copy and paste Xenon's code you'll get a database error due to the space in lastpos ter and showsignatu re. I've checked another hack posted with code tags and found the same problem.

Also, since the vb3 upgrade showthread is loading very slow for me (IE 6). I guess its due to all posts being in one table? Sorry if this has already been noted.

Xenon 09-25-2003 06:21 PM

@Evil: hmm seems like a vb3 bug:
http://www.vbulletin.com/forum/showt...469#post536469
as you found out, it's up to you to report it :)

EvilLS1 09-25-2003 07:18 PM

Ok, I reported it @ vb.com. :)

EvilLS1 09-25-2003 11:55 PM

reply @ bugtracker
http://www.vbulletin.com/forum/bugs....view&bugid=861

allan grossman 09-26-2003 11:29 AM

I believe that this won't occur if you use spaces after each comma in that code, rather than stringing it all to one long string that will end up broken in pieces due to the wordwrap.

Good coding == having a space after the comma. Esp. / at least on longer lines of code such as these.

So I would say that this is nothing vB would have to try and fix...


Sorry, but I disagree. If it's broke, fix it ;)

Xenon 09-26-2003 06:26 PM

hmm, if they don't fix it maybe i have to write a thing or two.....

but as my time is so limited these days i hope they'll fix it ;)

EvilLS1 09-26-2003 08:12 PM

Quote:

Good coding == having a space after the comma. Esp. / at least on longer lines of code such as these.
Maybe so, but the broken code that I posted as an example is from a vbulletin file. :D


All times are GMT. The time now is 11:00 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.01166 seconds
  • Memory Usage 1,727KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete