![]() |
Just by installing the product I got this error in the whole forum:
Fatal error: Cannot redeclare check_rulesneeded() (previously declared in /home/xxxx/public_html/xxxxx/global.php(503) : eval()'d code:80) in /home/xxxxxx/public_html/xxxxxx/global.php(503) : eval()'d code on line 548 PLUS, i got this error message on my email: Database error in vBulletin 3.5.4: Invalid SQL: SELECT * FROM vbnewruleshack WHERE (fileurl LIKE 'http://www.xxxxxxx.net/xxxxxx/member.php?s=&u=10538' AND exactmatch = 1 ) OR (fileurl LIKE 'http://www.xxxxxx.net/xxxxxxx/member.php%' AND exactmatch = 0 ) AND active = 1 ORDER BY ruleid; MySQL Error : Table 'XXXX.vbnewruleshack' doesn't exist Error Number : 1146 Date : Thursday, June 1st 2006 @ 12:25:58 PM Script : http://www.xxxxxxxxx.net/xxxx/member.php?s=&u=10538 I'm running 3.5.4, any ideas??? |
This is a Great Hack!
Thank you very much m8 |
Quote:
|
is there way or script to see who agreed for the rule in individual page ?
|
Quote:
|
Will it work in the Future with vBulletin 3.6 ?
|
Code:
Database error in vBulletin 3.5.4: Do you have a sql statment that I can use to create the table, or if anyone has one please post it.for the vbruleshack table. I see two versions this one and a version 1.1.1 that always comes back even after I uninstall. |
Quote:
Anybody? |
Strange new error on my website.... Trying to figure out is this mod is related...
Today I reformated my forums so that all my forums are now children under one form and the main reason I did this was to allow me to use this rules hack on all of my forums when I update my Code Of Conduct.... Well, I made the change this morning and I created a new rule for my "Updated Code" and I applied it to my new parent forum and all children (ALL FORUMS ON MY WEBSITE). Well, after doing this I have got more then a few complaints about the following error: Fatal error: Call to undefined function: preg_replace() in /home/MYSERVER/public_html/includes/class_core.php on line 1871 Following is the code from the includes file: PHP Code:
I have tried to reproduce the error on my computers with no luck but I have heard from half a dozen people that have had issues... Several of those are on AOL of all places so who knows... |
doesnt work for me. doesnt pull up any type of rules page when the selected area is reached.
|
Quote:
|
Quote:
Im getting this SQL error Code:
Database error in vBulletin 3.5.4: |
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.
|
Great Modification, works perfectly. Thank you for making it.
|
Quote:
|
is there a guide on how to use it like setting up a rule?
|
Quote:
Quote:
|
Quote:
|
Quote:
|
what does this step mean?
Step 4. Import product-rulesagreement.xml |
Quote:
This is a great hack, easy to install and works great! Testeted. Clicks Install:) |
Question: I have just one forun where I enabled this (installed version 1.1.5). Altough I have it to show only for Full Members, all my moderators, supermods and me (only admin on primary usergroup, no secondary usergroup) have to agree with the rule. Why?
|
Originally Posted by uae
if you are talking about the Rule's Page URL field which is just under the rule's text field in the Add New Rule Page in ADMINCP, that would be the url to the rules and agreement page you've got already, if there was one, filling this field with a url will have the rules listed in the member profile page whenever they submit to agree on that rules.. Where do I find the URL to insert, im confused on this step. |
Will this be updated for vb 3.6 ?
|
I'm having trouble with the profile of a user:
Database error in vBulletin 3.5.4: Invalid SQL: SELECT * from theprefixofthedb_ruleshack WHERE ruleid in (5,3,2,) AND ruleurl <> ''; 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 ruleurl <> ''' at line 2 Error Number : 1064 Date : Monday, July 24th 2006 @ 12:31:28 PM Script : http://www.mundopoesia.com/foros/member.php?u=3874 Referrer : http://www.mundopoesia.com/foros/private.php? IP Address : Username : Classname : vb_database The other profiles work well. |
DUDE this hack is insane and works like a charm can you for your nex instalment add a mod to it where you can RESTRICT users under 18 from accessing certain forums and or Subforums?
i have a NWS or Not Work Safe subforum in my offtopic section and i want only those that are 18 and up to be able to view it according to the rules.. you can't set permissions based on age in vBulletin but maybe your hack can include that? to where they cannot view the rules cause they are not 18 so they won't see the rules... so they cannot enter that section of the forum cause they cannot agree.. its kinda like setting permissions thru your rules without editing anyone users permissions on the actual forum it self does this make sense? |
What's to stop someone from just lying about their age? Which, to access NWS forums, they most certainly will. Seems kind of pointless to me.
|
Quote:
|
Quote:
this is the easiest way to do this! go to the section you plan on posting this user agreement for .. for example.. lets say you have like i have a Not Work Safe Section in your Forum and you want to Set Rules and User Agreements for members so that way when they first VIEW! that NWS forum they have to agree to the rules or else they cannot view that section! GO TO YOUR NWS OR WHATEVER FORUM YOU WANT THE RULES FOR! MAKE A NEW STICKY THREAD! and name it NWS RULES! or whatever your forum name happens to be. after you have laid out your rules in that thread.. close that thread so no one else can post there.. just all they can do is view those rules.. k now click on that thread so you can see your post... copy that URL from your browser and INSERT THAT LINK INTO THE URL AT THE TOP OF THE NEW RULE! WHERE IT ASKS YOU FOR THE URL FOR THE RULES PAGE! now! when they view it and agree to it! and you view their PROFILE you will see they agreed to the NWS forum rules! and now when you click on that link that says NWS FORUM RULES! it takes you right to the RULES you POSTED! inside the NWS Forum! you can use the same rules you just posted.. VIA COPY AND PASTE! and paste them into the New Rule your making for that forum! so!! this is the effect you get!! When the User now goes to view the NWS Section of your board they get the rules that THEY MUST AGREE TO! before they can view the forums there! once they click agree they are taken to the NWS forum now! inside the forum you have your sticky thread up top that has the NWS rules! so the link in their user profile that says they agreed to NWS rules ! THAT LINK WILL TAKE YOU TO YOUR STUCK THREAD THAT HAS YOUR RULES IN IT!!! hope that clarified alot for you guys.. if not i suck at life and please delete my post lol |
It will be nice if i can check different Sections/Forums to pull the Users to a Rule.
|
How do I edit the text in the user agreement?
|
Quote:
It would be great if this modification could be combined with the Rules Hack for vBulletin 3.5.x by Hasann modification. nudge, nudge. |
Quote:
Hi, While there is nothing to stop anyone from lieing about their age you can protect yourself (your site) by using a few 'tricks', like adding the modification Age Lock is an all-in-one Forum locking facillity that works off the users age instead of there permissions. It gives you the abillity to keep those Under 18's out of your adult sections and by enabling the COPPA and thorough a modification to the register.php line 99 to reflect only allowing those who say they are 18 or over to access the site: Code:
if ($vbulletin->GPC['year'] < ($current['year'] - 18) OR ($vbulletin->GPC['year'] == ($current['year'] - 18) AND $vbulletin->GPC['month'] <= $current['month'])) |
great hack,
but the font size rules is too small . how can I increase it |
Quote:
|
Quote:
but where you put this in the code? :surprised: |
I've installed this hack, and it works fine for the forums, but I can't get it to function with Private.php (PMs)
I'm using the format http://mydomain.com/forum/private.php (and every variation, including www, etc) but no luck. Any ideas? |
Quote:
|
Is this going to be released for vB 3.6, or is someone working on something similar?
|
My webhost recently upgraded our version of mySQL to 5.0.21
Ever since then I have been getting the following error email: Quote:
None of my rules reset themselves, is it safe to just turn off the cron? |
All times are GMT. The time now is 07:48 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|