Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile Comments with BP 1.2

  • Avatar of xspringe
    Xspringe
    Participant

    @xspringe

    With BP 1.2 I no longer see an easy way to leave a comment on the profile of a user. Why not simply allow people to post a comment directly into the activity stream on the user profile?

    It’s already possible to comment on an activity in the stream, so adding the ability to post a message directly into the activity stream would be a logical extension of that. It offers a clean and unified solution (instead of having a separate comments page and/or section). Not to mention that the majority of visitors will already be familiar with this approach to commenting.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Avatar of Nick Watson
    Nick Watson
    Participant

    @nickbwatson

    I definitely agree with this. I’ll have a look around and see if I can find something myself, but other than that, I hope they add something back in.

    I understand that they wanted the @mentions to become the new way of commenting on someones wall, but you can post directly onto groups… so why not a member page as well.

    Like you said it’s more familiar to people. They just need to bring back the “wire”

    Avatar of Tore
    Tore
    Participant

    @toregus

    I miss it too!

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Go to BuddyDev.com and download Brajesh’s BP-Wire port.

    It won’t do exactly what you want and it requires the “wire” directory from the old BP 1.1.3 default theme in your theme directory, but give that a shot.

    Avatar of Boone Gorges
    Boone Gorges
    Keymaster

    @boonebgorges

    Yeah, it’s a bit of a change, isn’t it?

    My strategy for making the transition easier for my users is two-fold:

    1) Make the profile the default view for users (rather than activity), by adding

    define( 'BP_DEFAULT_COMPONENT', $bp->default_component = 'profile' );

    to wp-config.php

    2) Adding the @mentions profile tab, plus some explanatory text, to the members/single/home.php template in my child theme. Thus, right below

    <?php locate_template( array( 'members/single/profile.php' ), true ) ?>

    I’m adding

    <h4><?php bp_displayed_user_fullname(); ?>'s mentions</h4>
    <p>Whenever anyone posts an update on this site containing <?php bp_displayed_user_fullname(); ?>'s handle (<strong>@<?php bp_displayed_user_username() ?></strong>), it shows up as a public message below.</p>

    <p>Want to leave your own public message for <?php bp_displayed_user_fullname(); ?>?

    <div class="generic-button" id="post-mention" >
    <a href="<?php bp_send_public_message_link() ?>" title="<?php _e( 'Mention this user in a new public message, this will send the user a notification to get their attention.', 'buddypress' ) ?>"><?php _e( 'Mention this User', 'buddypress' ) ?></a>
    </div>

    followed by the activity loop, taken right from bp-default/activity/activity-loop.php, but with the following relevant modification: the arguments for bp_has_activities are

    <?php if ( bp_has_activities( 'scope=mentions' ) ) : ?>

    (You’ll have to do some styling to make it look right, but you get the idea.)

    It’s not an exact duplication of the Wire – I’ve tried to embrace the new @mention stuff, while still capturing the “leave a note for me” spirit of the Wire.

    Avatar of Nick Watson
    Nick Watson
    Participant

    @nickbwatson

    Thanks Boone Gorges, I’ll give it a go and see how it works out.

    My main problem was the confusion when people come to a profile wanting to comment, so I think this’ll solve that.

    Thanks

    Avatar of xspringe
    Xspringe
    Participant

    @xspringe

    It’s a shame that the core implementation in BP forces you to use a twitter like @mention system for leaving comments on other people’s profiles. It’s not very user friendly for this specific purpose. One of the main reasons so many people that use twitter rely on third party software (connected through the twitter API) is to make the @mention system more manageable and usable, yet BP has this system as the only available option (and without third party applications to make it more usable).

    The current BP system doesn’t allow you to use the two most popular and common methods of commenting onto the profile of a user. One method is directly posting a comment into a user’s activity stream (e.g. like on facebook), the other method is leaving a comment at a specific separate section (usually at the bottom) of a user profile. By far the most social networks use either the facebook or myspace style method for commenting on user profiles, and as such this is what most people are most familiar with. It’s a shame that the twitter based @mention system, which is relatively unpopular and quite difficult to use for this specific purpose, is the only available option in BP core.

    Who else thinks that it would be a good idea to at least have the option to opt for alternate type profile commenting as part of the BP core system?

    Avatar of Boone Gorges
    Boone Gorges
    Keymaster

    @boonebgorges

    The debate about the wire vs activity stream has happened several times already on this board, so it’s probably not worth rehashing it, though for what it’s worth xspringe I think you make some fair points.

    For the moment, if you want to keep the wire, use the backward compatibility plugin: http://wordpress.org/extend/plugins/buddypress-backwards-compatibility/

    Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    Someone just needs to write a good wire plugin and those who want “leave a comment directly on a profile” functionality can use this.

    Avatar of gangesh
    gangesh
    Participant

    @gangesh

    hi all,
    is there some way to enable email notification when a user is mentioned in any comments of a post ?
    Right now it only works when a user is mentioned on activity stream.

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

You must be logged in to reply to this topic.