Skip to:
Content

BuddyPress.org

Opened 9 years ago

Last modified 9 years ago

#6430 new defect (bug)

Multiple Links in activities

Reported by: danbp's profile danbp Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version: 2.2.3
Component: Activity Keywords:
Cc: danco@…

Description (last modified by imath)

It appears that publishing more than one URL in an activity is only allowed to site admin.
Other roles can only publish one. Is this default behave or a bug ?

If it's default, the message error should be specific. ie You're not allowed to add more than one URL.

To reproduce, connect as subscriber and try to add

Test notice first link http://bp-fr.net/activites/ and a second one http://bp-fr.net/activites/

Change History (5)

#1 @imath
9 years ago

  • Keywords reporter-feedback added

Hi, when you say "notice" : are we talking about sitewide notices, the one you set in the messages compose screen by activating the checkbox ?

In this case the component might not be notifications.. And as these notices are restricted to bp_current_user_can( 'bp_moderate' ) when you say "Other roles can publish one", this means a plugin or a bp-custom.php file is adding this capability to another role than site Admins, or are we in a multisite config ?

If i connect as a subscriber, i cannot add sitewide notices, by default... So what are notices for you ?

#2 @danbp
9 years ago

  • Keywords reporter-feedback removed

Hi, it means what's new form. See test on bp-fr' s activity page.
i made this test on multi and single install, without bp-custom and any other plugins before posting here.

#3 @imath
9 years ago

  • Component changed from Component - Notifications to Component - Activity
  • Description modified (diff)
  • Summary changed from Links in notice to Multiple Links in activities

#4 @imath
9 years ago

  • Milestone changed from Awaiting Review to Future Release

This is the correct behavior. See bp_core_check_for_moderation() The function is following your preferences about WordPress comments moderation. In WordPress Discussion settings, check the comment moderation section, you should see the 'comment_max_links' setting "Hold a comment in the queue if it contains" number of links allowed "or more links. (A common characteristic of comment spam is a large number of hyperlinks.)"

I agree the message is very generic, but, i think before touching anything into this area, we'll first need to improve the way we manage user feedbacks.

Note: See TracTickets for help on using tickets.