Forum Replies Created
-
@juanmaguerrero por favor, I’d also need the tutorial
Thanks !
Thank you again !
I’ll try to implement this but in the meanwhile I’ll just allow links. I don’t imagine this being a security threat.
Cheers !
Try this:
On functions.php
add_filter( ‘bp_dtheme_ajax_querystring’, ‘limit_activity_posts’, 15, 2 );
function limit_activity_posts( $query_string, $object ) {
if( ‘activity’ == $object ) {
$query_string = add_query_arg( ‘per_page’, 5, $query_string );
}
return $query_string;
}It’s working for me, thanks to the guys of Huddle Theme
@boonebgorges I’ve tried and it worked but I didn’t have in mind that mentions also use html to link to users, so using strip_tags is also removing that ``.
I’d like to allow @mentions and links but not the explicit use of ``. Would that be possible ?
Thanks again !
@boonebgorges thank you very much ! I’ll try this
@boonebgorges thanks for replying
Activity update’s comment boxes.
I’m using Huddle (http://themeforest.net/item/huddle-wordpress-buddypress-community-theme/835549) but I’ve asked on the forums and the answer was:
“This was the default functionality from BuddyPress original theme, and we kept this.
We don’t plan to do this soon, but if this functionality will be added we will announce this on forum”@ChrisClayton I’m still working on this
An issue I’ve noticed is that for some reason I cannot find, some activity buttons like add to favorites or comment are not working. For example, if I try to add an activity update to my favorites, it actually sends me to the URL http://mysite.com/activity/favorite/218/?_wpnonce=a067fd9559
I’ve checked and the URL is the exact same one that appears on other screens and the link works just fine (it applies some jQuery, I believe) but on this new page it takes me to that URL which is a 404.
Thank you again
@modemlooper really glad to read that
Cool ! I’ve tried it but it didn’t work
Where should I add that code ?
@ChrisClayton you are a genius, man !
It worked out of the boxQuick question:
I’ve added your code to functions.php and it loaded perfectly, but I’d like to turn it into a function (so it’s a little less messy ). What hook should I use ? (I mean which `add_action()` )Thabk you so much again !
+1
+1
Maybe this could help: https://wordpress.org/extend/plugins/buddypress-profile-progression/
+1 on this, please. It would be nice to also open it in a lightbox window
@marcella1981 +1 plugin
Great plugin ! thanks !!
Look for the plugin buddypress-disable-activation, may be it will help you
Actually, I think you should add that to /plugins/bp-custom.php (would work anyway)
Hey @djpaul, thanks !
Actually I want to get it in the format `20 hours, 19 minutes ago`. I tried
`bp_core_time_since(bp_activity_date_recorded());`
But it’s not working
Of the top of my head, start by getting the id of the user that’s browsing:
`bp_loggedin_user_id()`
Thanks !
Hey ! try this:
`if ( bp_has_activities( ‘scope=friends’ ) || bp_has_activities( ‘scope=favorites’ )) :`
@billieTS @ultimateuser no I want to know how to do the RSS thingy could you point me out in any direction ?