BuddyDev

Search

Replies

  • Participant
    Level: Master
    Posts: 476
    Venutius on in reply to: BP Activity Shortcode Enhancement? #14355

    H Brajesh, thanks for getting back to me, regarding the friends activity list, how would you arrange so that it displayed the activity for the friends of any logged in user? That is the key part I don’t get, would you set role=”friends” ?

  • Participant
    Level: Master
    Posts: 476
    Venutius on in reply to: BP Activity Shortcode Enhancement? #14352

    Hi Brajesh,

    Shouldn’t those last few lines be as follows:

    		// Fetch users for role and use their activity.
    		if ( ! empty( $atts['role'] ) ) {
    			$user_ids        = $this->get_user_ids_by_roles( $atts['role'] );
    			$atts['user_id'] = implode( ", ", $user_ids );
    		}
  • Participant
    Level: Master
    Posts: 476
    Venutius on in reply to: BP Activity Shortcode Enhancement? #14351

    Sorry brajesh, the backticks on the second bit of code don’t seem to be working.

  • Participant
    Level: Master
    Posts: 476
    Venutius on in reply to: [Resolved] BP Friends Suggest Widget #14257

    Good point!

  • Participant
    Level: Master
    Posts: 476

    Hi Brajesh, did you manage to get a chance to look at this? I tried looking at it myself but I got a bit lost.

    The good news is that my skills are coming along, I’ve just submitted my first “real” BuddyPress plugin, it provides a way of managing template overloads in admin, I’ve even included support for BP-Nouveau. Lots of Javascript and AJAX calls, I’m coming along.

  • Participant
    Level: Master
    Posts: 476

    Thanks Brajesh,

    I’ve installed that an it works fine with one exception, It says “(Author) has added a new (Photo)”, I think it should include the name of the image in the link, not just say Photo, so they know it’s relevance prior to clicking on it, as it is it’s a pretty anonymous notification.

  • Participant
    Level: Master
    Posts: 476

    Thanks Brajesh,

    Also, is there a way I can notify the group when a new file is uploaded to a group album?

    As I see it, the desired UX is that any notification email/message should have a link straight to the source content page, to the location the notification is regarding ie. a notification about a new comment should load the page scrolled down to that comment.

  • Participant
    Level: Master
    Posts: 476
    Venutius on in reply to: [Resolved] bp_activity_add not showing profile image #13185

    I was simple syntax, I left it for a while then when I came back I was able to fix it in one.

  • Participant
    Level: Master
    Posts: 476
    Venutius on in reply to: [Resolved] bp_activity_add not showing profile image #13183

    I’ve sorted this one now.

  • Participant
    Level: Master
    Posts: 476
    Venutius on in reply to: [Resolved] bp_activity_add not showing profile image #13171

    Hi Brajesh, sorry to bother you but I have another related question.

    With the above code the post title is not a clickable link and neither is the post authors name. but for a new pst entry in Activity these are clickable. How would I achieve the same? I’ve tried no end of <a href combinations but while they do not cause an error neither do they deliver the required result.

    Thanks