PDA


View Full Version : [REQUEST] Penalty Box (banned users) module


guttormson
04-28-2005, 01:36 PM
With vB 3 you can temporally ban people and determine the length of time they will be banned. This temporary ban places the user in what appears to be a group of their own separated from the permanently banned folks.

What I would like is a module that would display the usernames of temporally banned users and the time remaining in their ban.

I would like to call this module.... "The penalty box".

I think this would be a really cool module.

mholtum
04-28-2005, 02:38 PM
and it will piss of alot of people. Probably lose some members that way.

guttormson
04-28-2005, 04:25 PM
and it will piss of alot of people. Probably lose some members that way.
Well that just depends on the forum.

mholtum
04-28-2005, 06:05 PM
True, but, I would assume that there wouldnt be to many people out there (on any forum) that would want their name plastered on the portal in some penalty box. Just my opinion.

TeamGoFast
04-30-2005, 09:10 AM
i like it!!!! id use it

mholtum
04-30-2005, 12:38 PM
I am not saying it isn't cool.. As an admin it would be a cool little module. As a member I am not so sure if I would want my name in a penalty box of sorts.. Just my opinion.

Danny.VBT
05-03-2005, 01:07 AM
I can make this, you just want it to list all the banned users?

guttormson
05-04-2005, 02:25 AM
I can make this, you just want it to list all the banned users?
I want it to list ONLY the temporarily banned members, their "ban period" (30 days etc.) and their "Ban Time Remaining".

Similar to what you might see in your ADMIN CP near the top (if you have temp banned members) at....
http://www.YOURFORUMS.com/forums/modcp/banning.php?do=modify

bigcurt
05-05-2005, 07:11 PM
I would like one to list all banned users, I already have a PAGE that list all banned users. I REALLY need a module to list like newst 30 banned users or something and then link it to the page that I have with ALL my banned users. If anyone feels like helping me please tell me.

coolaussie
05-13-2005, 04:22 PM
yeah that sounds like a good module to me too :)

Mark|R7
05-14-2005, 04:26 PM
I have jsut knocked this together just then.. Hopefully its what you guys are after! if not, let me know :)

bigcurt
05-16-2005, 02:52 AM
does this module show the people perm. banned in a module on front page?

Mark|R7
05-16-2005, 03:47 AM
Technically, yes.

However i did it only a minor request for these other dudes..
What it does is lets you specify the latest X amount of bans, and it will show them. It will show you all the most recent bans in the list. whether they are perm banned or not.

I could expand on this module obviously, but its not something i want nor need on my site, so im not gonna build it to my specifications cause it might not be what you guys want.

ugr|dual
05-16-2005, 02:49 PM
i'd be interested in some kind of a ban-log too. saw it on vb2 sites... dunno what the hack was.. but it did a good job as a separate forum.

bigcurt
05-16-2005, 07:30 PM
If its, what your saying it is I really like it, I am installing now.

Thanks alot man

guttormson
05-20-2005, 06:22 PM
I have jsut knocked this together just then.. Hopefully its what you guys are after! if not, let me know :)
Wow! Thanks for taking the time to do this.

This module has tons of potential.

And I certainly don't want to sound unappreciative but I don't think this works quite right just yet. I set my cofig to show the last 20 bans yet it only shows 8. The module doesn't seem to show users that are temporalliy banned at all.The module also displays users that are no longer banned.

If some of these issues could be fixed this little module would be really cool!

Mark|R7
05-21-2005, 01:54 AM
hey, no probs.. it ran well on my board, but the board is only a new one and hence it may not be set up how you have yours set up (and the fact i had to create accounts to ban! :p)

I will suss it out a little more.

Do you have 20 bans on your forums though? cause if there is less it will only show that amount

Mark|R7
05-21-2005, 02:03 AM
ok i have looked into this, and im wondering why you are having problems when i am not.

All the module does is check the forum db in the userban table.. it returns all the entries sorted by date. I have tried banning my users every way on my board (that i can think of) and i cannot get it to not show up in that table. Then, once the ban is removed they are removed from that table and put back into their group.
If your board is set up differently let me know. but as far as im aware theres not much i can do without looking at your mysql and forums admin.

Regards
Mark

guttormson
05-21-2005, 02:04 AM
hey, no probs.. it ran well on my board, but the board is only a new one and hence it may not be set up how you have yours set up (and the fact i had to create accounts to ban! :p)

I will suss it out a little more.

Do you have 20 bans on your forums though? cause if there is less it will only show that amount
Again thank you for your efforts!

Yes... I have hundreds of banned users.

For this hack to be effective it would need to display any type of banned user. I.e., users that are simply put in the banned usergroup, temporarily banned users, banned by moderators etc.

I really like how you made the "mouse over" give more detail - really cool!

Mark|R7
05-21-2005, 02:14 AM
yer i tried it just before.. as soon as they are moved to the 'banned users' group they will automatically be added to this table.. unless you are using some other group for banned users and set up all their permissions manually.

Would you mind giving me a test account on your site with access to this banned module on your portal? and i might be able to see whats happenin.
It mght be worth you checking the userban table and see whats in there

bigcurt
05-22-2005, 03:25 PM
Works PERFECT for me, I changed around a little html and added a <hr> in there but other than that it works GREAT.

Mark|R7
05-22-2005, 06:33 PM
great! i hate using html in modules cause it defeats the purpose of the templating system. but i also hate having to create separate templates for simple repetitive things (ie one line of code)

Hopefully you didnt find it too hard to change :)

scr2000ge
09-04-2005, 05:43 PM
is it possible that this code can work with 2.0 rc? i tried and it doesnt work. i dont know how to modify it :(