Jump to content
MakeWebGames

Recommended Posts

Posted

I got bored lately and edited a old modification i made for Killah-City.net.

There maybe a few bugs but i assume you guys will point them out.

Since i have not released anything new for awhile i thought i would post this.

It is pretty big but works great.

StaffApps.php -

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

SQl:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

SQL 2:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

staff.php -

Find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Add Below:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Also Find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Add Below:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

smenu.php -

Find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add Below:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

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

 

ALL STAFF BUGS FIXED

  • Replies 78
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: Staff Applications [FREE]

$db->query = ('UPDATE `staffaps` SET lock='1' WHERE ID='0');

Parse error: syntax error, unexpected T_LNUMBER in /home/bloodycr/public_html/staff.php on line 225

Posted

Re: Staff Applications [FREE]

 

$db->query = ('UPDATE `staffaps` SET lock='1' WHERE ID='0');

Parse error: syntax error, unexpected T_LNUMBER in /home/bloodycr/public_html/staff.php on line 225

$sql = sprintf("UPDATE `staffaps` SET `lock` = `1` WHERE ID = 0");

$db->query($sql);

I think that's what he was trying to do? Seen as he was using the = ?

Posted

Re: Staff Applications [FREE]

actually no its fixed lol

i was going to sprintf but i realized that the 1 and 0 are not inputted so really no need for sprintf

 

it seems you do know what your at :mrgreen:

i have no idea what on earth your talking about...

what im at?

are you insinuating i don't know what im doing?

Posted

Re: Staff Applications [FREE]

I see it now :-o

Take away the ' '

 

actually no its fixed lol

i was going to sprintf but i realized that the 1 and 0 are not inputted so really no need for sprintf

 

it seems you do know what your at :mrgreen:

i have no idea what on earth your talking about...

what im at?

are you insinuating i don't know what im doing?

I see, I never use $db->query =

So I just assumed that you was trying to use sprintf.

And I think he was directing it at me? Read up lol, I don't get it either...

Posted

Re: Staff Applications [FREE]

i did say there maybe some bugs since i just opened the old file and added all the extra sprintf etc... and changed all the queries

I see, I never use $db->query =

So I just assumed that you was trying to use sprintf.

And I think he was directing it at me? Read up lol, I don't get it either...

naw he said something similar earlier i think he's trying to offend me in some way

 

Very nice mate :-)

thank you ColdK

 

free mod ;)

free mod? well the clue is in the subject you know the part that says [free]

Posted

Re: Staff Applications [FREE]

 

CoOl MoD wElL dOnE!

ty

Cool Staff Apps :-)

ty

I read over the code just the first bit, noticed the SQL 2 Is wrong.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Use that rather.

thanks

Posted

Re: Staff Applications [FREE]

 

kwl mod i just tried it out as the one i had didnt show the apps in staff panel so it good that some1 has sence by making a decent one well dome 10/10

your welcome

Posted

Re: Staff Applications [FREE]

would this work for V1? cuz when i i ran SQL2 i got this error:

MySQL said: Documentation

#1146 - Table '????_Aftalyfe.settings' doesn't exist

(???? is is my DB username so i just deleted it from here)

so is there anyway round this?

Posted

Re: Staff Applications [FREE]

There is an alternative

Don't run SQL2

Convert it to V1

Delete everything that involves locking and locking the table, that should work fine

Posted

Re: Staff Applications [FREE]

 

There is an alternative

Don't run SQL2

Convert it to V1

Delete everything that involves locking and locking the table, that should work fine

actually just convert the locking to a 0 id in the first sql config and update via that or make settings table

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