Require Users to Sign a Contract Before Posting in an Individual Forum
This modification is in the archives.
This is a port of this mod:
index.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. ![]() https://www.paypal.com/xclick/business=amykhar%40yahoo.com&item_name=UserPage+Donation&no_shipping=1&cn=Your+Comments&tax=0¤cy_code=USD Amy Download This modification is archived and cannot be downloaded. Screenshots
|
Similar Mods
Require Users to Sign a Contract Before Posting in an Individual Forum | vBulletin 3.0 Beta Releases |