Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '@mention on profile'

Viewing 25 results - 51 through 75 (of 91 total)
  • Author
    Search Results
  • #111298
    Michael Eisenwasser
    Participant

    I have long thought BuddyPress was confusing, and so I decided to take on the task of building a theme that would solve every issue I have with BuddyPress. It can be downloaded at http://www.buddyboss.com.

    1. Groups and Forums are combined in an INTUITIVE way on my theme. It finally makes sense!
    2. @mentions are gone. In their place is a TRUE Facebook wall on every profile. Post on friend’s profiles and status updates with threaded comments. You’ve got to try it to see how sweet it is :)
    3. Stripped out all of the nonsense that adds to BuddyPress’ general chaos, and what’s left is a simple and enjoyable experience.

    Michael Eisenwasser
    Participant

    Here’s the answer! It has always frustrated me how @mentions work in BuddyPress as I find it chaotic and confusing for users. So I built a theme that converts the @mentions system into a TRUE Facebook wall with post to profile and threaded replies. If you every need to, at any time you can deactivate our Wall Component from the dashboard and your content will revert to @mentions, You can download the theme at http://www.buddyboss.com.

    #111294
    Michael Eisenwasser
    Participant

    I created a theme that comes with a true Facebook wall. It converts all @mentions into Wall posts that can be replied to and threaded on your profile and is extremely intuitive to use, and it makes use of some of the code in R-a-y’s plugin. You can get it at http://www.buddyboss.com.

    Michael Eisenwasser
    Participant

    You might want to try the BuddyBoss theme at http://www.buddyboss.com. It has a built in Wall on user profiles. Images and video can be added via oEmbed for BuddyPress, and the wall functions like a true Facebook wall in terms of how the conversation flows. It converts @mentions into wall posts so the BP Gallery plugin could potentially be integrated if you know what you’re doing.

    msullens88
    Member

    @embergermedia

    This is how I got the mentions in the profile activity feed.

    Edit the file bp-activity-classes.php in the buddypress plugin folder.

    `function get_filter_sql( $filter_array ) {
    global $wpdb;

    if ( !empty( $filter_array ) ) {
    $user_filter = explode( ‘,’, $filter_array );
    $user_sql = ” ( a.user_id IN ( ” . $filter_array . ” ) “;
    foreach ( $user_filter as $user_id ) {
    $search_terms = ‘@’ . bp_core_get_username( $user_id ) . ‘<';
    $user_sql .= “OR ( a.content LIKE ‘%%”.like_escape($search_terms).”%%’ ) “;
    }
    $user_sql .= ” ) “;
    $filter_sql[] = $user_sql;
    }`

    and replace this first top half of the function, No need to edit past the first “if” part of that function.

    Hope this helps!

    @msullens88 How did you combine @mentions, status updates, photos from bp-gallery into one activity feed? I have been looking for the answer to this for weeks. I have an activity feed on a users profile, but can’t get @mentions to show.

    Your help would be greatly appreciated!

    Thanks

    -Paul

    #108146
    Virtuali
    Participant

    @mercime, it’s because the @mention was after the excerpt on the profile activity stream. It’s weird.

    Notice how our posts are somewhat indented?

    #107101
    modemlooper
    Moderator

    Did you change the login name via a plugin or in the database? I’m looking at your site and the @mentions name in the usernav
    is different –> @BNIWAdmin when the profile header says @stevieG

    #106636
    Virtuali
    Participant

    They are not 2 different kinds of usernames.

    The “username” is for the @mentions.

    Then, additionally, there are “real names” or, “profile names” that are displayed across the site.

    @mercime
    Participant

    === the budypress.org site is not a clear representation of a budypress site : ===

    http://testbp.org/ is a clear representation of a default install of BuddyPress as noted in Codex. And the wall/wire was in the core of BuddyPress plugin pre-BP 1.2 version. Don’t know why it was removed.

    hugo
    Participant

    yes @mercime i understand that, but the point is not that it didn’t work with me at first, the point is why it is a feature here on the budypress site and not easily available on the core package/theme, so here they think its a good feature, but on all the other budypress sites its not, or if you want it, you have to hack it in to have something similar, doesn’t make sense… basically the budypress.org site is not a clear representation of a budypress site :

    @mercime
    Participant

    fanvid, You could always ask for assistance / leave comment at @sbrajesh site

    hugo
    Participant

    why isnt this core? and i tried to use the tutorial and it was a big FAIL!

    efrik07
    Member

    Good! try and keep to lowercase syntax
    Link removed – not sure the purpose of this link or the comment could you explain please @mention me on my profile – hnla

    #100875
    Virtuali
    Participant

    What I am talking about is the administrator account. The mention identifier is “ @admin” Right next to name,

    My admin account username for wordpress is different, therefore the mention not being correct as “ @admin“, as it shows on my profile.

    Does this make sense?

    #98974
    nit3watch
    Participant

    thanks Ill check it out

    edit: Ta works great

    #98941
    modemlooper
    Moderator

    It’s custom and there was a tutorial awhile back that did something similar http://buddydev.com/buddypress/using-activity-as-wire-in-buddypress-1-2-themes/

    Boone Gorges
    Keymaster

    Here’s how buddypress.org does it, with a filter that essentially adds a search term ‘ @username‘ to the bp_has_activities filter:
    `function bporg_activity_with_others_filter( $qs ) {
    global $bp;

    $user_id = ( bp_displayed_user_id() ) ? bp_displayed_user_id() : bp_loggedin_user_id();

    /* Only filter on directory pages (no action) and the following scope on activity object. */
    if ( ( ‘dashboard’ == $bp->current_action && strpos( $qs, ‘personal’ ) !== false ) || ‘just-me’ == $bp->current_action ) {
    if ( strpos( $qs, ‘filter’ ) === false )
    $qs .= ‘&search_terms=@’ . bp_core_get_username( $user_id ) . ‘<';

    return $qs;
    } else {
    return $qs;
    }
    }
    add_filter( ‘bp_ajax_querystring’, ‘bporg_activity_with_others_filter’, 11 );`

    The problem with this approach is that the search bypasses the private/hidden group setting, so activity created inside of a group will show up on public profile pages if it contains @username in it. Here’s a filter that gets around it about halfway, in a hackish way:
    `function bporg_ensure_hidden_activity_updates( $has_activities ) {
    global $activities_template, $bp;

    if ( bp_is_my_profile() || !$bp->displayed_user->id )
    return $has_activities;

    foreach( $activities_template->activities as $a_key => $a ) {
    if ( $a->type != ‘activity_update’ && $a->type != ‘activity_comment’ )
    continue;

    if ( $a->component != ‘groups’ )
    continue;

    $group = new BP_Groups_Group( $a->item_id );

    if ( $group->status != ‘public’ ) {
    unset( $activities_template->activities[$a_key] );
    $activities_template->total_activity_count = $activities_template->total_activity_count – 1;
    $activities_template->activity_count = $activities_template->activity_count – 1;
    }

    $activities_template->activities = array_values( $activities_template->activities );
    }

    return $has_activities;
    }
    add_filter( ‘bp_has_activities’, ‘bporg_ensure_hidden_activity_updates’, 999 );`

    This latter problem should be fixed in BP 1.3.

    #93810
    r-a-y
    Keymaster

    Okay, so I’ll probably create a plugin for this in the coming week or two. Please remind me if I don’t get to this!

    @dougjoseph – Your ideas have been discussed before.

    Read this blog post on BuddyDev.com to post on a user’s profile (mirroring the functionality of bp.org):

    Using activity as wire in Buddypress 1.2 themes

    #92714
    Roger Coathup
    Participant

    @thelandman, @hitler

    With some template coding, you can enable writing on other people’s walls – it’s done on this site for instance… click through to any member, and you’ll see the post box at the top!

    I haven’t looked in to the coding, but suspect it’s just a ‘simple’ case of hiding the @mention ‘behind’ the post form

    #89643
    alanchrishughes
    Participant

    @Modemlooper I guess that is what i was trying to ask, how would one go about adding things like @mentions to the default profile stream. I got that post to user’s wall thing going which is nice, but then it is directed to the @mentions tab still.

    alanchrishughes
    Participant

    @r-a-y actually I guess I mean without having to select between “Personal” “Friends” “Groups” “Favorites” “@mentions” I don’t know why I threw blog comments in there.

    lu5dx
    Participant

    Wow! @mercime !!!!!!! Thanks so so much for your post. Heading to modify what’s necessary right now. Regards!

    @mercime
    Participant
    lu5dx
    Participant

    I’d love to have that feature too! buddypress.org has that feature. Under each profile there is a form for us to post comments directly to friends. I’d like to be able to do that in my site.

    Regards.

    Martin

Viewing 25 results - 51 through 75 (of 91 total)
Skip to toolbar