DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • January 23, 2018, 03:18:48 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1] 2   Go Down
  Print  
Author Topic: The Brendan Blocker!!!  (Read 8247 times)
0 Members and 1 Guest are viewing this topic.
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« on: April 08, 2005, 12:18:35 AM »

Aaaaaand here you go!!!

The only, user-friendly, brendan-blocking, admin-customizable and unique "Block the Brendan"-Module (in the style of "Whack a rat...)!!!

It will block Brendan from using your site! He will have no chance!

Features for the next version:
  • Block multiple IPs
  • Block multiple IDs
  • Automatic Updating of Brendan's ID and IP
Download and Install this NOW!
The ultimative Brendan Blocker!
Logged

Running for more than three years now:
ChAoS
Guest
« Reply #1 on: April 08, 2005, 12:24:40 AM »

Ack my header blew up when I uploaded this and subsequently went to module manager- It does go in teh module folder right?


function bblock_getmoduleinfo(){ $info = array( "name"=>"Brendan Blocker", "author"=>"Christian Rutsch", "version"=>"1.0", "category"=>"Administrative", "download"=>"http://dragonprime.net/users/XChrisX/bblock.zip", "allowanonymous" => 1, "settings" => array( "Userlimit, title", "brendan_ip" => "Brendan's IP adress, |195.173.16.65", "brendan_id" => "Brendan's ID, |2d81f1f8ce5646e48de29abcff7d1ce3", ), ); return $info; } function bblock_install(){ module_addhook("index"); return true; } function bblock_uninstall(){ return true; } function bblock_dohook($hookname, $args){ global $session; define("ALLOW_ANONYMOUS",true); switch($hookname) { case "index": if ($session['user']['lastip'] == get_module_setting("brendan_ip")) redirect("runmodule.php?module=bblock"); if ($session['user']['uniqueid'] == get_module_setting("brendan_id")) redirect("runmodule.php?module=bblock"); break; } return $args; } function bblock_run() { global $session; define("ALLOW_ANONYMOUS",true); page_header("Get a life, kid!"); rawoutput(""); output("Brendan, GET A LIFE!!!"); rawoutput(""); page_footer(); }
« Last Edit: April 08, 2005, 12:27:53 AM by ChAoS » Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #2 on: April 08, 2005, 12:26:45 AM »

Fixed and uploaded... I think... Wink

was missing the <? and ?> ...
Logged

Running for more than three years now:
ChAoS
Guest
« Reply #3 on: April 08, 2005, 12:28:17 AM »

lol

n00b  Grin

*edit* Looks good
« Last Edit: April 08, 2005, 12:30:25 AM by ChAoS » Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #4 on: April 08, 2005, 12:29:19 AM »

Copy & Paste - Your best friend and your worst enemy...

EDIT: corrected a spelling mistake... So many words...  
« Last Edit: April 08, 2005, 12:35:24 AM by XChrisX » Logged

Running for more than three years now:
ChAoS
Guest
« Reply #5 on: April 08, 2005, 02:08:59 PM »

I only wish I could see his face when he hits the page Smiley
Logged
Calliander
Guest
« Reply #6 on: April 08, 2005, 02:40:25 PM »

It's both hilarious and disturbing that this module was needed.  Shocked
Logged
lonnyl
Guest
« Reply #7 on: April 08, 2005, 02:53:46 PM »

This module does ping his ip a couple million times after he hits it right?Huh  Grin

Just kidding.....
Logged
ChAoS
Guest
« Reply #8 on: April 08, 2005, 08:51:45 PM »

so the module sends us a message that he logged in? Correction=tried to log in

LOL that is rich

    
From:
Date: 2005-04-08 02:51:16 (18h28m)
Status: Closed
Last Update: Farmgirl GalGotha on 2005-04-08 20:12:04 (1h7m)
Body:
[charname] = brendan
= [email]sloth14@hotmail.co.uk
[unverified] = Character is not logged in!!
[description] = oyu get a liofe

Commentary:
[-]
> [04/08 08:11pm] <MHW> Farmgirl GalGotha says, "NO! you get a life! Wink"
« Last Edit: April 08, 2005, 09:20:18 PM by ChAoS » Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #9 on: April 08, 2005, 11:07:21 PM »

WEll... Upcoming for the next version:

(Not 2.0 though)

Send mail to server admin, whenever Brendan hits the page...

BTW: Regarding his creative interpretation of orthography he seemed to be quite "upset" Wink That's enough to know...

(At least now I know that it works! Tongue)

EDIT Small Update: Admin definable notification
« Last Edit: April 08, 2005, 11:19:42 PM by XChrisX » Logged

Running for more than three years now:
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #10 on: April 09, 2005, 12:23:09 AM »

Thanks to some very outstanding and vigilant person out there we know of another IP, which has been implemented at once!

Also updated the script to
  • allow admins to be notified whenever Brendan tried to acces their site
  • allow admins to also send other permanently blocked players to the "Get a life" page
  • allow for multiple IPs and IDs to be identified as Brendan!
Redirecting of other permanently banned players only works if their IP matches the database entry completely (no filter!) or their ID has been banned (or both)
Logged

Running for more than three years now:
RPGSL
Guest
« Reply #11 on: April 09, 2005, 04:46:44 AM »

Parse error: parse error, unexpected '=', expecting ']' in /home/rpdragon/public_html/modules/bblock.php on line 52

Game Version 1.01

Overwrote original bblock
Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #12 on: April 09, 2005, 05:08:28 AM »

Fixed that typo... :p
Logged

Running for more than three years now:
LoneWitch
Guest
« Reply #13 on: April 09, 2005, 05:55:16 PM »

Not to sound dumb, but what exactally does this do.
Logged
Dhampir
Guest
« Reply #14 on: April 09, 2005, 06:13:49 PM »

Thank you, you don't know how much better I feel, to know that brendan will be less likely to get to my site. Cheesy

Much appreciated!!

And lonewitch, you DO sound kinda dumb there lol. It does exactly its title. Blocks Brendan. Tongue
« Last Edit: April 09, 2005, 06:14:13 PM by Dhampir » Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
34 Guests, 1 User
Helga
Home Forums News Downloads Login Register Advanced Search