• I have stumbled upon the following bug trying to use this plugin in BuddyPress groups (on a WP multisite installation):
    Group members and even group admins cannot post comments on Ideas of which they are not authors. The comment form is shown to them but after filling in and clicking the ‘Post’ button they are shown a blank page with the following URL:
    <Site address>/wp-comments-post.php
    They can only successfully post comments on their own Ideas.
    The super-admin can post comments on any Ideas of any authors.

    https://ww.wp.xz.cn/plugins/wp-idea-stream/

Viewing 5 replies - 1 through 5 (of 5 total)
  • @ssebech – I’ve noticed the exact same IdeaStream commenting bug you describe (IdeaStream within a BuddyPress Group, using WP 4.6.1 Multisite) “They can only successfully post comments on their own Ideas. The super-admin can post comments on any Ideas of any authors.” All of my other group areas (home, forums) function as expected (i.e. any logged-in user can comment). This seems to be specific to IdeaStream on BuddyPress, w/in a multisite setup.

    Did you have any luck resolving this? -Jeff

    Thread Starter Stefan Sebechlebsky

    (@ssebech)

    I had to abandon this plugin although otherwise liking it a lot. I am not able to fix this bug, it is the developers’ task I believe.

    @ssebech – I dug into this IdeaStream > BuddyPress commenting issue quite deeply. Initially I thought it was related to multisite, but then I did a fresh, single-site install of WordPress (4.6.1 w/ twentysixteen theme) + IdeaStream (2.3.2) + BuddyPress (2.6.2) w/ x2 users (1-admin role, 1-subscriber role). What I found:

    1. any user can comment on any users Idea (admin > subscriber, or subscriber > admin)
    2. I activated BuddyPress, then enabled IdeaStream for x1 PUBLIC test group. Everything I found in point-1 was still true (any user can comment on any users Idea (admin > subscriber, or subscriber > admin)
    3. I then made a second BuddyPress group, this time a PRIVATE group. Here’s when the commenting anomaly comes into play. An admin can comment on a subscriber’s idea, but not the reverse (a subscriber-role CANNOT comment on an admin (or any other user role’s) Idea IF the BuddyPress group is set to private (or hidden). A subscriber can still comment on their own IS Idea in “private” or “hidden” BuddyPress groups

    I then installed a role-management plugin, & gave the subscriber user the capabilities option called manage_options – & then that subscriber could comment on any other users Ideas (though granting “manage_options” capabilities to a typical subscriber-role is not recommended, outside of testing purposes).

    So, basically commenting on IdeaStream Ideas (if a BuddyPress group is set to “private” or “hidden”) will not work for any user w/ a role less-than “admin”. I know there is a solution to this, but I’m at a loss on “next-viable-steps”. -Jeff

    • This reply was modified 9 years, 7 months ago by jeffacubed.
    • This reply was modified 9 years, 7 months ago by jeffacubed.
    Thread Starter Stefan Sebechlebsky

    (@ssebech)

    @jeffacubed
    Praise to you for your deep analysis.
    IMHO, the solution is – to fix it in the plugin code.
    @aglekis
    @imath
    Now you have all precise information about what’s wrong(?).

    Plugin Author Mathieu Viet

    (@imath)

    @jeffacubed thanks a lot for your investigations: very helpfull to fix the issue.

    It will be fixed in 2.3.4. In the meantime, you can use this code:
    https://gist.github.com/imath/97f98706dd42e58d6847a391c8f7f0c0

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

The topic ‘Commenting bug under BuddyPress groups (multisite)’ is closed to new replies.