vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=93970)

Puntoboy 01-23-2006 12:14 PM

i seem to be getting a database error with this hack

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT * FROM vb3_forumpermission
        WHERE ( forumid IN() AND usergroupid IN (1)) AND
        (maxthread=0 AND perhour=0);

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND usergroupid IN (1)) AND
        (maxthread=0 AND perhour=0)' a
Error Number : 1064
Date        : Monday, January 23rd 2006 @ 01:51:46 PM
Script      : http://www.puntosports.co.uk/forums/newthread.php?do=Application
Referrer    : http://www.puntosports.co.uk/club_join.htm
IP Address  : 82.37.156.173
Username    : Unregistered
Classname    : vb_database


D.Ilyin 01-24-2006 01:30 PM

Quote:

Originally Posted by Puntoboy
i seem to be getting a database error with this hack

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT * FROM vb3_forumpermission
        WHERE ( forumid IN() AND usergroupid IN (1)) AND
        (maxthread=0 AND perhour=0);

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND usergroupid IN (1)) AND
        (maxthread=0 AND perhour=0)' a
Error Number : 1064
Date        : Monday, January 23rd 2006 @ 01:51:46 PM
Script      : http://www.puntosports.co.uk/forums/newthread.php?do=Application
Referrer    : http://www.puntosports.co.uk/club_join.htm
IP Address  : 82.37.156.173
Username    : Unregistered
Classname    : vb_database


What have you did with it? :)
Cause last version works fine for guests :)

BaconDelight 01-24-2006 02:28 PM

I remember reading in the 3.0x version of this hack that the resulting posts were not indexed for search. Is that no longer an issue in 3.5x?

BaconDelight 01-24-2006 05:24 PM

Okay, I've installed this on a test board and it works great (and yes, the resulting posts are searchable.

I just have one question. I'd like some more detailed formatting from the forumanswers template, but if I try adding bbcode to the template, I get a parse error. How can I get that kind of formatting? For example, the way it is now, the thread comes out like this:

What is the meaning of life?
The answer is 42.

whereas I'd like it to look like this:

What is the meaning of life?
The answer is 42.

D.Ilyin 01-25-2006 06:09 AM

Quote:

Originally Posted by BaconDelight
Okay, I've installed this on a test board and it works great (and yes, the resulting posts are searchable.

I just have one question. I'd like some more detailed formatting from the forumanswers template, but if I try adding bbcode to the template, I get a parse error. How can I get that kind of formatting? For example, the way it is now, the thread comes out like this:

What is the meaning of life?
The answer is 42.

whereas I'd like it to look like this:

What is the meaning of life?
The answer is 42.

Try to add spaces before and after variables used in formanswer template.
I wrote about that some pages ago in this thread.

BaconDelight 01-25-2006 01:48 PM

Quote:

Originally Posted by D.Ilyin
Try to add spaces before and after variables used in formanswer template.
I wrote about that some pages ago in this thread.

Thanks, I actually got it working yesterday. I think some colons were screwing it up.

gyankow 01-25-2006 07:49 PM

Will this work in 3.5.3?

Abe1 01-25-2006 11:02 PM

Quote:

Originally Posted by gyankow
Will this work in 3.5.3?

Yes.

D.Ilyin 01-26-2006 04:27 AM

Quote:

Originally Posted by Abe1
Yes.

Abe1 i'm sory, but could you answer on my question?
I added massive and additional REQUEST, another one template for circle with massive, but still can't make it work all together :(.

Abe1 01-26-2006 12:18 PM

Quote:

Originally Posted by D.Ilyin
Abe1 i'm sory, but could you answer on my question?
I added massive and additional REQUEST, another one template for circle with massive, but still can't make it work all together :(.

I'll have to see how I have the code.


All times are GMT. The time now is 08:18 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.02110 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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