Search Results for 'buddypress'
-
Search Results
-
Hi folks, my client’s site runs a heavily customised Buddypress 2.1.2 but they’ve run into several issues. These are:
1) The profile information for site members is repeated:

2) Despite the user’s birthdate being a required field in the settings, during registration the field doesn’t appear


If anyone can possibly help with these two conundrums it’ll be much appreciated.
Hey guys,
I’ve just updated to the latest BP version and now it’s throwing this fatal error when displaying groups:
Fatal error: Call to a member function add_nav() on a non-object in /home/…/public_html/modules/buddypress/bp-core/bp-core-buddybar.php on line 155
Need fix please.
ThX
Kookidooki
Hello – I have the latest WordPress version installed along with the latest Woffice theme update. However when I update buddypress to the latest version 2.6.0 the whole site breaks and this error appears:
Fatal error: Call to undefined function bp_get_current_group_id() in /home/.../public_html/.../wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484Any thoughts?
I’am able to get the site working again, when I restore to a saved backup…
ThanksTopic: New Navigation API
Reference: If you are directly accessing buddypress()->bp_nav or buddypress()->bp_options_nav, be aware that this type of access will be deprecated in 2.6.0
i am ordering the tabs using the following 2 codes in bp-custom.php
function bbg_change_profile_tab_order() { global $bp; $bp->bp_nav['activity']['position'] = 10; } add_action('bp_setup_nav', 'bbg_change_profile_tab_order');function my_bp_groups_forum_first_tab() { global $bp; $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['position'] = 1; } add_action('wp', 'my_bp_groups_forum_first_tab');what would change in the code to make it work for bp 2.6
kindly advise.
Thanks
Topic: Color text in status updates
I found this code online, and I would like to use it in my BuddyPress installation.
<?php function MineToWeb($minetext){ preg_match_all("/[^§&]*[^§&]|[§&][0-9a-z][^§&]*/", $minetext, $brokenupstrings); $returnstring = ""; foreach ($brokenupstrings as $results){ $ending = ''; foreach ($results as $individual){ $code = preg_split("/[&§][0-9a-z]/", $individual); preg_match("/[&§][0-9a-z]/", $individual, $prefix); if (isset($prefix[0])){ $actualcode = substr($prefix[0], 1); switch ($actualcode){ case "1": $returnstring = $returnstring.'<FONT COLOR="0000AA">'; $ending = $ending ."</FONT>"; break; case "2": $returnstring = $returnstring.'<FONT COLOR="00AA00">'; $ending =$ending ."</FONT>"; break; case "3": $returnstring = $returnstring.'<FONT COLOR="00AAAA">'; $ending = $ending ."</FONT>"; break; case "4": $returnstring = $returnstring.'<FONT COLOR="AA0000">'; $ending =$ending ."</FONT>"; break; case "5": $returnstring = $returnstring.'<FONT COLOR="AA00AA">'; $ending =$ending . "</FONT>"; break; case "6": $returnstring = $returnstring.'<FONT COLOR="FFAA00">'; $ending =$ending ."</FONT>"; break; case "7": $returnstring = $returnstring.'<FONT COLOR="AAAAAA">'; $ending = $ending ."</FONT>"; break; case "8": $returnstring = $returnstring.'<FONT COLOR="555555">'; $ending =$ending ."</FONT>"; break; case "9": $returnstring = $returnstring.'<FONT COLOR="5555FF">'; $ending =$ending . "</FONT>"; break; case "a": $returnstring = $returnstring.'<FONT COLOR="55FF55">'; $ending =$ending ."</FONT>"; break; case "b": $returnstring = $returnstring.'<FONT COLOR="55FFFF">'; $ending = $ending ."</FONT>"; break; case "c": $returnstring = $returnstring.'<FONT COLOR="FF5555">'; $ending =$ending ."</FONT>"; break; case "d": $returnstring = $returnstring.'<FONT COLOR="FF55FF">'; $ending =$ending ."</FONT>"; break; case "e": $returnstring = $returnstring.'<FONT COLOR="FFFF55">'; $ending = $ending ."</FONT>"; break; case "f": $returnstring = $returnstring.'<FONT COLOR="FFFFFF">'; $ending =$ending ."</FONT>"; break; case "l": if (strlen($individual)>2){ $returnstring = $returnstring.'<span style="font-weight:bold;">'; $ending = "</span>".$ending; break; } case "m": if (strlen($individual)>2){ $returnstring = $returnstring.'<strike>'; $ending = "</strike>".$ending; break; } case "n": if (strlen($individual)>2){ $returnstring = $returnstring.'<span style="text-decoration: underline;">'; $ending = "</span>".$ending; break; } case "o": if (strlen($individual)>2){ $returnstring = $returnstring.'<i>'; $ending ="</i>".$ending; break; } case "r": $returnstring = $returnstring.$ending; $ending = ''; break; } if (isset($code[1])){ $returnstring = $returnstring.$code[1]; if (isset($ending)&&strlen($individual)>2){ $returnstring = $returnstring.$ending; $ending = ''; } } } else{ $returnstring = $returnstring.$individual; } } } return $returnstring; } ?>I run a Minecraft themed social networking site so I thought it would be a cool idea to integrate this function into status updates (Minecraft Wiki).
In theory people will post:
§4This is red text and it’ll get saved as is in the database, but it will show in color in activity feeds.
The thing is that BuddyPress blocks font tags in status updates.
I’m going to share with you some different techniques I tried:
I went inside activity/entry.php and inputted the function at the top of the file, and then I replaced
<?php bp_activity_content_body(); ?>With:
<?php MineToWeb(bp_activity_content_body); ?>That was a no go.
I also tried editing bp-activity/bp-activity-functions.php but there is so many references in the file and I’m not even entirely sure where to look. All I accomplished with editing this file is that it strips the § from the status update before submitting it to the database (which is the complete opposite of what I want), and it doesn’t make it colorful.
Anybody familiar with BuddyPress? Wanna lend me a hand? Thanks a bunch.
Topic: Cannot create groups
Using buddypress 2.6/Wordpress 4.5.3
Since i updated my version of buddypress i can no longer create groups. After finishing the group and clicking ‘create’ group, it redirects to me a page stating this:
“Fatal error: Call to a member function add_nav() on a non-object in /home1/newsigan/public_html/wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php on line 155”
This appears to be an issue within the Buddypress core?
BuddyPress 2.6.0 “Espejo” is now available! https://buddypress.org/2016/06/buddypress-2-6-0/
Check out the changelog for more information.
—
Issues with BuddyPress 2.6.0:
BP Group Hierarchy causes a fatal error
BP Group Hierarchy needs to be updated to work with the new Navigation API. Manually apply this fix:
https://github.com/ddean4040/BP-Group-Hierarchy/pull/21/files—
Custom notifications displaying an array
Reported here:
https://buddypress.org/support/topic/notifications-displaying-array/This will be fixed in BuddyPress 2.6.1. In the meantime, you can apply this patch temporarily to fix things:
https://buddypress.trac.wordpress.org/attachment/ticket/7141/7141.01.patch—
Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484
We’re currently investigating this issue.
There is a proposed fix here:
https://buddypress.trac.wordpress.org/attachment/ticket/7140/7140.01.patchBuddyPress 2.6.0 “Espejo” is now available! https://buddypress.org/2016/06/buddypress-2-6-0/
Check out the changelog for more information.
Howdy
As the title says, I’m trying to do that because I want to have two types of groups one for groups and other for workplaces. In workplaces I want to use BuddyPress Announce Group so I copied all the files off BuddyPress that contain the word groupsand replace with workplaces, and also changed all the files named with group. It didn’t work :
( when I activate BuddyPress plugin it gets a lot of errors like `Warning: require(C:\Users\Roger\Server\www\wp2\wp-content\plugins\buddypress\bp-xprofile/classes/class-bp-xprofile-workplace.php): failed to open stream: No such file or directory in C:\Users\Roger\Server\www\wp2\wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-classes.php on line 13
`I made sure to change all the files, one by one but it did not work.
Can aybody help me? 🙂
I want to “duplicate” the group component, having Groups and Workplaces and Workplaces will use BuddyPress Announce Group (Workplace)
Thanks a lot !