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)

memdy 12-09-2003 12:53 PM

I get this error every time that I try to post. If I press back and then go it will
take.
---------------------------------
Database error in vBulletin 2.2.9:

Invalid SQL: SELECT title FROM thread WHERE threadid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

Date: Monday 08th of December 2003 02:44:09 AM
Script: http://www.offshoreonly.com/forums/forums/newthread.php
Referer:
http://www.offshoreonly.com/forums/n...=newthread&for
umid=56
-----------------------------------
The part of the error that reads Script: is an incorrect URL where is it getting that second /forums from ? Why does it work the on the second try? I'ved edited the newthread.php script and see no error in syntax at line 1, this must be a symptom of the real error. Anyone have any suggestions before I rip this hack out and start over.

spick 01-07-2004 10:09 PM

I Installed It But Its Not Working....Help :(

imageconstrux 01-20-2004 12:46 PM

This is a bit of a side issue, but I thought I'd bring it up. This hack appears to be really handy, and for the vB sites that have it, I use it often. However, if your site generates ad revenues, isn't this a hack that reduces impressions, and opportunities for click-throughs?

It's handy as heck, but seems like it might work against your revenue generation. Just my $.02.

Dan Collins 01-31-2004 09:33 PM

Quote:

Originally Posted by TheCaver
Is it supposed to take forever to do the tpinstall step2? It seems like it just hangs.....

Board is 50k> threads, 450K posts.....

JC

Check the max execution time setting in your php.ini file. IIRC, the default is 30 sec, which could be insufficient for a large-ish database. The effect would be that the script would just end, with no "Installation finished" message.

Adi211 07-26-2004 03:43 PM

one bug in threadpreview-search.txt

12) Replace with:
PHP Code:

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

before fppreview, there is missing a "$"

--->
12) Replace with:
PHP Code:

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



All times are GMT. The time now is 06:19 PM.

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.01219 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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