vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Rules and User Agreement Hack (https://vborg.vbsupport.ru/showthread.php?t=97699)

Bubble #5 06-22-2006 02:44 AM

Quote:

Originally Posted by redlabour
Will it work in the Future with vBulletin 3.6 ?

Does anyone know if it's safe to install this in 3.6.2? :confused:

COBRAws 06-27-2006 08:51 PM

Quote:

Originally Posted by Bubble #5
Does anyone know if it's safe to install this in 3.6.2? :confused:

3.6.2 doesnt exist.


Im getting this SQL error

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO ruleshack
                                    (forumid, ruletitle, ruletext, ruleurl, firstnewthread, groupids, memberids, userids,
                                    usernames, postmore, postless, joindateafter, joindatebefore,
                                    lastactiveafter, lastactivebefore, lastpostafter, lastpostbefore,
                                conditions, allowbbcode, active, repeat, childforum, newthread, newreply, viewforum, fileurl, exactmatch)
                                    values ('58', 'Seccion Pedidos', 'texto de regla', 'http://xxxxxxxxx/forumdisplay.php?f=58', '1',
                                    '4,6,15,3,1,14,7,2,18,17,19,12,10,5,8', '', '', '', '0',
                                    '0', UNIX_TIMESTAMP(''),
                                    UNIX_TIMESTAMP(''), UNIX_TIMESTAMP(''),
                                    UNIX_TIMESTAMP(''), UNIX_TIMESTAMP(''),
                                    UNIX_TIMESTAMP(''), '0', '1', '1', '0', '0', '1', '1', '0', '',
                                    '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 'repeat, childforum, newthread, newreply, viewforum, fileurl, exactmatch)
                    ' at line 5
Error Number : 1064
Date        : Tuesday, June 27th 2006 @ 06:54:16 PM
Script      : http://xxxxxxxxx/admincp/rulesagreement.php
Referrer    : http://xxxxxxxxx/admincp/rulesagreement.php?do=rule
IP Address  : xxxxxxxxx
Username    : xxxxxxxxx
Classname    : vB_Database_MySQLi


shoupz 07-01-2006 10:13 AM

great hack, i got it working but it doesnt show up in the profile after i did the templete edit, but still great hack! cheers.

Blue-Inc 07-01-2006 01:05 PM

Great Modification, works perfectly. Thank you for making it.

COBRAws 07-01-2006 04:36 PM

Quote:

Originally Posted by Blue-Inc
Great Modification, works perfectly. Thank you for making it.

You guys using MySQL 4 or 5?

Brian31fl 07-02-2006 12:36 AM

is there a guide on how to use it like setting up a rule?

Blue-Inc 07-02-2006 09:11 AM

Quote:

Originally Posted by COBRAws
You guys using MySQL 4 or 5?

MyQSL 4 ;)

Quote:

Originally Posted by Brian31fl
is there a guide on how to use it like setting up a rule?

Look at the screen shot(s).

Brian31fl 07-02-2006 06:15 PM

Quote:

Originally Posted by Blue-Inc
MyQSL 4 ;)



Look at the screen shot(s).

that still doesnt show ecatly what to fill in and explain how it used

COBRAws 07-06-2006 01:31 AM

Quote:

Originally Posted by Blue-Inc
MyQSL 4 ;)

I supposed. I use MySQL 5 and this hack doesnt work.

Ugga Bugga 07-07-2006 12:28 PM

what does this step mean?

Step 4. Import product-rulesagreement.xml


All times are GMT. The time now is 11:02 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.01275 seconds
  • Memory Usage 1,743KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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