WordPress.org

Forums

BuddyPress Rate Forum Posts
No rights to change settings (4 posts)

  1. Ruben.cc
    Member
    Posted 3 years ago #

    The plugin itself is functioning fine after installation and activation, but I can't make any changes to the settings. As soon as I try to save any changes I get a simple notification that I don't have sufficient rights to access that page.

    http://wordpress.org/extend/plugins/buddypress-rate-forum-posts/

  2. Dwenaus
    Member
    Plugin Author

    Posted 3 years ago #

    were you able to resolve this?

  3. Ruben.cc
    Member
    Posted 3 years ago #

    Hi,

    Actually I'm kind of a phpMyAdmin jockey, so as soon as plugin settings are acting up, I'll just move on to editing the database directly.

    But I took another look and noticed that the network admin URL (wp-admin/network/blabla) changed to the site admin URL (wp-admin/blabla) after submission of the settings.

    I took a quick look at the php code and noticed a hardcoded admin URL that doesn't seem to check if the admin is running on a network installation or not.

    I changed line 39 in admin.php of the plugin from "/wp-admin/admin.php?page=rfp_admin'" to "/wp-admin/network/admin.php?page=rfp_admin" and everything is working as it should now.

    Of course changing hardcoded strings inside the plugin php is not a solution for all, but I'm not that good at php to change this to some dynamic URL that will work for everybody, but you probably are. :-)

    Thanks for the plugin anyways!

  4. Rocio Valdivia
    Member
    Posted 2 years ago #

    Hi! I downloaded the plugin today and this error is still happening.

    Thank you to Ruben.cc for the quick patch :)

    Anyway, thanks for the plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Rate Forum Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic