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)
-   -   Prefix for closed threads (https://vborg.vbsupport.ru/showthread.php?t=38583)

Xelation 07-03-2002 04:18 PM

the query didnt work for me, any ideas? I get this error when I add it

SQL-query :

$DB_site->query("INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorde r) VALUES (NULL,9,'Prefix for closed threads.','closethreadprefix','Closed Thread: ','Prefix to append to the beginning of closed thread titles. (You may use HTML)','','11')")

MySQL said:

You have an error in your SQL syntax near '$DB_site->query("INSERT INTO setting (settingid,settinggroupid,title,varname,val' at line 1

Scrub 07-03-2002 09:11 PM

The query does not work for some reason. I do not know what is causing it. USe the second option to do what the query is supposed to do. The one about where you have to head over to setting.php and add a field. :p

Automated 12-11-2002 06:17 PM

worked well for me! Thanks

#01 12-17-2002 10:57 AM

Umm.. am I missing something? Looks like the attachment is only an addon for this hack. Where is the original hack at?

SpeedStreet 12-23-2002 05:33 PM

I'm not seeing it either....There is no query or anything here.

Looks like I will have to pull apart my code and do this myself.

vetrivex 01-08-2003 10:38 PM

what do I put here.... Code to generate option:
It doesn't say in the hack thingy O_o

vetrivex 01-08-2003 10:43 PM

nvm, but I do get the query error, and WHERE IS the original hack? this just seems an upgrade O_o


All times are GMT. The time now is 06:13 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.01004 seconds
  • Memory Usage 1,721KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete