![]() |
Quote:
works great on my site and the mods LOVE it! our off-topic section was really getting out of hand and people were just claiming they didn't know about the rules. is there a query that i could run in case i wanna make it so that everyone has to re-agree to the rules in case i change them etc? |
There's a query you can use if you only have one forum that requires a contract. But, if you have more than one, you're going to need a script.
|
Do they only sign the contract only once, or every time they post in the forum?
|
Once.
|
i like it alot. would be cool if you could define which page to put in on :)
|
Having issues with new thread redirects just going back to forum/index.php - and having multiple forums with a contract nets this db error...
Database error in vBulletin 3.5.0 Release Candidate 2: Invalid SQL: UPDATE user SET contracts = 50,45 WHERE userid = 3143; MySQL Error : You have an error in your SQL syntax near '45 WHERE userid = 3143 ' at line 3 Error Number : 1064 I've eliminated every other modification to try and isolate this - does this fix apply to the current version? As that seems to eliminate that issue, but still trying to understand why the redirects aren't working. |
I think there is a phrase that was overlooked in the instructions. There is only two phrases that it says to turn into global phrases.
|
The other phrases are installed by the product.
|
Quote:
Amy |
Is there a log file or something for when users accept the contract.
|
No. Feel free to add that in if you so desire.
|
i have no idea where to start for adding a log file. Is there a coder here who can add it?
|
Quote:
|
It seemed to work fine, until I added a contract to a new forum, and tried to sign it, and got this error.
Quote:
|
Bunny, get the new zip. I was sure I had fixed that in the zip file, but I guess I didn't.
Reupload contracts.php and tickets.php Amy |
Quote:
|
Quote:
[high]* Bad Bunny goes to do that and try again [/high] EDIT>> I deleted the folder yet again, cleared my cache, downloaded the zip, overwrote my files, and I still have the same error. |
When I look in the zip, I see the correct file. I reuploaded it again though. Try one more time.
|
Quote:
|
It will have this in it.
Code:
$db->query_write(" |
Quote:
|
Quote:
This system seems to create an inherent issue with using quick reply - is there perhaps a way to disable quick reply in forums that have a contract until it is signed? I've had new users try to post a reply with the quick reply box, then get the contract agreement page, then they get forwarded to the index page and lose the post they tried to enter. Makes for some irritated members after it happens a few times. :) The other situation I seem to have is that it won't pull the URL through after you sign the contract - guys get forwarded back to bburl/index.php instead of either the new reply to the thread they were going to quote, or new thread if that is what they chose to do... *edit - nevermind on the URL situation - firewall blocking referral url apparently is the issue there...* May want to find a way to disable the quick reply still though - as if a user uses it, hits submit, then agrees to the contract, they are brought to bburl/newreply.php and gets the default message of "Sorry! This forum is not accepting new posts." and sort of throws them for some confusion. |
Quote:
|
Quote:
|
Yes. As posted in the very first post of the thread, there is. Basically, you just add the same code that's in the new thread and new reply hooks to the forumdisplay or showthread hooks.
I haven't tried it because I don't need it, but that's how you would go about it. |
Quote:
If not I should start looking into it - we keep getting complaints about this. I'll send the data your way if I get a chance - I managed to forget my server login so I've got to wait before I can get started on it... hehe |
Is there another way to handle the phrases other than changing them to global? This could cause a lot of problems down the line when people upgrade their forums and the phrases get overwritten and reverted back to where they were before, leaving this hack with no phrases :(
Just wondering if there is another way... |
Create your own product until I have time to redo it. Then you can have the phrases in your product and no conflict worries.
|
any way to make it so after 3 tickets the user can't even view the forum at all?
|
I love this. Any idea why it might collide with Abe's form hack?
|
Hi Amy. I really like this hack, but I had to disable it when I realized it was interfering with Abe's Forms Hack. What would you recommend in terms of getting these two hacks to play well together?
|
how are they interfering? i added forms hack today and was getting ready to add this one?
|
seems to work on 3.5.2
awaiting for some ones birday first :P *Install |
Quote:
https://vborg.vbsupport.ru/showpost....&postcount=210 |
*GREAT* hack!
Will it work at 3.5.3? And by the way; can people VIEW the forum without signing the contract? EDIT: Quote:
======= But still, 3.5.3 :p? It should get out of beta soon ;). |
I haven't upgraded to 3.5.3 due to lack of time. This needs to be made into a product, but it's been running for months at my site.
|
Quote:
Can't wait to see it ;). Can you post a screenshot of giving a ticket? |
Quote:
|
Quote:
M |
Nevermind I figured it out.
|
All times are GMT. The time now is 10:08 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|