Search Results for '@mention on profile'
-
AuthorSearch Results
-
April 29, 2011 at 5:21 am #111298
In reply to: ”BuddyPress is confusing”
Michael EisenwasserParticipantI 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.April 29, 2011 at 5:11 am #111296Michael EisenwasserParticipantHere’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.
April 29, 2011 at 5:01 am #111294In reply to: @mentions is confusing to members
Michael EisenwasserParticipantI 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.
April 29, 2011 at 4:58 am #111293Michael EisenwasserParticipantYou 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.
April 24, 2011 at 2:47 pm #110868msullens88MemberThis 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!
April 14, 2011 at 5:53 am #110205embergermediaMember@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
March 18, 2011 at 1:22 pm #108146In reply to: JobRoller + BuddyPress errors
VirtualiParticipant@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?
March 7, 2011 at 7:30 pm #107101In reply to: user_nicename in messaging
modemlooperModeratorDid 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 @stevieGMarch 2, 2011 at 3:22 am #106636In reply to: Only small letter in usename when register
VirtualiParticipantThey 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.
January 13, 2011 at 6:25 pm #102774@mercimeParticipant=== 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.
January 13, 2011 at 4:36 pm #102770hugoParticipantyes @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
January 11, 2011 at 6:22 am #102539January 10, 2011 at 10:36 pm #102518hugoParticipantwhy isnt this core? and i tried to use the tutorial and it was a big FAIL!
January 3, 2011 at 5:06 pm #101779efrik07MemberGood! 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 – hnlaDecember 18, 2010 at 6:54 am #100875In reply to: Minor @mention admin flaw.
VirtualiParticipantNovember 23, 2010 at 6:10 am #98974nit3watchParticipantthanks Ill check it out
edit: Ta works great
November 22, 2010 at 11:38 pm #98941modemlooperModeratorIt’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/
October 30, 2010 at 2:20 pm #96994Boone GorgesKeymasterHere’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.
September 30, 2010 at 1:43 am #93810In reply to: @mentions is confusing to members
r-a-yKeymasterOkay, 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):
September 17, 2010 at 2:35 pm #92714In reply to: Feature Request – Profile Galleries?
Roger CoathupParticipantWith 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
August 19, 2010 at 5:25 am #89643In reply to: Singular Activity Stream
alanchrishughesParticipant@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.
August 2, 2010 at 2:39 am #87710alanchrishughesParticipant@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.
July 30, 2010 at 2:38 am #87447lu5dxParticipantWow! @mercime !!!!!!! Thanks so so much for your post. Heading to modify what’s necessary right now. Regards!
July 30, 2010 at 1:52 am #87439@mercimeParticipantHere’s a tutorial to do that – http://buddydev.com/buddypress/using-activity-as-wire-in-buddypress-1-2-themes/
July 30, 2010 at 1:09 am #87429lu5dxParticipantI’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
-
AuthorSearch Results