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)

King Internet 03-11-2006 05:09 PM

i'll probably modify this like hell but thanks ;) saves me from writing my own for sure

one thing i'd like to see maybe in the base version is a javascript timer to wait at least like 20 seconds before they can click the agree button, most people might just breeze through it like the rules at registration.

Quarterbore 03-16-2006 09:03 PM

I got it installed and I am posting here so it is easier for me to find this later... I really needed this one lately!

bada_bing 03-16-2006 10:13 PM

Sounds like a great hack I will keep this in mind

jadkar 03-17-2006 03:09 AM

Did anyone ever figure out or fix why this hack will not work with MySQLi :(

I have this running in DEV with great results but it's not loading in my production environment because I use MySQLi there.

Conversely, does anyone know if I can disable MySQLi while my forum is up and running? Or can this only be enabled/disabled during the install??

If someone can answer my question it would be greatly appreciated :)

Thanks

IrPr 03-19-2006 01:20 AM

SQL ERROR !
when opening http://forum.domain.com/index.php?\
i got this error
caused by \ near quotation mark --> \'
Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM ruleshack
WHERE (fileurl LIKE 'http://forum.domain.com/index.php?\' AND exactmatch = 1 )
OR (fileurl LIKE 'http://forum.domain.com/index.php%' AND exactmatch = 0 ) AND active = 1 ORDER BY ruleid;

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 'http://forum.domain.com/index.php%' AND exactmatch = 0 ) AND active = 1 ORDER' at line 2
Error Number : 1064
Date : Saturday, March 18th 2006 @ 10:19:28 PM
Script : http://forum.domain.com/index.php?\
Referrer :
IP Address : PRIVATE;)
Username : ME!
Classname : vb_database
HOW TO FIX?

rmwebs 03-21-2006 09:06 PM

Does this alow google and other crawlers to be able to see the threads? Otherwise half your content wont get indexed...

kurtbarker 04-09-2006 03:20 PM

easy way to check this is *provided you have it installed* sign out of your forum, go directly to the thread link, and see if you get the rules page, or the content

TheHeartSmasher 04-17-2006 02:45 AM

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM vbruleshack
                        WHERE (fileurl LIKE 'http://www.teamcronus.net/forums/private.php' AND exactmatch = 1 )
                        OR (fileurl LIKE 'http://www.teamcronus.net/forums/private.php%' AND exactmatch = 0 ) AND active = 1 ORDER BY ruleid;

MySQL Error  : Table 'forumsvb.vbruleshack' doesn't exist
Error Number : 1146
Date        : Sunday, April 16th 2006 @ 08:43:45 PM
Script      : http://www.teamcronus.net/forums/private.php
Referrer    : http://www.teamcronus.net/forums/pri...=newpm&pmid=18
IP Address  : 000.000.000.000
Username    : TheHeartSmasher
Classname    : vb_database

I get that error when I installed the product

Rude Awakening 04-22-2006 04:38 PM

Excellent hack. Works perfect for what Im working on. You have no idea how much in need I was for something like this :)

Props!

antialiasis 04-22-2006 11:21 PM

When I try to import it, I get "Importing Product - Please Wait..." and it never seems to finish being imported.


All times are GMT. The time now is 01:17 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.01479 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)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