Search Results for 'buddypress'
-
Search Results
-
I created dynamic menus to the Buddy Press groups using the following code
`$url = site_url().”/groups/”.$groupslug;’
The $url variable has the correct variable, but while clicking from there, wordpress switches to the intended group, but I get a warning that says –
“Notice: bp_nav was called incorrectly. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see Debugging in WordPress for more information. (This message was added in version 2.6.0.) in /home/…/functions.php on line 3897”I dont get the same warning when I click through the normal buddpress pages.
I’m building a theme and found that
bp_is_user_forums()doesn’t return true and the related template is never loaded. Meaning thatmy-theme/buddypress/members/single/forums.php and /forumsare redundant.Also,
my-theme/buddypress/members/single/plugins.phpis the file being used to render user replies, topics, subscriptions and favorites.This is a bit of a problem, as I need control over the markup here.
So my question is, are there any template tags to pick up on BBPress forums at profile level and serve custom templates? If so, could you please show me how. I’m sorta stuck.
Topic: Link páginas Buddypress
Olá! Estou tendo o seguinte problema no meu site (http://realptl.portugueslivre.org/realptl/) com o Buddypress: ao clicar sobre a página “membros” ou “atividade”, abrem normalmente. No entanto, logo depois, quando clico sobre outra página, aparece o mesmo link da página “membro” ou da página “atividade” e não a página solicitada. Por que isso acontece e como resolver?
Obrigada!Hi, I’m using Buddypress Version 2.5.3 and WordPress 4.5.2.
I’m running a multisite wordpress installation, Right now I’m trying to exclude the suscribers in the members directory, this is the code i found:
function bpdev_exclude_users($qs=false,$object=false){ //list of users to exclude if($object!='members')//hide for members only return $qs; $excluded_user = implode(',',get_users('role=subscriber&fields=ID')); $excluded_admins = implode(',',get_users('role=administrator&fields=ID')); //$excluded_self=bp_loggedin_user_id(); $args=wp_parse_args($qs); //check if we are searching for friends list etc?, do not exclude in this case if(!empty($args['user_id'])) return $qs; if(!empty($args['exclude'])){ $args['exclude']=$args['exclude'].','.$excluded_user; $args['exclude']=$args['exclude'].','.$excluded_admins; //$args['exclude']=$args['exclude'].','.$excluded_self; } else { $args['exclude']=$excluded_user; if(!empty($args['exclude'])) $args['exclude']= $args['exclude'].','.$excluded_admins; else $args['exclude']=$excluded_admins; //$args['exclude']=$excluded_self; } $qs=build_query($args); return $qs; } add_action('bp_ajax_querystring','bpdev_exclude_users',20,2);but right now, the get_users function won’t show any subscriber because there are not suscribers on this site, but on the other ones. Anyway, the buddypress is showing all users including the ones in the other sites.
any hint?
Thanks
Some themes are designed for BuddyPress. They have app-like header menus like what you’ll find on Facebook, Twitter, Quora, ProductHunt, etc.
What are the typical features of such header menus?
– AJAX search
– live notifications
– profile dropdownThat’s a standard formula formula for web apps these days: http://imgur.com/10lKZnK . In one bar: you have the logo, an AJAX search, a notification dropdown with an unread counter, and user profile dropdown.
This forum has 2 of them integrated with the menu, while BuddyPress on default WordPress websites adds this to the wp-admin bar on top.
Some themes display these very well:
– http://imgur.com/zqw5kRd
– http://imgur.com/XJihK17How do I get this effect on any custom theme? Are there plugins for these search, notification, and profile features?
After the BP 2.6 update(s) I still can’t getting the BP Group Hierarchy plugin to work again on my Boss theme. Even with the recommended fix (https://github.com/ddean4040/BP-Group-Hierarchy/pull/21/files) I am still getting the fatal error:
Fatal error: Class ‘BP_Groups_Component’ not found in [….]/wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-loader.php on line 6
Anyone know what the problem could be? – Some others seem to have a similar problem:
https://wordpress.org/support/topic/breaks-boss-theme-with-buddypress-261WP 2.5.3/BP 2.6.1.1/Boss 2.2.1
Dear All,
I hope someone can point me a clue regarding the following:
I have just installed WP 4.5.3 along with only Buddypress 2.6.1.1 activated, when I tried to access members/admin/profile/, it just returned 404 page. I have tried with different themes, the same issue still existing.
I tried to investigated the problem using the debug script from r-a-y, it just showed:
Array ( [component] => profile )Thanks and best regards,
Jobi
Hi,
I was working on an updated theme for my blog on my staging server (WPEngine) but when I moved all files & DB to the production install, the slug for any Buddypress menu link I add changed from being:
http://educadme.staging.wpengine.com/members/admin/groups/
To
http://educad.me/somaia-hosam-triggered-wp_login-1x/admin/groups/The “somaia-hosam-triggered-wp_login-1x” slug seems to be for an achievement custom post of BadgeOS.Tried disabling BadgeOS without success.
I’ve read somewhere that a similar issue existed in some of the older versions where urls are leading to 404 errors but not sure if it is related.
Anyone had a similar issue?
Thanks!
I’m currently trying to bring the number of comments shown below a post from 5 to 2. I’ve updated the following lines in ‘global.js’, but the feed still outputs 5 comments below each activity item.
(global.js line 1490)
if ( jq(this).children('ul').children('li').length < 5 ) return;to
if ( jq(this).children('ul').children('li').length < 2 ) return;(global.js line 1502)
if ( i < comment_lis.length - 5 ) {to
if ( i < comment_lis.length - 2 ) {I’m running a vanilla install of BuddyPress 2.6.1.1 on WP 4.5.3, so I’m assuming my logic is incorrect in how I’m trying to bring the comment count down. Any help would be massively appreciated as I’ve hit a bit of a brick wall.
Cheers, Graeme