vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Improved Thread Preview Hack (https://vborg.vbsupport.ru/showthread.php?t=35645)

freakyshiat 04-25-2002 01:50 AM

Thread preview doesnt work if the user puts a'[' and ']' at the beginning/end of the post. Any workaround?

N!ck 04-25-2002 02:19 AM

you'll have to get rid of the part that strips vBcodes...still wanna do it?

freakyshiat 04-25-2002 02:42 AM

Quote:

Originally posted by nicksaunders
you'll have to get rid of the part that strips vBcodes...still wanna do it?
any drawbacks?

N!ck 04-25-2002 01:47 PM

well, not really, but the vBcodes will show in the preview, for instance, you might see:

Quote:


[ quote ]
blah blah blah
[ /quote ]

i agree [ i ]wholeheartedly[ /i ]

in the preview

freakyshiat 04-26-2002 12:15 AM

Quote:

Originally posted by nicksaunders
well, not really, but the vBcodes will show in the preview, for instance, you might see:



in the preview

is that too hard where instead of saying to ignore all '[' and ']', have the code ignore https://vborg.vbsupport.ru/[/url][/url] and so on?

N!ck 04-27-2002 03:08 AM

well you'll have to edit the file every time you add a vBcode is all

freakyshiat 04-27-2002 05:16 PM

Quote:

Originally posted by nicksaunders
well you'll have to edit the file every time you add a vBcode is all
thats fine...if you could redo it with just [i m g] and [/i m g] for now, ill add the other codes in there myself....thanks for your help

TECK 04-28-2002 04:59 PM

what if i do this on a clean install.. there is no need to run step 3 in the install file, correct? only to modify the tables.

inetd 04-28-2002 08:02 PM

I don't see preview in search. help me.

P.S. I change fppreview in
Code:

<a href="showthread.php?s=$session[sessionhash]&threadid=$searchresult[threadid]$highlightwords" title="fppreview">$searchresult[threadtitle]</a>
, $fppreview

inetd 04-28-2002 08:05 PM

please edit vbHacker version. When I run this version, i see blank page forumdisplay and search...


All times are GMT. The time now is 06:33 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.01234 seconds
  • Memory Usage 1,733KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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