Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted

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

Posted

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

Posted

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

Posted

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.

  • 4 months later...
Posted

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!

Posted

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

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

×
×
  • Create New...