vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Is there a hack for the quote bug? (https://vborg.vbsupport.ru/showthread.php?t=5753)

12-19-2000 08:00 AM

Is there a hack for the quote bug?

Example:
Quote:

Blabla wrote:
Quote:

He wrote:
Quote:

She wrote:
hmmz
aha?
this sucks
See what i mean?

So is there a hack that mabey can limit to 2 quotes deep or something?

I've deeply search throughout this forum, but i couldn't find what i need.

Thnx in advance.

12-19-2000 01:03 PM

its not a bug, its how the html tag 'blockquote' operates. since the quotes are, in fact, just blockquoted text with horizontal rules, they have to follow the same 'guidelines' that blockquote does.

its available to you can nest quotes inside quotes. for instance, if you wanted to say:

Quote:

i like peas. someone once said
Quote:

peas are good
and i would tend to agree
etc. forgive the stupid example, but im not really feeling creative ;)

12-20-2000 07:54 PM

jeah i know, but is there a way, that vbulletin first looks if there's already a quote in $message, and if so, then changes it to for examle [...quote...] instead of the whole quote?
Cuz i've got a board where people do often quote each other.. and after a while someone has about 20 nested quotes in his message.. it's unneccasery(did i spelled that right?) and very bad readable..

12-20-2000 09:48 PM

well im more of a perl coder then php, but i'd run a while loop, while its going through the message, for each [-quote] set $number-of-quotes-in-message (or whatever) +1 - then before continuing, if $numberofquotes == $X, replace [-quote] with whatever. now im not sure how you'd do that in php, sorry, but that would be how i'd attempt it.

edited because im an idiot ;) ([-quote] w/ no -)

12-26-2000 10:27 PM

thnx...

12-27-2000 11:53 PM

There's a hack called backspace :D just delete the extra quotes ;)

12-28-2000 02:52 PM

Quote:

Originally posted by conan
There's a hack called backspace :D just delete the extra quotes ;)
WuW i'm lauching my ass off.. no serious, i can't expect all my users to delete the quotes every time they quote something...


All times are GMT. The time now is 10:47 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.01532 seconds
  • Memory Usage 1,729KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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