The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Require Users to Sign a Contract Before Posting in an Individual Forum Details »» | |||||||||||||||||||||||||||
Require Users to Sign a Contract Before Posting in an Individual Forum
Developer Last Online: Nov 2013
This is a port of this mod:
https://vborg.vbsupport.ru/showthread.php?t=76835 This little mod forces users to read and sign a "contract" before it allows them to post in certain forums of your choosing. It also allows you to "ticket" users who break your forum rules. After 3 tickets, the user can no longer post in the forum. You may define a different contract for each of your forums if you so choose. ------------------------------- YOU may easily extend this idea to make readers sign a contract before reading a certain forum. I do not need this feature and will not be adding it at this time. ------------- Template Conditionals You May Like to Use for the Ticket System: Code:
<if condition="$post[reqcontract]"> Code:
<if condition="$post[ticket]"> Code:
<if condition="is_member_of($bbuserinfo,5,6)"> Putting it all together, an example way to use the tickets in the postbit: Code:
<if condition="$post[reqcontract]"> <if condition="is_member_of($bbuserinfo,5,6)"> <if condition="$post[ticket]"> User's Tickets in this forum: $post[ticket]<br /> </if> <a href="ticket.php?do=addticket&forumid=$post[forumid]&userid=$post[userid]">Ticket User</a><br /> <if condition="$post[ticket]"> <a href="ticket.php?do=rticket&forumid=$post[forumid]&userid=$post[userid]">Remove One Ticket</a><br /> <a href="ticket.php?do=cticket&forumid=$post[forumid]&userid=$post[userid]">Clear the user's tickets</a><br /> </if> </if> </if> A huge thank you to LiveWire, Boofo and HellSatan for testing this out. Installation on 3.5 RC1 is as simple as importing the product, changing two existing phrases and making one template change. ------------------------------ This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you. Amy Show Your Support
|
Comments |
#2
|
||||
|
||||
My Mods are going to be thrilled.
For some reason, your attachment images aren't working though (or it is my browser?) Elementary question -- I assume this would require signature from installation forward, but if we change the wording, will it somehow trigger people to have to sign a new wording? |
#3
|
||||
|
||||
Quote:
2. No. If you change the wording and want users to resign, you'll need to clear out everybody's contract. Maybe at some point I'll write a script to do it. If you only have one forum that has a contract, it's easy to do though. Just clear the contracts column in the user table. |
#4
|
||||
|
||||
(Removed and built into the new version)
|
#5
|
||||
|
||||
Easy enough! I can just put a clear script in the admin notes in the ACP for each one and use as needed.
Thanks for sharing this -- will get it loaded this weekend. |
#6
|
||||
|
||||
One nice thing to note. Let's say you want the users to sign a contract before they start a new thread, but don't need them to sign it when they reply to an existing thread. Simply deactivate the 'sign contract before posting a reply' plugin and don't do the code change in showthread.php.
|
#7
|
||||
|
||||
Oh -- the team wants me to go for full boar on this after I told them I was going to test it.
They want all of the pinned-thread-ignoring, FAQ-ignoring, forum-description-ignoring, rules-ignoring, announcements-ignoring (and everywhere else they cross post the rules) members to have to sign in blood, give a saliva sample and submit to a retina scan signifying that they comprehend what will and will not fly before even thinking of entering certain forums. For now, a contract will do. [off to check out the ticket system now....] |
#8
|
||||
|
||||
Screenshots aren't working??
|
#9
|
||||
|
||||
Quote:
|
#10
|
||||
|
||||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|