• catmaniax

    (@catmaniax)


    Hello.

    So, I’ve been really looking forward to this and I’ve been trying the new feature to disable plugins depending whether the user is logged in or not and it does not seem to work properly.

    The functionality works great at first when visiting as a logged out visitor but as soon as I login the plugins still remain deactivated…

    Any thoughts on how this can be resolved?

    Please let me know.
    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter catmaniax

    (@catmaniax)

    Another thing that I noticed is that the red circle icon is gone so it’s really confusing as to which plugins are disabled, can you please bring that back, it was really handy.

    Also, I cannot get Plugin Organizer to apply to the homepage, I can only do that by adding a filter. Maybe a new different option that affects only the Homepage would be great, since for most users I think it is their Homepage that usually needs speed optimization and the rest of the site comes secondary.

    Thread Starter catmaniax

    (@catmaniax)

    Alright, so after hours of experimenting I think I found the bug which causes the “Disabled Standard – Not Logged In” to not work.

    If I put a plugin, (does not seem to matter which!), in the “Disabled Standard – Default Logged In” section, then the “Not Logged In” function seems to be working fine, otherwise it’s not.

    Can you please look into it since this seems to be a major bug?

    Please let me know.
    Thanks!

    Plugin Author Jeff Sterup

    (@foomagoo)

    “If I put a plugin, (does not seem to matter which!), in the “Disabled Standard – Default Logged In” section, then the “Not Logged In” function seems to be working fine, otherwise it’s not.”

    I’m not sure what you mean by “seems to be working fine, otherwise it’s not”. You need to be more specific as to what you are expecting and what it is doing so I can understand the problem.

    Thread Starter catmaniax

    (@catmaniax)

    Alright.

    First, I disable some plugins by putting them to the “not logged in” section and they are indeed not running when I visit the site as an unregistered user. So far so good.

    Then, I login and the plugins are still not running. That’s the problem.

    So I’ve been experimenting and saw that if I put a plugin (does not matter which) to the “default logged in” section, it solves this bug and everything works fine after that.

    English is not my native language, so I hope I made myself clear.
    If not, I can explain further.

    Plugin Author Jeff Sterup

    (@foomagoo)

    Oh I see. That is how it is coded. It falls back to the not logged in plugin list if nothing is set for logged in. But now that I think about it that shouldn’t be happening. I will make a change and release a fix later today.

    Thread Starter catmaniax

    (@catmaniax)

    Great, as it isn’t clear or says it somewhere that it’s supposed to do that, I had to find out through trial and error and thought it was a bug.

    Can you please also reply to my other questions (red circle and homepage)?

    Thanks.

    Plugin Author Jeff Sterup

    (@foomagoo)

    The red circle is now gone and replaced with the icon on the right side of the plugin name container in the list. When you click on it it will show you which roles have that plugin disabled. A single indicator won’t work anymore. A site can have many roles. Mine has more than 20.
    The homepage is handled through a filter. That is the best way to do it since none of the wordpress functions that tell you if you are viewing the homepage have been loaded at the time plugins are disabled and the url of the page you are assigning to your homepage can change from the edit screen to the frontend.

    Plugin Author Jeff Sterup

    (@foomagoo)

    I have released version 9.0.2. That makes it so only logged out users will get the list of plugins set for logged out users.

    Thread Starter catmaniax

    (@catmaniax)

    Thank you for the so quick support!

    I will test it out some more and let you know.

    Thread Starter catmaniax

    (@catmaniax)

    Alright…

    I’ve been messing around with PO almost all day, so far version 9.0.3 seems to work fine and I thank you for this.

    There seems to be an issue that breaks the styling/CSS of PO though.
    So far the plugins Wordfence and WPDiscuz seem to be responsible for this issue.

    In order to make myself more clear, I will just post some screenshots so you can see.

    All the following screenshots are from the 9.0.3 version:

    1. ALL MY PLUGINS RUNNING, NOTHING DISABLED:
    https://s16.postimg.org/3rij58zv9/cap1.jpg

    2. ONLY WORDFENCE DISABLED:
    https://s16.postimg.org/4v2nh7kid/cap2.jpg

    3. ONLY WPDISCUZ DISABLED:
    https://s16.postimg.org/4jl74g42d/cap3.jpg

    WORDFENCE+WPDISCUZ DISABLED:
    https://s16.postimg.org/te4oyiowl/cap4.jpg

    Can you please test it out too and let me know?
    Thanks again 🙂

    [ No bumping please. ]

    Plugin Author Jeff Sterup

    (@foomagoo)

    The problem with wpdiscuz is that they are using an older version of font-awesome in their plugin and setting it to priority 100. I can’t get the newer version I’m using to load after theirs so theirs is overriding the newer version. I’m not seeing any issues with wordfence.

    Thread Starter catmaniax

    (@catmaniax)

    Thanks for the reply.
    Would you suggest I contact WPDiscuz and ask them if this can be resolved somehow?

    As for Wordfence, it just seems to break the CSS as seen in the screenshot, I do not know why.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘User role not working as expected…’ is closed to new replies.