Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author adiant

    (@adiant)

    Fair enough. I’ll go back through my files and see what happened. And update this thread.

    Thread Starter marikamitsos

    (@marikamitsos)

    Thank you.

    Please keep in mind that there are -at least to my knowledge- 3 deprecated messages:

    Function screen_icon is deprecated since version 3.8.0 with no alternative available. in .../wp-includes/functions.php on line 6078
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available. in .../wp-includes/functions.php on line 6078
    Function wp_get_sites is deprecated since version 4.6.0! Use get_sites() instead. in .../wp-includes/functions.php on line 6078

    • This reply was modified 4 months, 2 weeks ago by marikamitsos.
    Plugin Author adiant

    (@adiant)

    I checked back on what I did after your first inquiry, and I made the mistake of trying to add a bunch of new features that would make it relevant to current versions of WordPress, and quickly got bogged down. I will try to revisit it soon, and just make it work properly, with no warnings/deprecation errors for the current version of WordPress and PHP 8.3.

    Plugin Author adiant

    (@adiant)

    I just released Version 3.2 which addresses the Deprecated messages.

    Thread Starter marikamitsos

    (@marikamitsos)

    Thank you for the new?Version 3.2 release. No deprecated warnings whatsoever.

    Still. There is a new warning for each Must-Use plugin thrown on activation and every time there is a change (de/activation) on any plugin on any site.

    PHP Warning: file_get_contents(.../wp-content/plugins/...): failed to open stream: No such file or directory in .../wp-includes/functions.php on line 6864

    I guess the plugin is now looking for must-use plugins in the wrong place.

    Could you give it one more try?

    Plugin Author adiant

    (@adiant)

    Exactly the feedback I am looking for! I’ll look into that right away.

    Plugin Author adiant

    (@adiant)

    I am able to replicate the error message that you are getting. But I’m also seeing, just before, an error related to both WordPress and PHP deprecating the use of Dynamic Properties in Classes:

    PHP Deprecated:  WP_List_Table::__set(): The property _column_headers is not declared. Setting a dynamic property is deprecated since version 6.4.0! Instead, declare the property on the class. in /home/rsshdev/wpnet.rsshdev.1320860.xyz/wp-includes/functions.php on line 6085

    I need to resolve that first, and it will take some time as I don’t normally use Classes and have a bit of a learning curve.

    Thread Starter marikamitsos

    (@marikamitsos)

    My multisite is still on PHP 7.4 (safe for older plugins). Probably, that is why I didn’t have that message.

    Code is evolving all the time. Still. You are a coder of proven competence. I am sure it is something you can handle. Even if it will take some time. Looking forward with anticipation to the new version

    Plugin Author adiant

    (@adiant)

    After looking in depth at both of these errors, I realized how much code was copied from the WordPress Core of Version 3.8 because no Hooks were provided in the Core code where I needed to add code of my own to make the plugin work. Huge changes to that part of the WordPress Core since then would require re-doing the original effort that took many months.

    That inspired me to revisit the complete rewrite of this plugin that I did nearly a year ago, and I was pleasantly surprised at what I found. Of everything I tested, I only found one small issue with controlling the visibility of Network Activated plugins when trying to hide just Network Activated plugins.

    Are you will to test the rewritten plugin? I have not looked at whether it converts Settings from previous versions of the plugin, so it is essential that you only install it on a test system where you would not risk losing a previous version of the plugin’s Setting.

    If interested, please respond here.

    Thread Starter marikamitsos

    (@marikamitsos)

    Thank you @adiant Sure thing. I will be happy to test it and help out. Since it is summer though, I will spend much less time on my mac. But please, do let me download it as soon as you are ready. This will also clear ground for any possible future enhancements.

    Plugin Author adiant

    (@adiant)

    You can now download it as a ZIP file at https://installactivatego.com/jonradio-reveal-network-activated-plugins.v4beta.zip

    No hurry on testing, but please let me know when you have downloaded and installed it, so I can delete the file. My main focus is to understand if this re-design would be an adequate replacement for you. I’m not expecting you to find every bug, which I will do later with a Test Plan.

    Thank you for your help!

    Please note that the plugin will show up as: InstallActivateGo.com Show/Hide Plugins including Multisite/Network
    This is not the final Name, but the original name is no longer appropriate since WordPress now displays Network-Activated Plugins more widely than it used to.

    Thread Starter marikamitsos

    (@marikamitsos)

    I downloaded the file. You can delete it. We’ll talk soon.

    Plugin Author adiant

    (@adiant)

    Thank you again for being willing to help.

    Thread Starter marikamitsos

    (@marikamitsos)

    Hello @adiant
    I downloaded and installed v4.0. My errors log did not register any issues. So I guess that is out of the way. Great !!!
    I find very clever the dropdown and the inhereted properties. That’s brilliant. I have to admit though that I found the new design quite overwhelming. I wonder whether you could consider the following points to possibly improve the ergonomics:

    Places:

    1. The settings are gone from the network dashboard where they used to very conveniently reside (…/wp-admin/network/plugins.php?page=jr_rnap_network_settings). Why? After all it is a network plugin only visible by super admins (or maybe -using a hook- by just one of them).
    2. When on my site (…/MYsite/wp-admin/plugins.php?plugin_status=active), where I have just 2 active plugins I also see all info of our 76 inactive plugins
    3. On the “othersite” (…/OTHERsite/wp-admin/plugins.php?plugin_status=active), the “otheruser”, who is NOT a super admin, canNOT by default see the must use plugins. But now, all info, even for the mu-plugins and the drop-in plugins are presented by this plugin.

    Content:

    1. The settings under their own url were quite compact. We could see -almost- all of them on a single screen.
    2. I believe there is a sufficient amount of info in the plugins screen (…/wp-admin/network/plugins.php OR …/OTHERsite/wp-admin/plugins.php). The objective of this plugin could be focused on its very special functions without creating an overkill. Another improvement on real estate could be to only show the php file name along with the name of the plugin instead of the whole path . Meaning: Catch IDs (catch-ids.php)

    A super admin will most likely set the choices once and… again when a new plugin is installed. Once in a blue moon.
    Finally, if I may suggest 2 options of a possible page layout of the plugin’s settings page. The first one being in the default alphabetical order and the second giving priority to the activated plugins.
    To further support my suggestion I attach an image of a though I had about the layout of the plugin’s network settings (2 versions).

    Let me know what you think.

    Plugin Author adiant

    (@adiant)

    Let me thoroughly review what you have said, and think through how best to accomplish that. I’ll respond here.

Viewing 15 replies - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.