Author |
Topic |
Carefree
Advanced Member
Philippines
4207 Posts |
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. |
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 06 June 2008 : 06:19:31
|
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.< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 15 June 2008 : 17:33:40
|
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 |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 16 July 2008 : 12:37:10
|
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
|
Edited by - texanman on 16 July 2008 13:14:57 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
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 |
|
|
texanman
Junior Member
United States
410 Posts |
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 |
Edited by - texanman on 18 July 2008 05:04:33 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
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
Junior Member
United States
410 Posts |
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.< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
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.< |
Edited by - Carefree on 16 July 2008 22:43:30 |
|
|
texanman
Junior Member
United States
410 Posts |
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
Advanced Member
Philippines
4207 Posts |
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
Junior Member
United States
410 Posts |
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.< |
|
|
golfmann
Junior Member
United States
450 Posts |
Posted - 17 July 2008 : 16:01:21
|
Dis joint'l never hold me....
see?< |
|
|
texanman
Junior Member
United States
410 Posts |
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!< |
|
|
Topic |
|