User Group Prison Add-On - نوشته شده در (3470 Views)
Advanced Member
Carefree
مطلب: 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.
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Retired Support Moderator
MarcelG
مطلب: 2625
2625
haha, nice idea!
نوشته شده در
Advanced Member
Carefree
مطلب: 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.<
نوشته شده در
Advanced Member
Carefree
مطلب: 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
نوشته شده در
Junior Member
texanman
مطلب: 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
نوشته شده در
Forum Admin
HuwR
مطلب: 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
نوشته شده در
Junior Member
texanman
مطلب: 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
نوشته شده در
Forum Admin
HuwR
مطلب: 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<
نوشته شده در
Junior Member
texanman
مطلب: 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.<
نوشته شده در
Advanced Member
Carefree
مطلب: 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<
نوشته شده در
Advanced Member
Carefree
مطلب: 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.<
شما باید یک متن وارد کنید