Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Plugin Conflict

UserPost

9:05 am
July 25, 2008


YikYak

Member

posts 70

1

Hi,

Just to let you know that the Maintenance Mode (http://wordpress.org/extend/plugins/maintenance-mode/) plugin seemed to cause Role Scoper difficulties. When I have both plugins activated then I just get 404 type messages on my blog, no content can be found.I don't know how significant or fixable this problem is, I have found it on both WP 2.5.1 and WP 2.6 blogs, but to work around it I have taken Maitenance Mode off my blog and use a different plugin "Lock Out" instead. This seems to work fine.

I have been watching your plugin for a while, but now is my only chance to experiment with it, as I am able to close my blog for a summe holiday. It looks to be really interesting, just what I am looking for for a different project.

Thanks

YikYak

12:46 pm
July 25, 2008


Kevin

Admin

posts 2386

2

Thanks for letting me know.  I'll download Maintenance Mode and see if there's anything I can do on my end to avoid the conflict.

3:33 pm
October 27, 2008


Kevin

Admin

posts 2386

3

The Maintenance Mode plugin is incompatible with Role Scoper because it forces an early loading of pluggable.php to process the user login and selectively allow front end access during maintenance.

If you can do without this front end access, change maintenance-mode.php as follows:

<!– /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} –>

change

&& !mw_current_user_can_access_on_maintenance()

to

// && !mw_current_user_can_access_on_maintenance()

 

If front-end access during maintenance is essential, it would be possible to port the required WordPress functions into the plugin rather than calling pluggable.php.  However, that would involve some extra plugin maintenance if the WP authentication method changed.


About the Agapetry forum

Currently Online:

13 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1184

Posts: 5378

Members:

There are 1176 members

There are 1 guests


Kevin has made 2386 posts

Top Posters:

metal450 - 152

Ragnar - 105

YikYak - 70

whiteorb - 44

Daisy - 35

Administrator: Kevin | Moderators: Kevin