On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

Current User: Guest
Please consider registering

 
Search Forums:


 




small (but big) issue with WPMU 1.5

UserPost

3:46 pm
19 May 2008


mark k.

Guest

 
1

Hi Andy,


I am using this greata plugin on my WPMU 1.5.1 install as a “normal” blog plugin, and I have the smallest and funniest issue with it.


No menu appears when I click the “plugins” menu header. My guess is that it has something to do with the fact that in WPMU there are no submenu to the plugin menu - there is only the plugin page. I have tried to hack the code in order to hardcode a plugin submenu, but after 30 minutes of messing around with the code I decided that it will be easier to ask the original writer ;)


The funny side of this problem is that once this plugin is activated it can not be deactivated …. :)

3:55 pm
19 May 2008


-Radio-

Moderator

Florida - USA

posts 475

 
2

I edited the older version of AAmenus to work with WPMU 1.3.3 and have just upgraded one of my sites to WPMU1.5.1 today.


I will take a serious look at the newer AAMenus, and see if the same edit will work with the new format. (WPMU 1.5.1 is based on WP 2.5.1)

4:23 pm
19 May 2008


-Radio-

Moderator

Florida - USA

posts 475

 
3

mark k. said:

Hi Andy,


I am using this greata plugin on my WPMU 1.5.1 install as a “normal” blog plugin, and I have the smallest and funniest issue with it.


No menu appears when I click the “plugins” menu header. My guess is that it has something to do with the fact that in WPMU there are no submenu to the plugin menu - there is only the plugin page. I have tried to hack the code in order to hardcode a plugin submenu, but after 30 minutes of messing around with the code I decided that it will be easier to ask the original writer ;)


The funny side of this problem is that once this plugin is activated it can not be deactivated …. :)


You are correct in that there normally are no sub-menu items in the plugins menu, however some plugins (Akismet, Robots Meta, etc.) will add a sub menu.


Simple Solution to this is to use a WPMU plugin called Plugin Commander which gives you a great deal of control over the plugins menu and how it appears for sub-blog owners.


Plugin commander adds a sub-menu 'Plugins' to each users 'Manage' menu allowing you to disable the default 'Plugins' menu.


Plugin Commander can be Downloaded from http://wpmudev.org/ and is the number one recomended WPMU plugin of all time.

5:40 pm
19 May 2008


mark k.

Guest

 
4

Radio, thanks for your suggestions.


I have my own “plugin manager” which do not change the menues, and I'm very happy with it…. but your suggestion gave me an idea - maybe the menu code is too difficult for me to understand, but I do know how to add a submenu to the plugins page which will point to the same plugins page…..


However since having a top menu without submenues is extrimly rare but possible, if this is indeed a bug in the plugin, I preffer to try and get an hack or fix for the plugin itself without requiring the use of other plugins.

7:25 pm
19 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4556

 
5

I have noted the problem but I can't promise when i can get around to the code. meanwhile there is an laternative from Planet Ozh…

4:30 am
20 May 2008


mark k.

Guest

 
6

I just like yours better :)


Anyway, I have implemented my own suggestion and added the following line in the admin_menus_load_js function

add_submenu_page('plugins.php', __('Plugins'), __('Plugins'), 10, 'plugins.php');

and it solves the problem for me.

9:33 am
20 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4556

 
7

Smart! And thanks



Reply to Topic: small (but big) issue with WPMU 1.5

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 7 + 10        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

13 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 15

Topics: 1736

Posts: 11760

Members:

There are 795 members

There are 737 guests


Yellow Swordfish has made 4556 posts

Top Posters:

Mr Papa - 1226

-Radio- - 475

ovizii - 85

jfv - 80

angelic007 - 66

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.3 (Build 356)