Jump to content
MakeWebGames

Recommended Posts

Posted

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

  • Replies 64
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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

Posted

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!

Posted

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.

Posted

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! :|

Posted

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. :|

Posted

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.

Posted

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 ....

Posted

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

Posted

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:

Posted

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.

Posted

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

Posted

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 :-)

  • 4 weeks later...
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...