Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 User Group Prison Add-On
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 05 June 2008 :  19:22:41  Show Profile  Reply with Quote
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

Posted - 06 June 2008 :  03:11:28  Show Profile  Visit MarcelG's Homepage  Reply with Quote
haha, nice idea!

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 06 June 2008 :  06:19:31  Show Profile  Reply with Quote
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.<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 15 June 2008 :  17:33:40  Show Profile  Reply with Quote
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
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 July 2008 :  12:37:10  Show Profile  Reply with Quote
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
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 July 2008 :  12:42:55  Show Profile  Visit HuwR's Homepage  Reply with Quote
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
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 July 2008 :  12:56:52  Show Profile  Reply with Quote
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
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 July 2008 :  13:22:53  Show Profile  Visit HuwR's Homepage  Reply with Quote
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<
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 July 2008 :  13:29:43  Show Profile  Reply with Quote
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.<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 16 July 2008 :  22:27:55  Show Profile  Reply with Quote
quote:
your link does not work


Replaced file.

Warden.txt
GeneratedSource.txt - you'll have to r-click & save this one
FF Image
IE Image<

Edited by - Carefree on 16 July 2008 22:37:56
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 16 July 2008 :  22:40:32  Show Profile  Reply with Quote
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
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 17 July 2008 :  08:25:38  Show Profile  Reply with Quote
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?<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 17 July 2008 :  11:58:02  Show Profile  Reply with Quote
It wouldn't be that much trouble, but some systems have 20000 members ... typing would be infinitely faster.<
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 17 July 2008 :  13:24:14  Show Profile  Reply with Quote
I understand. Some pull down menus have the feature of pointing to the list as you type the first few letters of the name.<
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 17 July 2008 :  16:01:21  Show Profile  Visit golfmann's Homepage  Reply with Quote
Dis joint'l never hold me....

see?<
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 17 July 2008 :  16:19:36  Show Profile  Reply with Quote
quote:
Originally posted by golfmann

Dis joint'l never hold me....

see?


I see!
Said the blind man to his deaf daughter!<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07