Public Banlist

Started by DJ Biscuit, July 27, 2007, 04:53:30 PM

Previous topic - Next topic

DJ Biscuit

A mod that makes it so that all members can see who is banned and why.

The ban list will have(In order):

Person Banned
Link to Post Banned for
Admin/mod who banned them
Reason
Ban lift date

TheWrath!


DJ Biscuit


TheWrath!

what code did u use for that

karlbenson

Looks like a vbulletin mod/feature.

TheWrath!

it is.  powered by vbulliten

karlbenson

I should be shot for stating the 'bloody obvious' ;) ;) ;)

TheWrath!

you must be able to code a new php page with that coding in it.

DJ Biscuit

i didnt code that mod. I was just looking if someone could make a duplicate of it for smf, and possibly this mod too


   


This is what it looks like. You click the white face, and the box appears. The white face is at the top right of posts. You type the ban reason in the text box, then you click one of the options. 2m is 2 minutes, 30m minutes, 1h is 1 hour, etc. The feedback part is to show things like "Closed Thread" or "Banned user for XXXX reason." It shows that you're the one who did it and why.

then it will add this to the post

(User was banned for this post. (In post: <topic name> (Reason "<reason mod/admin chooses>" by <mod/admin)))

TheWrath!

no i am saying you can probably code a page to look like that

DJ Biscuit

Well I cant. Thats why I am requesting it here.

TheWrath!

right. I am going to talk to my friend who is good with php and sql.  If he gets on here before I take a nap we will see what we can do.

Eliana Tamerin

As for the quick admin stuff, that could probably be a mod for 2.0, when there are more moderation features as a default. Although, it's not hard to go to someone's profile and ban them from there, it's just a click away.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

TheWrath!

true.  The public ban list you can code a php page for. I am waiting for my friend Alex to get online and I will talk to him with it.

DJ Biscuit

Quote from: Eliana Tamerin on July 31, 2007, 04:21:20 PM
As for the quick admin stuff, that could probably be a mod for 2.0, when there are more moderation features as a default. Although, it's not hard to go to someone's profile and ban them from there, it's just a click away.

true but it wont add the
(User was banned for this post. (In post: <topic name> (Reason "<reason mod/admin chooses>" by <mod/admin)))
to the bottom of the post the person got banned for

Smith6612

Oh, that's just like how Garry's Mod forums (Facepunch Studios's forums) works. It has a public ban list seen here...

http://forums.facepunchstudios.com/showbans.php?

My friend, well two friends of mine would love it so much if there was an SMF mod for this. Someone should really go after making this...

DJ Biscuit

Quote from: Smith6612 on July 31, 2007, 06:21:34 PM
Oh, that's just like how Garry's Mod forums (Facepunch Studios's forums) works. It has a public ban list seen here...

http://forums.facepunchstudios.com/showbans.php?

My friend, well two friends of mine would love it so much if there was an SMF mod for this. Someone should really go after making this...

Hey a fellow facepuncher. and yes. I asked Garry if i could have that mod on gtalk but he didn't reply :S I was hoping to get the code and paste it here and hope someone could port it for SMF

Eliana Tamerin

Quote from: DJ Biscuit on July 31, 2007, 06:18:30 PM
Quote from: Eliana Tamerin on July 31, 2007, 04:21:20 PM
As for the quick admin stuff, that could probably be a mod for 2.0, when there are more moderation features as a default. Although, it's not hard to go to someone's profile and ban them from there, it's just a click away.

true but it wont add the
(User was banned for this post. (In post: <topic name> (Reason "<reason mod/admin chooses>" by <mod/admin)))
to the bottom of the post the person got banned for

Put it in their signature.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

DJ Biscuit

well then that would add it to all their posts....

Smith6612

I don't go to Facepunch :P Two of my friends go there, but I do know what goes on in ther e :P

But Garry handcoded that mod himself, so I guess unless you offer to pay him for it or if he's feeling like he was when he unbanned everyone a few months ago (the banned people got rebanned by autoban or by the mods in a few hours after that :P), most likely he won't give you his mod.

TheWrath!

Quote from: DJ Biscuit on July 31, 2007, 06:18:30 PM
Quote from: Eliana Tamerin on July 31, 2007, 04:21:20 PM
As for the quick admin stuff, that could probably be a mod for 2.0, when there are more moderation features as a default. Although, it's not hard to go to someone's profile and ban them from there, it's just a click away.

true but it wont add the
(User was banned for this post. (In post: <topic name> (Reason "<reason mod/admin chooses>" by <mod/admin)))
to the bottom of the post the person got banned for


it will say why they got banned that you specified when you went in the admin area to ban him.

DJ Biscuit


TheWrath!

dj once i got this file coded with my friend alex it can be public

DJ Biscuit

Which mod, the quickadmin mod, public banlist or both?

TheWrath!


GC

This can't be hard. I'll make it if anybody else doesn't want to. ******, this is VERY easy lol

TheWrath!

GC if you could try.  I have the stuff but I do not know php coding. my friend alex has had to take off for a couple of days due to a death in the family.

GC

ouch.

What I'm going to do is copy everything from the Template_main function in managebans.template.php and make a new one called publicbans.template.php and paste it in, make a source file and add it to the index.php :P lol not hard. Of course I'm going to remove the delete and modify links there.

TheWrath!

alright post me what exactly to do when u get it running.

DJ Biscuit

GC, if possible can you also add the quickadmin too?

GC

quick admin? lol i guess this is more of a mod then quick tip now.

GC

#31
Okay, I finished this. I'm not submitting my mod because it'll take forever to get out, so here you go.

Open /index.php
Find:
'ban' => array('ManageBans.php', 'Ban'),

Add After:
'publicbans' => array('PublicBans.php', 'PublicBans'),

-----------

Open /Themes/default/languages/index.english.php
Find:
$txt['ban_reason'] = 'Reason';

Add After:
$txt['ban_name'] = 'Ban name';
$txt['ban_expires'] = 'Expires';
$txt['ban_added'] = 'Added';


-----------

Download these files:
http://www.glitcherscorner.com/files/public%20bans.zip

Extract PublicBans.php to /Sources/
Extract PublicBans.template.php to /Themes/default/


Any questions?


Here's a button for it on the default theme:
Open index.template.php
Find:
'mlist', 'register',
Add After:
'publicbans',

Find:
// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Add After:
// the [Public Bans] list button
echo ($current_action == 'publicbans' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'publicbans' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=publicbans">Public Bans</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

TheWrath!


DJ Biscuit


elfishtroll

PUBLIC BANLISTS are the HALLMARK of a LAMEASS SITE or a STUPID SITE WITH STUPID ADMINS (or both!)


LMAO@this thread :P

GC

how so? It doesn't share IP, hostnames, or how they were banned, just a reason and when. If you think its a retarded mod, then maybe you should come up with a good reason to explain how members were banned on a 20, 000 member site without making hundreds of threads.

I bet you don't even ban hackers or spammer, or even experienced one on your site... keep your unwanted comments away from people who don't have time to waste time.

elfishtroll

Quote from: GC on August 07, 2007, 02:09:42 PM
how so? It doesn't share IP, hostnames, or how they were banned, just a reason and when. If you think its a retarded mod, then maybe you should come up with a good reason to explain how members were banned on a 20, 000 member site without making hundreds of threads.

I bet you don't even ban hackers or spammer, or even experienced one on your site... keep your unwanted comments away from people who don't have time to waste time.

??

maybe I SHOULDNT :D who the hell cares?

when they the are banned, they f**king CEASE to exist, PERIOD.

I wrote code that AUTOMATICALLY IP bans idiots if they
1. Come to my site via a proxy. ( i leave some proxies open to the site for testing, but thats it)

2. Initiate a hacking attempt or attempt to upload anything with a payload

3. Attempt to FLOOD or drain the site ( drain=excessive downloads of large files to use bandwidth, flood=excessive requests to overload MySQL/apache)


I've helped tons of people recover and secure their sites, but setting up a "banned" list is for idiots.

I RARELY ban, but if I do, they are just gone forever, thats it, no tribute, NO "vietnam Memorial" with their names, nothing

Smith6612

I've never needed to ban, so this mod would be pointless to use for me. Also, my friend who used to be an admin at my forum abused his banning power too much on the forum by banning Google and a few other members. He left the forums too much anyways after not liking it, so he's not admin anymore anyways.

DJ Biscuit

#38
Quote from: GC on August 07, 2007, 02:09:42 PM
how so? It doesn't share IP, hostnames, or how they were banned, just a reason and when. If you think its a retarded mod, then maybe you should come up with a good reason to explain how members were banned on a 20, 000 member site without making hundreds of threads.

I bet you don't even ban hackers or spammer, or even experienced one on your site... keep your unwanted comments away from people who don't have time to waste time.

I totally agree with GC.
Not to sound mean or anything but I don't care if  you rarely ban or why you ban. I just wanted this mod because I am going to run my forum the way I see another forum run.

Quote from: Smith6612 on August 07, 2007, 04:19:10 PM
I've never needed to ban, so this mod would be pointless to use for me. Also, my friend who used to be an admin at my forum abused his banning power too much on the forum by banning Google and a few other members. He left the forums too much anyways after not liking it, so he's not admin anymore anyways.
Well I get alot of spammers and people flaming, and I use temporary bans to put a stop to this.

Smith6612

I don't get any spam at all... well, I've only gotten one spam post with no other posts from the member who has yet to return or else they will go boom :P.

metallica48423

Quote from: elfishtroll on August 07, 2007, 08:24:18 AM
PUBLIC BANLISTS are the HALLMARK of a LAMEASS SITE or a STUPID SITE WITH STUPID ADMINS (or both!)


LMAO@this thread :P

To each his own... its not your board, its not your worry.

But do NOT come here and start flaming sites just because you don't agree with the stance they take on banning.

Thanks.
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

DJ Biscuit

If you have ever been to facepunch. thats how bad it can get sometimes. If you look at the banlist, I remember once mine came close to that. I plan on running the forums the same way as Garry does on facepunch.

Quote from: metallica48423 on August 07, 2007, 04:32:29 PM
Quote from: elfishtroll on August 07, 2007, 08:24:18 AM
PUBLIC BANLISTS are the HALLMARK of a LAMEASS SITE or a STUPID SITE WITH STUPID ADMINS (or both!)


LMAO@this thread :P

To each his own... its not your board, its not your worry.

But do NOT come here and start flaming sites just because you don't agree with the stance they take on banning.

Thanks.

Thank you.

GC

I ban members because of their stupidity and how they think there all that. Also, banning people on forum means major disrespect. I run the best, more active, and best content site for glitching in a certain game, now when someone decided to take my content and put it on their own site, with their copyright, then frame us for stealing it (even though our post date is a month or so ahead) I ban them so they don't do it again.

elfishtroll

wah wah wah

took a look at "facepunch"..

scanned through the "banlist"

most of the members were around 14, most of the IQ the same. lol

(to be totally accurate, it also listed suspensions, 24 hrs, 3 days etc)

@GC, to slap those content stealing bastards, you can make matters a little more difficult for them:!!a
replace blank spaces in the output buffer with highorder characters: they will still look like spaces on the screen, but if you cut and paste off the screen, you get all this stuff that looks like garbage in the buffer.

Reformat the posts with a 3 3 2 1 2 2 repeating pad, meaning, spaces in a post (between words) are replaced with 3 spaces, next time with 3, then 2, 1,2 and so on. This effectively creates a watermark within the text, and allows you to catch the plagiarists in the act (with proof)~a

..
it totally validated my original assertion that the 'banlist' is the hallmark of punkass sites :D

one feature it had that I will clone is the member profile list
http://forums.facepunchstudios.com/member.php?u=103801#

I didnt sign up to the site ('cause I'm not a punkass) but I guess it works where a member can click on a pull down and select one of the attributes to 'tag' a member with (Kinda like karma on steroids!)

I'll put THAT on a to-do list, should take about a day (if I use Javascript or flash) maybe a week to make it functional crossbrowser and cellphone/wap  w/o Js

DJ Biscuit

Quote from: elfishtroll on August 07, 2007, 07:05:14 PM

(to be totally accurate, it also listed suspensions, 24 hrs, 3 days etc)


GC's Banlist has that....

TheWrath!

really stupid quesetion i have this but i would like to change the action name how do i do that?

metallica48423

pull up the main index.php of SMF, find it in the ActionArray, and change it. 
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

TheWrath!


Advertisement: