T O P I C R E V I E W |
Carefree |
Posted - 05 June 2008 : 19:22:41 The Prison MOD allows administrators (and moderators if you choose) to incarcerate members to a specific forum and to release members to their previous settings, without allowing moderators access to all members' User Group settings - and with automatic Email notices of the action taken to both the member concerned and the administrator.
Available on SnitzBitz. |
15 L A T E S T R E P L I E S (Newest First) |
Carefree |
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? |
fastrax |
Posted - 03 April 2009 : 15:07:09 Thanks, I will give it a try then. |
Carefree |
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 |
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 |
texanman |
Posted - 17 July 2008 : 16:19:36 quote: Originally posted by golfmann
Dis joint'l never hold me....
see?
I see! Said the blind man to his deaf daughter!< |
golfmann |
Posted - 17 July 2008 : 16:01:21 Dis joint'l never hold me....
see?< |
texanman |
Posted - 17 July 2008 : 13:24:14 I understand. Some pull down menus have the feature of pointing to the list as you type the first few letters of the name.< |
Carefree |
Posted - 17 July 2008 : 11:58:02 It wouldn't be that much trouble, but some systems have 20000 members ... typing would be infinitely faster.< |
texanman |
Posted - 17 July 2008 : 08:25:38 You are right, it was my error, thanks. How hard would it be to make imprison a memeber and release prisoner to be selected from a pull down menu instead of typing names?< |
Carefree |
Posted - 16 July 2008 : 22:40:32 quote: if tmpStrNames = "" then tmpStrNames = rsNames("M_NAME") else tmpStrNames = tmpStrNames & ", " & rsNames("M_NAME") end if
No duplicates here, I'd need to see what you're experiencing. Also, my warden page loads in about .1 second.
That routine, Tex, checks to see if there's already a value in the tmpStrNames variable; if so, it appends the new value to it and if not, it sets the variable to the value in memory. It doesn't duplicate, it cannot.
There's something else happening.< |
Carefree |
Posted - 16 July 2008 : 22:27:55 quote: your link does not work
Replaced file.
Warden.txt GeneratedSource.txt - you'll have to r-click & save this one FF Image IE Image< |
texanman |
Posted - 16 July 2008 : 13:29:43 HuwR:
I don't have the problem carefree was referring to. I am using IE7 and everything looks great except the two issues in red in my previous post.< |
HuwR |
Posted - 16 July 2008 : 13:22:53 ok, not going to able to help then since I don't have any of that stuff installed, I could probably tell you by looking at an image of the problem, or alternatively doing a view source on the page and providiing a link to that rather than the asp file would probably be better< |
texanman |
Posted - 16 July 2008 : 12:56:52 quote: Originally posted by HuwR
quote: Originally posted by Carefree
Here's something driving me a bit buggy. This page is perfect in Firefox - but looks crappy in IE7. Can someone point out what's goofy?
Warden
your link does not work
HuwR:
here is the file warden |
HuwR |
Posted - 16 July 2008 : 12:42:55 quote: Originally posted by Carefree
Here's something driving me a bit buggy. This page is perfect in Firefox - but looks crappy in IE7. Can someone point out what's goofy?
Warden
your link does not work |
|
|