User Group Prison Add-On - Posted (3459 Views)
Advanced Member
Carefree
Posts: 4224
4224
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.
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
haha, nice idea!
Posted
Advanced Member
Carefree
Posts: 4224
4224
I knew what I wanted it to do - the hard part was convincing the software to cooperate. I avoided creating a group of additional variables and database settings, but anyone implementing it will have to make a number of small code changes.<
Posted
Advanced Member
Carefree
Posts: 4224
4224
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
Posted
Junior Member
texanman
Posts: 410
410
Carefree
I just added this Mod. Everything seems to be fine except one thing. The "imprison member" doesn't work. If I do "release member", it does imprison the member. What could be going on?
Update: Got this working. Forgot to replace the second incident of usergroup_ID. But two other issues. One, the prisoners name is duplicate. Two: the warden is very slow relative to the other pages. I believe the first ptoblem is coming from this code:
if tmpStrNames = "" then
tmpStrNames = rsNames("M_NAME")
else
tmpStrNames = tmpStrNames & ", " & rsNames("M_NAME")
end if
Posted
Forum Admin
HuwR
Posts: 20611
20611
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
Posted
Junior Member
texanman
Posts: 410
410
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
Posted
Forum Admin
HuwR
Posts: 20611
20611
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<
Posted
Junior Member
texanman
Posts: 410
410
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.<
Posted
Advanced Member
Carefree
Posts: 4224
4224
your link does not work

Replaced file.
Warden.txt GeneratedSource.txt - you'll have to r-click & save this one
FF Image IE Image<
Posted
Advanced Member
Carefree
Posts: 4224
4224
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.<
You Must enter a message