News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SSI Banning

Started by MrCue, January 02, 2004, 05:59:26 PM

Previous topic - Next topic

MrCue

Could the banning feature be put into SSI?
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

pulpitfire

you mean a link to the admin ban function, or the whole multi-step admin process?

MrCue

no, just the check and sorry (user) your banned because (reason)
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

morph

I think i know what you mean.. The banning feature works on the main site so they can't view that either. If so, this would be a VERY usefull feature...

Coming soon!

MrCue

eaxactly, if there banned via the forums, i want them banned on the main site too.
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

Grudge

I don't really see the point in this. You can't ban guests etc from viewing your site so why ban ex-members. Seems exteme....
I'm only a half geek really...

morph

Quote from: Grudge on January 02, 2004, 07:35:08 PM
I don't really see the point in this. You can't ban guests etc from viewing your site so why ban ex-members. Seems exteme....

IP banning? And yes it's easy to get around but it does the job partially. 

To add onto the mod.. have a check box next to a banned name .. One having "Banned from Forum" or the other "Banned through SSI" Or something along those lines so that you can choose.

Coming soon!

MrCue

You can IP ban, host name ban, username ban, its all there in the forums, i would like to be able to include the SSI file and do

$status = ssi_banned();
if($status['ban_status'] == 'banned') {
   echo $status['ban_reason'];
   die;
}
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

Grudge

I just don't see the point of banning someone from the site. Unless they constantly hammer a 5MB download what does it achieve? No member realted stuff can be picked up throught SSI (as they are alread banned). Banning them from your site itself is more likely to cause them to do something silly as a backlash than not. What is worth hiding from a public site from past members but NOT from guests?
I'm only a half geek really...

Tyris

well, if they're a member who really pissed you off... and screwed up your community... why should we give them access to informaton/whatever that we own and have worked on... I'd just ban in my domain control panel tho...

morph

hmm I'm thinking a mod?

I still like the idea of it though.

Coming soon!

MrCue

How difficult is it to copy the banning routine into the SSI file & make it return an array with status & reason?

Members can post content to our site, if i ban them from the forums i also want them banned from the site.

Its got nothing to do with ex-members or guests, i would just like a simple way to access SMFs banning function from the main site.
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

morph

Well the question is whether to implement it or not.. because once I get my hands on SMF I'll be writing some mod's and this could be one of them.

Coming soon!

MrCue

surley its a 5 min job.

If I can copy the banning function to the SSI file, would you consider checking & adding it to the default SSI file?
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

Ben_S

If memory serves me right, theres already some banning stuff in the SSI.php file, not looked at it in detail though so not sure what it does,
Liverpool FC Forum with 14 million+ posts.

morph

Err I'm not quite sure if you can post that...

Coming soon!

MrCue

sorry, ive deleted it now.

I shall go post it in the charter area, my bad.
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

morph

Yeah.. you're lucky i'm not taking that code and selling it on the black market for MILLIONS OF DOLLARS (with a kind of french accent :) )

Coming soon!

Chris Cromer

Personally I think it is a good idea, SSI is meant to integrate your forum and site, so if they are banned from the forum why not the site as well?
Chris Cromer

"I was here, here I was, was I here, sure I was" - The little voice in my head.

[Unknown]

include('SSI.php');

is_banned();

// Done.

-[Unknown]

Advertisement: