Jump to content
MakeWebGames

MainMenu Mod! NEW!


DELETE ME NOW!
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 4 months later...

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 4 weeks later...

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.

 Share

×
×
  • Create New...