DELETE ME NOW! Posted April 1, 2009 Posted April 1, 2009 Mainmenu Mod. Demo here: CLICK HERE Lets start Run SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now Mainmenu for staff i called mine (staff_mainmenu.php) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now Mainmenu.php Warning! On this code you need to edit!! You see a few lines down? like {$ir['events']} ect replace them with V2 ones or V1 ones other wise it aint going to work!!!! You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Open global_func.php Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Before add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now i think you should be done, if not reply Thanks :) Quote
DELETE ME NOW! Posted April 1, 2009 Author Posted April 1, 2009 Re: MainMenu Mod! NEW! Just forgot to say that reorder function was from staff reorder groups so dont try moaning, but just little work and its done, all works fine!, you might need to edit some of them links though, because it has /elite/ in them. Quote
DELETE ME NOW! Posted April 1, 2009 Author Posted April 1, 2009 Re: MainMenu Mod! NEW! More updates will be added when i can be arsed lol. Quote
Uridium Posted April 1, 2009 Posted April 1, 2009 Re: MainMenu Mod! NEW! I have to say ive seen this script in Action and its very very very very good a nice clever approach to editing.. the reordering system is a brilliant idea. Im going to have to use this script and if its okies with Crazy have a mess with it.. Quote
DELETE ME NOW! Posted April 1, 2009 Author Posted April 1, 2009 Re: MainMenu Mod! NEW! I have to say ive seen this script in Action and its very very very very good a nice clever approach to editing.. the reordering system is a brilliant idea. Im going to have to use this script and if its okies with Crazy have a mess with it.. Yes of course ;) Quote
DELETE ME NOW! Posted April 1, 2009 Author Posted April 1, 2009 Re: MainMenu Mod! NEW! Feel free to mess with the demo mainmenu :D Quote
rpg-style Posted April 1, 2009 Posted April 1, 2009 Re: MainMenu Mod! NEW! its great its hard to do with menu on mccodes this one is very helpful :mrgreen: Quote
Dayo Posted April 1, 2009 Posted April 1, 2009 Re: MainMenu Mod! NEW! good mod im gona edit this so it works on my new site im making:P Quote
DELETE ME NOW! Posted April 1, 2009 Author Posted April 1, 2009 Re: MainMenu Mod! NEW! Bump Up My Post Quote
DELETE ME NOW! Posted April 1, 2009 Author Posted April 1, 2009 Re: MainMenu Mod! NEW! Nice mod Crazy-T :-D Thankyou :) Quote
GetReal Posted April 1, 2009 Posted April 1, 2009 Re: MainMenu Mod! NEW! I have put this on my game & like it a lot Quote
Uridium Posted April 1, 2009 Posted April 1, 2009 Re: MainMenu Mod! NEW! I had a few problems with this one mainly that when i clicked on links no matter what link i clicked on i got Unexpected $end for every page looked at Might be that im using a different layout for my menus Quote
Uridium Posted April 1, 2009 Posted April 1, 2009 Re: MainMenu Mod! NEW! Big thanks to eagle eyd Haunted for spotting this :) On crazy's mainmenu.php we found the cause of my error for the reporting of the endpage() 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. The problem consisted because MCC already uses $h as it cause to End so on Crazy's We just alter his $h to $ho to compensate for it.. Quote
Uridium Posted April 2, 2009 Posted April 2, 2009 Re: MainMenu Mod! NEW! Quick fix to allow mailbox and events and also Announcements to be updated.. overwrite your mainmenu.php with this one. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. For those that are using this script in conjuction with my menu theme and want to add the COIL images then use this.... Big thanks again to HAUNTED for his patience on this one,, dont call this mainmenu.php name it to the default you used when making a new menu theme so for now im calling this one 1.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
redsnake420 Posted April 2, 2009 Posted April 2, 2009 Re: MainMenu Mod! NEW! why does the demo account take you to deadly ghetto instead or your main menu thing Quote
DELETE ME NOW! Posted April 2, 2009 Author Posted April 2, 2009 Re: MainMenu Mod! NEW! it dont..., prob when you click a link it takes you to another game because someone has added a new link to it redirects you lol Quote
Uridium Posted April 2, 2009 Posted April 2, 2009 Re: MainMenu Mod! NEW! A Drag n Drop version of this would be a welcome sight :) obviously one that updates the tables aswell... Quote
DELETE ME NOW! Posted April 2, 2009 Author Posted April 2, 2009 Re: MainMenu Mod! NEW! Yeah, also for reorder function POG1 should me some jquery, what could do it:P Quote
Bwerk01 Posted August 18, 2009 Posted August 18, 2009 Re: MainMenu Mod! NEW! Hey I know this is an old topic but i just added it and really like it. Only problem I am having is with the Change Main Menu in the Staff Area. These are the areas I'm getting and I think it may be because I am using MCCodes V2 so i don't have the mysql.php file. I am just wondering if there is an easy way to convert it to work with V2. Here are the errors: Warning: include(mysql.php) [function.include]: failed to open stream: No such file or directory in /home1/mobsterm/public_html/staff_mainmenu.php on line 9 Warning: include() [function.include]: Failed opening 'mysql.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/mobsterm/public_html/staff_mainmenu.php on line 9 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home1/mobsterm/public_html/staff_mainmenu.php on line 11 and this is the code: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. If anyone has some time and can help me out I'd appreciate it! Thanks! Quote
Modern-Empires Posted August 18, 2009 Posted August 18, 2009 Re: MainMenu Mod! NEW! There, it dont take a rocket science to figure that one out lol, You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Uridium Posted August 25, 2009 Posted August 25, 2009 Re: MainMenu Mod! NEW! What Modern-Empires means Bwerk is the version you posted above is for mcc v1 as V2 doesnt require the use of the mysql.php file anymore other things you may encounter are some silly error like CALL TO UNDEFINED FUNTION so when you see a global command add $db to it Quote
Modern-Empires Posted September 18, 2009 Posted September 18, 2009 hmm ok i was adding thi mod to my new game that i am working on and i added illusions edit to where it lets ya know about new events etc, well when i added it all the links had 0 0 next to them which was confusing, please help 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.