PDA

View Full Version : Blank Page Ban!


N9ne
07 Feb 2003, 20:07
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
07 Feb 2003, 20:18
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
07 Feb 2003, 20:33
Cool idea!!

...installed! :D

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

Great job.*clicks install*

N9ne
07 Feb 2003, 21:26
That's what I did when I was testing this hack, I just banned myself :D

maoz440
07 Feb 2003, 22:42
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
07 Feb 2003, 22:53
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
07 Feb 2003, 23:09
type in google: "server time out" and you'll find them ;)

N9ne
07 Feb 2003, 23:29
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
07 Feb 2003, 23:34
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
07 Feb 2003, 23:37
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
08 Feb 2003, 00:34
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
08 Feb 2003, 10:39
thx for this !!

Derek
08 Feb 2003, 16:24
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
08 Feb 2003, 17:37
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
08 Feb 2003, 19:34
Ingenious;)

:)

Satan

N9ne
08 Feb 2003, 20:40
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
09 Feb 2003, 03:11
wow great hacks being released

***installs

TalkHardRandy
09 Feb 2003, 05:06
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
13 Feb 2003, 18:51
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
13 Feb 2003, 19:10
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
18 Feb 2003, 03:45
works great! thanks.

~clicks install.

subu1
05 May 2003, 12:57
it works fine;)

click click

vB-Host.com
01 Aug 2003, 06:27
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
28 Jun 2005, 02:48
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. :(