Zero-Affect Posted October 2, 2008 Posted October 2, 2008 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 Quote
Miniman Posted October 2, 2008 Posted October 2, 2008 Re: Staff Applications [FREE] free mod ;) How can you tell? Quote
ColdK Posted October 2, 2008 Posted October 2, 2008 Re: Staff Applications [FREE] Very nice mate :-) Quote
POG1 Posted October 2, 2008 Posted October 2, 2008 Re: Staff Applications [FREE] it seems you do know what your at :mrgreen: Quote
ColdK Posted October 2, 2008 Posted October 2, 2008 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 Quote
Miniman Posted October 2, 2008 Posted October 2, 2008 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 = ? Quote
Zero-Affect Posted October 2, 2008 Author Posted October 2, 2008 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? Quote
Miniman Posted October 2, 2008 Posted October 2, 2008 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... Quote
Zero-Affect Posted October 2, 2008 Author Posted October 2, 2008 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] Quote
Miniman Posted October 2, 2008 Posted October 2, 2008 Re: Staff Applications [FREE] Ah, Ok. Well I think it's a good mod :) Your work is becoming better and better. Quote
Zytraw Posted October 2, 2008 Posted October 2, 2008 Re: Staff Applications [FREE] CoOl MoD wElL dOnE! Quote
$$ ?????? $$ Posted October 2, 2008 Posted October 2, 2008 Re: Staff Applications [FREE] Cool Staff Apps :-) Quote
Haunted Dawg Posted October 2, 2008 Posted October 2, 2008 Re: Staff Applications [FREE] 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. Quote
Zero-Affect Posted October 2, 2008 Author Posted October 2, 2008 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 Quote
Modern-Empires Posted October 3, 2008 Posted October 3, 2008 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 Quote
Zero-Affect Posted October 3, 2008 Author Posted October 3, 2008 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 Quote
Karlos Posted October 3, 2008 Posted October 3, 2008 Re: Staff Applications [FREE] Nice One Zero ~ ImMorTaL X ~ Quote
Zero-Affect Posted October 3, 2008 Author Posted October 3, 2008 Re: Staff Applications [FREE] Nice One Zero ~ ImMorTaL X ~ Thanks Quote
twist_killer Posted October 3, 2008 Posted October 3, 2008 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? Quote
Karlos Posted October 3, 2008 Posted October 3, 2008 Re: Staff Applications [FREE] thats the sql table..... Quote
Zero-Affect Posted October 3, 2008 Author Posted October 3, 2008 Re: Staff Applications [FREE] thats the sql table..... Does v1 have settings table? i wouldn't know since i hate v1 lol Quote
twist_killer Posted October 3, 2008 Posted October 3, 2008 Re: Staff Applications [FREE] No it don't, thats why im asking if theres an alternative Quote
jamboy1 Posted October 3, 2008 Posted October 3, 2008 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 Quote
Zero-Affect Posted October 3, 2008 Author Posted October 3, 2008 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 Quote
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.