• Resolved pilotspelman

    (@pilotspelman)


    After a lot of testing, I have discovered a potential conflict with the plugin Postie and a possible workaround (at least for now). However, this conflict did not exist with earlier versions of WordPress and/or the plugins.

    The conflict arises when associating UAM user groups with categories. Associating UAM user groups with specific categories was a way of controlling access to certain posts. However, though this worked well earlier, it now creates a conflict between UAM and Postie. Postie does not assign categories at all with this setup. However, when removing all associations between UAM user groups and categories, Postie works as expected again.

    A possible workaround is associating UAM user groups with tags instead of categories. The tags can thereby be a way of controlling access to certain posts instead of using specific categories. There is no conflict with Postie’s tag function (at least not for now).

    Actual versions:
    WordPress: 6.1.1
    PHP: 8.0.26
    Postie: 1.9.62
    User Access Manager (UAM): 2.2.19

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter pilotspelman

    (@pilotspelman)

    Additional information:
    This conflict only arises when Postie is set to run the check mail script automatically (at set intervals). Postie works as expected (regarding categories) when running the check mail script manually (by clicking the button “Process Email”).

    Hello! I can confirm there is a conflict between Postie and UAM.

    Every time I post via Postie, the category is not set and this makes my new post invisible unless I set manually the category. I noticed that two INSERTS are needed into the wp_term_relationships table but just one is performed when UAM is enabled.

    Further references here.

    I’ve just found out it was due to a conflict with this plugin. Please Help!

    @pilotspelman could you please provide more details about the workaround you have found? I tried to play around a bit with categories and tags but couldn’t understand exactly how to solve.

    Thread Starter pilotspelman

    (@pilotspelman)

    Hi,

    I originally controlled access to specific posts via categories, where specific categories were associated with user groups in UAM. When editing a category, user groups can be selected under the heading “Set up user groups.” In this way, it was possible to control access to posts posted via Postie. However, suddenly it stopped working because Postie no longer assigned categories as expected.

    I began to suspect that there could be a conflict with UAM since both plugins interact with the categories. When I removed all associations between UAM user groups and the categories, Postie started working as expected again (assigning categories). However, the ability to control access via categories was lost in that way.

    I then realized that tags could fulfill the same function as the previous categories. When editing a tag, UAM user groups can be associated (selected) in the same way as when editing categories (under the same heading, “Set up user groups”). Fortunately, Postie continues to assign tags as expected though specific tags are associated with UAM User Groups.

    I.e., the problem only seems to be related to categories being associated with UAM User Groups.

    Thank you @pilotspelman for the explanation. After reading your description I understand this is something that can be “fixed” using tags. For this reason I tried to go inside Posts -> Tag -> My Tag and select the UAM group to associate to my tag under the same heading, “Set up user groups”. Unfortunately this didn’t solve the issue for me, but for sure I misunderstood what to do exactly.

    Thanks a lot!

    For your information @pilotspelman I opened a bug here.

    Plugin Author GM_Alex

    (@gm_alex)

    I will close this one here because we have the issue at github.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Potential conflict with the Plugin Postie’ is closed to new replies.