User Group Prison Add-On - Postet den (3468 Views)
Advanced Member
Carefree
Innlegg: 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.
   
 Sidestørrelse 
Postet den
Retired Support Moderator
MarcelG
Innlegg: 2625
2625
haha, nice idea!
Postet den
Advanced Member
Carefree
Innlegg: 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.<
Postet den
Advanced Member
Carefree
Innlegg: 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
Postet den
Junior Member
texanman
Innlegg: 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
Postet den
Forum Admin
HuwR
Innlegg: 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
Postet den
Junior Member
texanman
Innlegg: 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
Postet den
Forum Admin
HuwR
Innlegg: 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<
Postet den
Junior Member
texanman
Innlegg: 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.<
Postet den
Advanced Member
Carefree
Innlegg: 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<
Postet den
Advanced Member
Carefree
Innlegg: 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.<
Du må legge inn en melding