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

In preparation for the release of the first beta of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
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 558

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 558

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 5252

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 5252

7

Smart! And thanks

 

About the Stuff at Yellow Swordfish forum

Currently Online:

14 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

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


© Simple:Press Forum - Version 3.1.4 (Build 357)