PDA

View Full Version : Blank Page Ban!


N9ne
02-06-2003, 10:00 PM
Blank Page Ban Hack by N9ne: 7th Feb 2003
vB version: 2.2.x

File edits: 1 (forum/global.php)
Templates to add: 1 (blankpageban)

Description: This is another form of banning members of your forum.
When you a ban a user, put them into the new usergroup you will
create during the installation of this hack, a group called Blank Page Banned.
If a user is in this group, they will get a blank page all over your forum, they
will not be able to see anything. They cannot even logout to avoid this. The
only way is to delete their cookies. You can also modify this hack very very
easily to change it so there's a message on this blank page, you can put anything
here though, anything using html! A good idea is to put a fake mysql or php parse
error making the banned user think there's something wrong with the forum when
really it's just him that's banned!



I can't provide a screenshot really, just imagine a blank page :D.

Basically this hack is just going to make life a bit odd for your banned users :D.

NOTE: If you have a banned usergroup already, and you wish to put all users in that group into the blank
page ban group quickly, you can simply rename the banned usergroup you have to Blank Page Banned and
enter the usergroupid of that usergroup inplace of the X in the code above.


---------------------------------------------------------------------------------
This is my first hack in a while, I want to thank TheMayhem for giving me the idea for this hack.

Download the attachment for installation instructions.
---------------------------------------------------------------------------------

TheMayhem
02-07-2003, 07:18 PM
Tested it and it works perfectly fine. The best error I found was a server timeout error so they can't put 2 and 2 together if you like give a database error written out on html. And with the server timeout error all you have to do is copy and paste html whenever you find that message from one time or another and it will leave your banned user puzzled forever. :)

Kars10
02-07-2003, 07:33 PM
Cool idea!!

...installed! :D

Dr Shark
02-07-2003, 08:22 PM
Wow nice hack N9ne, i'll probably install this on my test board to then ban my self.lol

Great job.*clicks install*

N9ne
02-07-2003, 08:26 PM
That's what I did when I was testing this hack, I just banned myself :D

maoz440
02-07-2003, 09:42 PM
Great hack! Installed perfectly on 2.29! <clicks install> :cheeky:

Can you give me a rough estimate of how hard it would be to have this blankpageban show up every say 3 times the user clicked on a template? It would make it easier to be tricky with users ;)

Thanks for the hack!

maoz440
02-07-2003, 09:53 PM
My forums are thankfully very stable so can anyone give me an idea where I can find an error page to copy short of taking down mySQL ;) Like a server time out error?

NuclioN
02-07-2003, 10:09 PM
type in google: "server time out" and you'll find them ;)

N9ne
02-07-2003, 10:29 PM
Originally posted by maoz440
Great hack! Installed perfectly on 2.29! <clicks install> :cheeky:

Can you give me a rough estimate of how hard it would be to have this blankpageban show up every say 3 times the user clicked on a template? It would make it easier to be tricky with users ;)

Thanks for the hack!

This would require more hacking, which is beyond my PHP knowledge sorry.

TalkHardRandy
02-07-2003, 10:34 PM
Originally posted by maoz440

Can you give me a rough estimate of how hard it would be to have this blankpageban show up every say 3 times the user clicked on a template? It would make it easier to be tricky with users ;)


I think you're looking for something like Hellban.

BTW, this hack effing rocks! I've been looking for something like to clear up some issues I've been having.

N9ne
02-07-2003, 10:37 PM
Originally posted by TalkHardRandy


I think you're looking for something like Hellban.

BTW, this hack effing rocks! I've been looking for something like to clear up some issues I've been having.

hellban has too many bugs hence people request similar things from other hacks :). Personally I'd just make it so it shows up on every page all the time, it's more hell-ish that way eh :D

TalkHardRandy
02-07-2003, 11:34 PM
Originally posted by N9ne


hellban has too many bugs hence people request similar things from other hacks :). Personally I'd just make it so it shows up on every page all the time, it's more hell-ish that way eh :D

Agreed... I tried to install it but it kept not showing any posts. So I just changed the blank page template to a 404 page. Gets the same results.

empreur76
02-08-2003, 09:39 AM
thx for this !!

Derek
02-08-2003, 03:24 PM
Originally posted by TalkHardRandy


Agreed... I tried to install it but it kept not showing any posts. So I just changed the blank page template to a 404 page. Gets the same results.

Did you just put the HTML in the blank page for this hack?

Kaelon
02-08-2003, 04:37 PM
Hrmmm, I'm not sure if I did something wrong - I installed the hack, but everyone, not just members of the designated usergroup, was getting a blank page. I followed the directions to word, so, I'm not sure. *shrug*

A very nice idea, however. It's something I've been looking for.

Regards,
Kaelon

Chris M
02-08-2003, 06:34 PM
Ingenious;)

:)

Satan

N9ne
02-08-2003, 07:40 PM
Originally posted by Kaelon
Hrmmm, I'm not sure if I did something wrong - I installed the hack, but everyone, not just members of the designated usergroup, was getting a blank page. I followed the directions to word, so, I'm not sure. *shrug*

A very nice idea, however. It's something I've been looking for.

Regards,
Kaelon


Please post exactly what you have as the last 6 lines of global.php.

Also, make sure there is NOTHING after the ?>

Make sure there are no lines or spaces after the > sign at the end of the file.

SphereX
02-09-2003, 02:11 AM
wow great hacks being released

***installs

TalkHardRandy
02-09-2003, 04:06 AM
Originally posted by Derek
Did you just put the HTML in the blank page for this hack?

Yes... but now I see a 404 error ban out so I don't feel as ingenious... :(

EchoHype.com
02-13-2003, 05:51 PM
Will this really work?

I havea memebr who has cable or something, and kept trying to sign up. I banned his absolute hostname, not single IP. I also added his accounts to the blank page group. He doesn't seem to be posting anymore though.

Hmm......any tips on how else to deal with banned guys who wont get a clue?

N9ne
02-13-2003, 06:10 PM
Well really, banned users can easily get around a ban, but things like this will make them think that there's something wrong with the forum, and they won't think they're banned.

Note to all: Please click install if you installed this hack ;) thanks.

mzlogical
02-18-2003, 02:45 AM
works great! thanks.

~clicks install.

subu1
05-05-2003, 11:57 AM
it works fine;)

click click

vB-Host.com
08-01-2003, 05:27 AM
can I do the following and if not can you tell me the correct way..

lets say group 12 is banned and group 13 have not verified an e-mail account yet and group 14 is still awaiting admin approvel...

if ($bbuserinfo[usergroupid]==12) {
eval("dooutput(\"".gettemplate('blankpageban')."\");");
}else{
echo (""); }

if ($bbuserinfo[usergroupid]==13) {
eval("dooutput(\"".gettemplate('checkmail')."\");");
}else{
echo (""); }

if ($bbuserinfo[usergroupid]==14) {
eval("dooutput(\"".gettemplate('adminapprove')."\");");
}else{
echo (""); }

?>

John the Artist
06-28-2005, 01:48 AM
Well, it doesn't work on 3.0.7. The user just gets a note they they don't have permissions and get a link to log out.

I want a blank page. :(