Silver Posted May 14, 2007 Author Share Posted May 14, 2007 Re: [mccode] Close page system A header fix is now available. I hasnt tested the mod after i made it so i wasnt sure on the outcome. If you would like a copy of the fixed header please pm me. Thanks Quote Link to comment Share on other sites More sharing options...
ignite Posted May 15, 2007 Share Posted May 15, 2007 Re: [mccode] Close page system Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/public_html/header.php on line 148 Quote Link to comment Share on other sites More sharing options...
Latino_Heat Posted May 16, 2007 Share Posted May 16, 2007 Re: [mccode] Close page system Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/wngameco/public_html/header.php on line 148 Same here! Hey silver can you repost the new header here! Thanks M8! Quote Link to comment Share on other sites More sharing options...
SoulOfDeath Posted May 16, 2007 Share Posted May 16, 2007 Re: [mccode] Close page system mysql_fetch_array change to mysql_fetch_row change that and let me no if it helps :-) Quote Link to comment Share on other sites More sharing options...
SoulOfDeath Posted May 16, 2007 Share Posted May 16, 2007 Re: [mccode] Close page system If someone could post this in v2 that would be great thanks SOD :-D Quote Link to comment Share on other sites More sharing options...
Ghetto Posted May 16, 2007 Share Posted May 16, 2007 Re: [mccode] Close page system Heres a buggy V2 version of it :-( In header.php find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In smenu.php find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add under You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In staff_special.php find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add under it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Later find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add befor it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Ghetto Posted May 18, 2007 Share Posted May 18, 2007 Re: [mccode] Close page system Thats the exact same as the V1 but converted to V2 and its buggy. Im just doing people a favor so they dont have to convert it so whoever gave me that -1 force is an ass! :| Quote Link to comment Share on other sites More sharing options...
Z?v?? Posted May 18, 2007 Share Posted May 18, 2007 Re: [mccode] Close page system I'll give you +1 cause i'm an anti-ass. :wink: Quote Link to comment Share on other sites More sharing options...
Ghetto Posted May 18, 2007 Share Posted May 18, 2007 Re: [mccode] Close page system Yeah thanks Zaver at least someone appreciates what i do :-) im not even going to bother converting things for people anymore. :| Quote Link to comment Share on other sites More sharing options...
Decepti0n Posted May 18, 2007 Share Posted May 18, 2007 Re: [mccode] Close page system Are you really getting that offended at having another meaningless negative point added to you? Quote Link to comment Share on other sites More sharing options...
hamster01 Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system I lost count of my karma :| Quote Link to comment Share on other sites More sharing options...
Ghetto Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system No its just people not respecting what others do for them. I mean people are always saying "can someone convert this to V2" but when someone dose and it turns out buggy they start complaining. Quote Link to comment Share on other sites More sharing options...
Aqua Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system The Karma doesnt matter , and many others aprieciate this... Do you really think the points show how helpful you are ? i dont... And if your going to stop helping just because an idiot gives you a -point , then you really need to get a life .... Quote Link to comment Share on other sites More sharing options...
hamster01 Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system Yes, someone just admitted to me that they did give me ALOT of - points, but they did not know me then. Quote Link to comment Share on other sites More sharing options...
Aqua Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system Force: +1/-9 I think i helped quite alot , in the tutorial section ... But it doesnt bother me , as the force doesnt reflect someones opinions towards me... The force is just a darn anoying number :P Quote Link to comment Share on other sites More sharing options...
hamster01 Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system Yep, I normally look if that person has many posts and a badge. if they do, they are nice. Ghetto, dont let this stop you; Many people will give you - rep. :lol: Quote Link to comment Share on other sites More sharing options...
oxidati0n Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system lol posts dont count as time, it means how much waste posts they make (proberly) I personally purchasing a badge means your loyal and willing to spend money to show others your not some dumbass. Quote Link to comment Share on other sites More sharing options...
Aqua Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system lol posts dont count as time, it means how much waste posts they make (proberly) I personally purchasing a badge means your loyal and willing to spend money to show others your not some dumbass. Hey you took my siggy :) php one XD Quote Link to comment Share on other sites More sharing options...
Ghetto Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system Its not so much the karma its people dont respect what other people do for them im not bothered about the karma at all really i was just making a point :-) Quote Link to comment Share on other sites More sharing options...
N00b Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system ill rather use cpanel to close pages down lol this is for n00bs Quote Link to comment Share on other sites More sharing options...
hamster01 Posted May 19, 2007 Share Posted May 19, 2007 Re: [mccode] Close page system Pa!n your a noob ;) This is much better ;) Quote Link to comment Share on other sites More sharing options...
Aqua Posted May 20, 2007 Share Posted May 20, 2007 Re: [mccode] Close page system Well this code is way better in my opinion ... And its not for noobs :P Quote Link to comment Share on other sites More sharing options...
iseeyou94056 Posted June 14, 2007 Share Posted June 14, 2007 Re: [mccode] Close page system ya it is for all of the noobs like me but that mod dont work lol can u try 2 make one that will work for me plz Quote Link to comment Share on other sites More sharing options...
iseeyou94056 Posted June 14, 2007 Share Posted June 14, 2007 Re: [mccode] Close page system ? Quote Link to comment Share on other sites More sharing options...
fagan Posted June 15, 2007 Share Posted June 15, 2007 Re: [mccode] Close page system when i added this code to my game igot this error can anyone help me please Parse error: syntax error, unexpected T_PUBLIC in /home/hm7922/public_html/header.php on line 211 Here Is My Header From Were i Edit include "mainmenu.php"; global $ir,$c; print '</td><td width="2" class="linegrad"> </td><td width="100%" valign="top"> <center>'; if($ir['hospital']) { print "NB: You are currently in hospital for {$ir['hospital']} minutes. "; } if($ir['jail']) { print "NB: You are currently in jail for {$ir['jail']} minutes. "; } $page=$_SERVER['REQUEST_URI']; $close=$db->query("SELECT * FROM closedpages WHERE url=$page"); while($r=mysql_fetch_array($close)) { if(mysql_num_rows($close) > 0 && $r['for'] == Public && $ir['user_level'] == 1) { die("This page has been closed for the Public. The reason for this is: {$r['reason']}."); } else if(mysql_num_rows($close) > 0 && $r['for'] == Staff && $ir['user_level'] > 1 && $ir['user_level'] != 2) { die("This page has been closed for Staff. The reason for this is: {$r['reason']}."); } else if(mysql_num_rows($close) > 0 && $r['for'] == All && $r['user_level'] != 2) { die("This page has been closed for everyone. The reason for this is: {$r['reason']}."); } print " "; } } function smenuarea() { include "smenu.php"; global $ir,$c; $bgcolor = '000000'; print '</td><td width="2" class="linegrad" bgcolor="#'.$bgcolor.'"> </td><td width="80%" bgcolor="#'.$bgcolor.'" valign="top"><center>'; } function endpage( And More Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.