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)

Simplicity 01-05-2006 09:15 PM

Im using vb 3.5.3 and get the following error when trying to import the product xml.

Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:
INSERT INTO cron (weekday, day, hour, minute, filename, loglevel, title )
VALUES (-1, -1, 0, 'a:1:{i:0;i:-1;}', './includes/cron/cron_ruleshack.php', 1,
'Rules and User Agreement Hack Reset');

MySQL Error : Table 'vbsd.cron' doesn't exist
Error Number : 1146
Date : Thursday, January 5th 2006 @ 11:11:05 PM
Script : http://www.mydomain/alpha/forum/admincp/plugin.php
Referrer : http://www.mydomain/alpha/forum/admi...?do=productadd
IP Address : #hidden#
Username : #hidden#
Classname : vB_Database
I see that I am missing a table, is this something vbulletin is supposed to create on installation or do I need to manually create the table?

moonclamp 01-09-2006 01:14 AM

Just want to clarify something before I start.

Down the bottom of the admin page it has an option of applying the rule on "first time posting a thread" and on a "new reply"

Does this mean that the rule will have to be agreed for every single reply or just the first reply in that forum?

If all those boxes were ticked (ie viewing, thread posting, replying) would the user have to agree to the same rules repeatedly for every single action?

IrPr 01-12-2006 10:34 PM

Quote:

Originally Posted by Simplicity
Im using vb 3.5.3 and get the following error when trying to import the product xml.



I see that I am missing a table, is this something vbulletin is supposed to create on installation or do I need to manually create the table?

works fine on 3.5.3 for me

seems u must add db prefix manually, but i donno how

blackpudding 01-14-2006 10:55 PM

help - this was working for the first few days but now it is showing every time a user clicks on a message.

it is set for When Viewing Forum, set to reset every 12 hours but everyone, including me, is having to agree every page view.

any ideas?

thanks

Developer 01-16-2006 09:40 AM

installed

2fast4ya 01-17-2006 07:59 PM

its not showing up on the memberinfo page... why?

exnor 01-18-2006 11:20 AM

This hack doesn't work with MySQLi...

When importing the product XML:

Fatal error: Cannot use object of type mysqli_result as array in /my/webroot/admincp/plugin.php(1239) : eval()'d code on line 35

2fast4ya 01-18-2006 10:30 PM

Quote:

Originally Posted by 2fast4ya
its not showing up on the memberinfo page... why?

help please :(

kurtbarker 01-22-2006 03:08 AM

hey guyz, just a couple of questions... i've installed it and no problems yet, but I am yet to use it. I just need clarification of a couple of things.

Include Child Forums < Does this mean the rule will cover the child forums automatically, or does this mean it asks the user to approve the rule in the child forums as well

First Time Posting a Thread in this Forum > Does this apply to users that haven't posted in the forum at all, or to all users that haven't posted in a forum SINCE the implementation of the rule mod

New Thread Posting > Does this rule get asked everytime you create a new thread, or only once.

New Reply Posting > Does this rule come up on every reply, or only once per forum?

When Viewing Forum > I asume this only comes up once per forum

Sorry for all the questions guyz but it seems that if you do the wrong thing you could bombard your users with rule acceptance screens.

If I leave the User or Usergroups to send to [blank], will it send to everyone?

Last thing: Rule's Page URL > what goes in here... I asume the actual rule goes in the "Rule's Text", so does the forum or thread link relating to the rule go in here?

Thanks guyz,
Kurt

Dreamchaser 01-22-2006 05:19 AM

Installed in vB 3.5.3 and works great! Clicked Install :)!!


All times are GMT. The time now is 05: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.01325 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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