wildgoosespeeder
Code Helper
Tiers are for strangers!
Posts: 530
wildgoosespeeder said 161 great things
|
Post by wildgoosespeeder on Feb 14, 2011 18:56:37 GMT -8
Browser Tested: Internet Explorer 7/8, Firefox, Chrome, Opera, and Safari NOTE: Not ready for the database at the moment! DO NOT ADD! Admins and moderators that have access to the headers and footers can now play pranks on other members' posts! This code has three modes: BSOD, Pwn, and 404. This code doesn't modify posts at all. Follow the syntax. /* Syntax: pwnMember(Victim's Username, Pwner's Display Name, Pwner's Avatar URL, Pwn Mode); Pwn Mode: 0 for BSOD, 1 for Pwned, 2 for 404 */ BSOD mode makes the victim's post display: Click to enlarge.I recommend resizing this image if your board is smaller than 640 pixel's wide (is there CSS that can do that to the background image)? Pwn mode automatically plays this YouTube video in the victim's latest post on the thread page (older posts don't do that): 404 mode displays a fake 404 error message. Global Footer<script language="javascript"> /*Pwn a member by wildgoosespeeder*/ function pwnMember(uname,pwner,imagePwn,mode) { var check = 1; var a = document.getElementsByTagName("td"); for(d = a.length - 1; d > -1; d--) { if(pb_username == uname && a[d].width == "20%" && a[d].getElementsByTagName("a")[2] && a[d].getElementsByTagName("a")[2].href.match(new RegExp("action=viewprofile&user=" + uname + "$"))) { if(mode == 0) //BSOD { a[d+1].innerHTML = ""; a[d+1].style.backgroundImage = "url('http://i55.tinypic.com/ohlszk.png')"; a[d+1].style.backgroundRepeat = "no-repeat"; a[d+1].style.backgroundColor = "#000082"; } if(mode == 1) //Pwn { a[d+1].innerHTML = "<object width='350' height='287'><param name='movie' value='http://www.youtube.com/v/2ukom8ctCu8?fs=0&rel=0&autoplay=" + check + "'></param><param name='allowFullScreen' value='true'></param><param name='allowscriptaccess' value='always'></param><embed src='http://www.youtube.com/v/2ukom8ctCu8?fs=0&rel=0&autoplay=" + check + "' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true' width='350' height='287'></embed></object><br /><br /><font size='4'>" + pwner + " pwned you " + a[d].getElementsByTagName("a")[2].innerHTML + "! This is a joke and you fell for it. Send a PM to the pwner!<br /><br /><b>THIS POST WASN'T MODIFIED!</b> To check, add <u><span style='background-color:#CCCC00;'>&NOHEADERS=1</span></u> at the end of the ProPoards URL and go there.</font>"; check = 0; a[d].innerHTML = "<b>" + pwner + "</b><br /><center><img src='" + imagePwn + "' width='100' height='100' alt='" + pwner + " pwned you!' title='" + pwner + " pwned you!' /></center>"; } if(mode == 2) //404 { a[d+1].style.fontFamily = "Times New Roman"; a[d+1].innerHTML = "<font size='6'><b>404 - Post Not Found</b></font><br /><font size='3'><p>The requested post was not found on this server.</p><i>Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at " + location.host + " Port 80</i></font>"; } } } } /* Syntax: pwnMember(Victim's Username, Pwner's Display Name, Pwner's Avatar URL, Pwn Mode); Pwn Mode: 0 for BSOD, 1 for Pwned, 2 for 404 */
pwnMember("webmasterteen","Phaelyn","http://mirrorimg.net/images/kev.png",0);
//DON'T TOUCH! \/\/ //pwnMember("nick","wildgoosespeeder","http://a.imageshack.us/img410/903/wildgoose.jpg",2); //pwnMember("webmasterteen","wildgoosespeeder","http://a.imageshack.us/img410/903/wildgoose.jpg",1); //pwnMember("wildgoosespeeder","Phaelyn","http://mirrorimg.net/images/kev.png",2); //pwnMember("admin","wildgoosespeeder","http://a.imageshack.us/img410/903/wildgoose.jpg",2); //pwnMember("pokeman89","wildgoosespeeder","http://a.imageshack.us/img410/903/wildgoose.jpg",1); //pwnMember("zar","wildgoosespeeder","http://a.imageshack.us/img410/903/wildgoose.jpg",1); //pwnMember("mickcy","wildgoosespeeder","http://a.imageshack.us/img410/903/wildgoose.jpg",1); </script>
|
|
|
Post by Wormopolis on Feb 14, 2011 22:46:34 GMT -8
silly!
|
|
wildgoosespeeder
Code Helper
Tiers are for strangers!
Posts: 530
wildgoosespeeder said 161 great things
|
Post by wildgoosespeeder on Feb 16, 2011 1:11:12 GMT -8
Indeed! ;D
|
|
|
Post by Katie Bell Johnson on Nov 23, 2011 16:26:11 GMT -8
I can't wait to start on my forum!
|
|