DELETE ME NOW! Posted March 19, 2009 Posted March 19, 2009 Okay here is what this mod does.... You can add rank levels, and names from staff panel. You can edit rank levels, and names from staff panel. You can delete rank levels, and names from staff panel. No screen shots so one of you would have to add it too one of your test sites or something...... Okay first things to come: MySQL....phpMyAdmin. Run in phpmyadmin. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Once you've done that. Add this to global_funcs.php Just before ?> You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Once you've done that. Create a php file you can save it as anything you like becuase im using php self. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Okay once you've done that Open viewuser.php Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. After the add "; Now add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Works, fine, ive saw people using loads of code when there's not need too. If it dont work please show here thankyou :), also didnt take long. Quote
DELETE ME NOW! Posted March 19, 2009 Author Posted March 19, 2009 Re: [V1 && V2] Simple MySQL Rank Mod! Also forgot to say for V2 just change the include("globals.php"); to V1 code ;) and done Quote
Karlos Posted March 19, 2009 Posted March 19, 2009 Re: [V1 && V2] Simple MySQL Rank Mod! You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Works, fine, ive saw people using loads of code when there's not need too. If it dont work please show here thankyou :), also didnt take long. Why use that? The following should be good enough... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
DELETE ME NOW! Posted March 19, 2009 Author Posted March 19, 2009 Re: [V1 && V2] Simple MySQL Rank Mod! You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Works, fine, ive saw people using loads of code when there's not need too. If it dont work please show here thankyou :), also didnt take long. Why use that? The following should be good enough... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Yes i know, but it works fine the way i done it . . . Some times i do it your way and mine, and also sprintf() theres no need for it!, so you cant say nothink about my work when everytime you have a query, you sprintf it, theres no need, and also slows the page down. Quote
DELETE ME NOW! Posted March 19, 2009 Author Posted March 19, 2009 Re: [V1 && V2] Simple MySQL Rank Mod! I also forgot to say it sends userid 1 a event when a user trys to access the page without being admin... And for staff menu add Ranks lol Quote
Karlos Posted March 19, 2009 Posted March 19, 2009 Re: [V1 && V2] Simple MySQL Rank Mod! If you ever read one of my posts when we was on this subject I did say I sprintf() queries with varibles in it. Quote
jamieh Posted March 19, 2009 Posted March 19, 2009 Re: [V1 && V2] Simple MySQL Rank Mod! V1 conversion: NOT TESTED You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Casey Posted March 20, 2009 Posted March 20, 2009 Re: [V1 && V2] Simple MySQL Rank Mod! Nice Work i Might use that in my game :) 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.