The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
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.
Available on SnitzBitz.
Posted
haha, nice idea!
portfolio - linkshrinker - oxle - twitter
Posted
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
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
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
Last edited by texanman on 16 July 2008, 13:14
Posted
Last edited by texanman on 18 July 2008, 05:04
Posted
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
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.<
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
your link does not work
Replaced file.
Warden.txt GeneratedSource.txt - you'll have to r-click & save this one
FF Image IE Image<
Last edited by Carefree on 16 July 2008, 22:37
Posted
if tmpStrNames = "" thenNo duplicates here, I'd need to see what you're experiencing. Also, my warden page loads in about .1 second.
tmpStrNames = rsNames("M_NAME")
else
tmpStrNames = tmpStrNames & ", " & rsNames("M_NAME")
end if
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.<
Last edited by Carefree on 16 July 2008, 22:43
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...