Author |
Topic |
fastrax
Starting Member
35 Posts |
Posted - 02 April 2009 : 20:14:12
|
Can this mod be used to have new members in jail by default? We want new members to have the ability to post in one area only at first and read all others until they get used to the boards. Thanks |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 02 April 2009 : 20:34:32
|
You could, yes. Just set your prison group to the default for new members, then allow only that forum for that level. |
|
|
fastrax
Starting Member
35 Posts |
Posted - 03 April 2009 : 15:07:09
|
Thanks, I will give it a try then. |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 29 July 2010 : 04:33:49
|
I was bored so I made a couple of updates to this mod. lol
First, I created a new file called "admin_amnesty.asp". Just in case the admin is feeling kind and generous, he/she can run this and create a random date to release anyone who is in prison as of the date the amnesty program is run. The date will be anytime within a specified range: 1 month, 3 months, 6 months or 1 year.
The date generated will be inserted into anyone's record who is in jail at that moment. If they are STILL in jail when that date is reached, the next time they logon they'll automatically get released.
The User Groups mod and the Prison Mod MUST both be installed before adding this feature. Also, the title of the prisoner group MUST be Prisoners (or you'll have to change it in both the admin_amnesty and inc_header files).
Necessary changes to use this additional feature:
(1) Save this file as "dbs_prisoner.asp"
(2) Within the admin control panel, select "Mod Setup" and choose the "Prison Mod Amnesty" mod to update database.
(3) Save the following as "admin_amnesty.asp".
(4) Modify "admin_home.asp"
(5) Modify "inc_header.asp"
(6) Finally, replace "warden.asp" with this:
Note: If you used a forum name other than "Correctional Custody", you will need to replace it on line 51.
That's it. All done, wasn't so bad, was it? |
Edited by - Carefree on 29 July 2010 07:41:10 |
|
|
Topic |
|
|
|