Hi, I am new on this, I am using a custom theme on wordpress that I did. I would like to have a register page for users but I am not sure if I can do this in similar way of WordPress functions (like the_content(), the_excerpt(), comments_template() … etc). Thanks in advance, I use BuddyPress 2.5.1 and wordpress 4.4.2
We are having problems with the side bar.. working with Divi and integrating BuddyPress (although not using the Divi Theme builder as that seems to be not possible)
See: http://bittunes.co.uk/members/blake/ This side bar turns up no matter what we do, and we can’t seem to get any widgets to display in there.. However, Widgets are displaying in the main Member’s page.. see: http://bittunes.co.uk/members/
It would be great to be able to not have this side bar on some pages, but I can’t see how to turn it off.
We are also really wanting to put header images on some pages.. but this also seems to be very difficult.. The frustrating thing is that these seem like trivial things… and one might expect that there would be known fixes for them, or that customization allowing these kind of changes would be native to the program..
Hi,
you tried the complicated way. 😉 Let’s do it simple & stupid (it’s easter).
Assuming you want to link only to one group, whatever the post.
1) simplest way
Pick up the join group url by hovering over the button on the group directory.
Something like your-site.com/groups/group_name/join?_wpnonce=5b8355ee81d
Above the post, write “Join group X” as text and add the url. You’re done !
2) lazy way
add a shortcode button on the text editor (not visual), with button text and url.
Add both snippet to bp-custom.php or child-theme’s functions.php
In this example, my group page is named groupes and the group name is Horseshoe
Change that to your credentials for $href var (see 1) to get the url).
function my_join_button($atts, $content='') {
extract(shortcode_atts(array(
'class'=>'post-join-group' // css class name
), $atts));
$href = get_home_url().'/groupes/horseshoe/join?_wpnonce=6b826ee77d';
$output = '<span><a href=" '. $href .' ">Join the Horse group</a></span>';
if ( $content != '' ) {
$output = "$class $content";
}
return $output;
}
add_shortcode('join_my_group','my_join_button');
/* Add a shortcode button to html (text) editor */
function add_quicktags() { ?>
<script type="text/javascript" charset="utf-8">
QTags.addButton( 'aq_jmg', 'Join my group', '[join_my_group]', '', '', 'Join my group' );
</script>
<?php
}
add_action( 'admin_print_footer_scripts','add_quicktags');
Hi,
I’ve got a website based on Buddypress & a theme called Sweetdate. When someone registers, they enter their profile & extended profile (I am a man, looking for a woman, between age… & age…) etc. If they go to the Members page they can see a list of all other members (demo page http://themeforest.net/item/sweet-date-more-than-a-wordpress-dating-theme/full_screen_preview/4994573). However, I want the search fields at the top of the page (I am a man, looking for, etc.) to be pre-populated with whatever values from the profile/extended profile the member chose when they registered, and then a search made automatically when the page first loads, so that the search results are immediately relevant to that user. Would this be difficult to do?
Many thanks
Version 4.4.2 of WP
http://www.dynamicdigitalpursuits.com/SportsRecruiters
Theme:
Sydney
Plugins:
BuddyPress
BuddyPress Profile Tabs (Deactivated)
Page Builder
s2Member
Sydney Toolbox
Theme My Login
Hello all,
I’ve been creeping around these forums for a few days, but I’m unable to find a post that explains what I’m looking for in any decent detail.
I’m trying to remove one of the xprofile fields from the edit page. My end goal is to limit what fields may be modified by the user, based on their membership level using s2membership. I feel if I can figure out how to hide one field, I’ll be able to go from there.
Now I have found a few posts describing this same action, but the responses seem very vague. What I’ve been trying to do is modify the edit.php file in the “wp-content/plugins/buddypress/bp-themes/bp-default/members/single/profile” directory. I realize that modifying the core files is not the best practice, and this will be replaced with the next buddypress update, but I also have not found a detailed explanation on the proper way to edit these files, so I’m sticking with this for the moment just to see if I can get it working.
I see there is a while loop in this file, and it looks like it iterates for each element in an array containing all of the profile fields. Each iteration grabs the fields type as a string, and compares it to a list of valid options. When a match is found, it performs some html/php magic, and adds a field on the screen to be modified. (php and html are new to me. I am familiar with c++, java, and c#)
modified snippet from file:
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<div<?php bp_field_css_class( 'editfield' ); ?>>
<?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?>
*html/php magic*
<?php endif; ?>
</div>
<?php endwhile; ?>
No matter what edits I make to this file, it does not seem to change anything.
Any information would be great, and I appreciate your time. Thank you.
I have:
WP 4.4.2
bbPress 2.5.8
BuddyPress 2.4.3
Karma theme 3.0.3
The issue I have is when a new user clicks on the email link to activate their registration and is redirected to my site to the included BP confirmation page, but this page has some yellow text boxes. One with text and one empty. how can I make them just not display?

PHP Fatal error: Uncaught Error: Call to a member function groups() on null in local/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:255
Stack trace:
#0 local/wp-content/themes/kleo-child/functions.php(266): bp_groups()
#1 local/wp-settings.php(366): include(‘/Users/Eugene/D…’)
#2 local/wp-config.php(92): require_once(‘/Users/Eugene/D…’)
#3 local/wp-load.php(37): require_once(‘/Users/Eugene/D…’)
#4 local/wp-admin/admin-ajax.php(22): require_once(‘/Users/Eugene/D…’)
#5 {main}
thrown in local/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php on line 255
I placed this code in my theme functions.php file, and it produced this error. Why?
A possible way to achieve what you want.
Networks+ and bp-multi-network
Each network can have absolutely completely separate Activity Streams, Groups, Forums, and sites/blogs as well as separate plugin and theme structures.
I only say MAY because the usermeta is shared and once a user visits another network that user is added to the Members of that network.
However AFAIK users have separate bp-profile data on each network
I fully understand that this may not be exactly what you are looking for but it certainly is a very good start.
Hi,
Copy the line file activity-loop.php into your child theme (maintaining the same file structure), and replace the line:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
with the line:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&per_page=10' ) ) : ?>
Thank you SO much for engaging and for your optimism…
The site is hosted with a small company called Green Web.I have several other sites hosted with them using WP and they all send email form the sites fine. For this reason, I don’t think it’s a server issue. None of these other sites have BP though.
The site that has BP – the one I have the issue with – has a plugin that sends emails to notify about new blog posts: that works fine. Also, other WP admin notifications (password changes, new registrations, etc.) all work fine.
The theme is custom built – but as I mentioned, other types of email notification are working fine with this theme. It’s just the BP email notifications…
I figured out what was causing the redirect – I had “Enable Security” selected in Theme My Login plugin. When I unselected it, it allowed me (when I’m logged out) to access the register page!
I don’t know why when I deactivate the plugin it still causes the issue though.
Either way, it’s a TML issue.
Now I just have to figure out how to exclude the “register” page from the site security.
So glad to at least know the cause!
We should be able to figure this out. 🙂
Where is your website hosted?
Does your site send WordPress emails, without any other plugin activated, and using the default theme? For example, comment moderation / notification emails.
Hi all,
I’m looking to have the option within the #activity-filter-by drop down in the activity stream where I can filter updates for a search term (e.g. MYWORD).
I’ve added: <option value="-2"><?php _e( 'MYWORD', 'buddypress' ); ?></option> into members\single\activity.php in child theme.
I’ve also got the working code below in my bp-custom.php:
function bptest( $retval ) {
if ( bp_is_user_activity() ) {
$retval['search_terms'] = 'MYWORD';
}
return $retval;
}
add_filter( 'bp_after_has_activities_parse_args', 'bptest' );
How can i link the two, so that ONLY WHEN the option is selected in the drop down, the code in bp-custom takes effect and at all other times, there is no filter active?
Many thanks.
WP 4.2.2
BP 2.5.1
Hello!
I changed the colors of my main theme (Twenty Sixteen) to the Dark scheme and now there are still many white elements on BuddyPress pages. Especially annoying are the white .activity-header panes.
Here is a screenshot of the current state: http://goo.gl/FUv8T1
How can I change the color of the .activity-header using CSS? The easy way does not seems to work:
#buddypress .activity-header {
background-color: black !important;
}
Any other ideas? Thank you!
I wouldn’t know funny if I saw it, but here is the only thing relating to redirects or registering that I could tell from my theme’s function.php file. Does any of it look funny to you?
add_action( ‘template_redirect’, ‘twentytwelve_content_width’ );
/**
* Register postMessage support.
*
* Add postMessage support for site title and description for the Customizer.
*
* @since Twenty Twelve 1.0
*
* @param WP_Customize_Manager $wp_customize Customizer object.
*/
function twentytwelve_customize_register( $wp_customize ) {
$wp_customize->get_setting( ‘blogname’ )->transport = ‘postMessage’;
$wp_customize->get_setting( ‘blogdescription’ )->transport = ‘postMessage’;
$wp_customize->get_setting( ‘header_textcolor’ )->transport = ‘postMessage’;
}
add_action( ‘customize_register’, ‘twentytwelve_customize_register’ );
/**
* Enqueue Javascript postMessage handlers for the Customizer.
*
* Binds JS handlers to make the Customizer preview reload changes asynchronously.
*
* @since Twenty Twelve 1.0
*/
function twentytwelve_customize_preview_js() {
wp_enqueue_script( ‘twentytwelve-customizer’, get_template_directory_uri() . ‘/js/theme-customizer.js’, array( ‘customize-preview’ ), ‘20141120’, true );
}
add_action( ‘customize_preview_init’, ‘twentytwelve_customize_preview_js’ );
I also have the WPLMS theme, there is switch in the theme which enables this.
The switch is located in WP Admin – WPLMS – BuddyPress – Member meta info
You can also integrate Gmail for sending Emails using the WP SMTP plugin : http://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/
For the WPLMS theme, the developers are working on migrating their course related emails to Buddypress.
I am also using the WPLMS theme, based on the information I have they’re already working on similar module integrating with this plugin :http://codecanyon.net/item/booked-appointment-booking-for-wordpress/9466968?s_rank=1
I was just taking a shot in the dark, that if line 107 was the one :
if ( $image = genesis_get_image( array( ‘format’ => ‘url’, ‘size’ => genesis_get_option( ‘image_size’ ) ) ) ) {
then change the = to ==.
But the problem maybe something incorrect prior to the = sign. A missing semicolon, bracket etc. Does the function work properly in its original state (i.e. before alterations were made?).
May be useful to ask your theme support as to where the link from Shane should go, as I’m not familiar with it.
Hm….when I copied and pasted your suggested code, I get the following message:
Parse error: syntax error, unexpected ‘=’ in /home/content/p3pnexwpnas06_data03/32/3122732/html/wp-content/themes/streamline-pro/functions.php on line 107
What do you think? How do you think I should adjust this code? Thank you!
I turned off all Plugins except WordPress and Buddypress and this issue still occurs.
Are you sure you disabled all plugins except BuddyPress? If so, check for any rogue code snippets in your theme’s functions.php or wp-content/plugins/bp-custom.php.
Once that is done, delete all registration pages you have set up in WordPress. Create a new WordPress page to be used for BuddyPress registration. Just enter a post title and hit “Publish”. Also, ensure all your pages in the “Pages” trash are deleted.
Next, go to “Settings > BuddyPress > Pages” and set the “Register” page to the page you just created.
You need to get the css selectors for the title and the button to style them. Easily done using the developer tools on your browser (hit F12 in your browser).
Then you’ll have something like this to remove the title:
#idoftitle {
display: none;
}
and to style your button something like:
#idofloginbutton {
border: 1px solid #ff00ff;
border-radius: 4px;
background: #ff00ff;
color: #fff;
}
etc.
There are lots of variables that go into styling so the above are just examples. Put your custom code in your style.css file within your child theme and your changes will show.
Hi,
you have to debug your install. It’s probably a theme conflict or a cache issue, related to a content.
Activate a twenty theme and deactivate all your plugins except BuddyPress and clear your cache. Test WP+BP+Theme. If ok, reactivate plugins one by one untill you find a culprit.
Please take advice from here.
Hello, I’m in the process of building a social network (thanks buddypress!!) and I’m literally just about to launch it, but all of a sudden now I’m having issues with replying to activity feed updates. Actually, it seems that it replies fine because I get a notification email of the reply, however, when I view the activity update, there are no comments. Also, when submitting the comment, the comment doesn’t post – it just comes up with the error: ‘There was an error posting your reply. Please try again.’
I have tried deactivating every plugin I have installed – no change. I’ve tried deactivating all plugins, and reverting to TwentySixteen theme – no change. I have even uninstalled BuddyPress completely, and then re-installed it – still getting the error.
The weirdest part about it is that is was working just fine just a couple weeks go when I last tested the commenting. Since then, I’ve continued to build the website, add features, style, etc. and now all of a sudden the commenting stopped working.
I’m very frustrated because I’ve spent so much time building this website, to be ready to launch it, and now one of the most key components to a social network – the commenting – is not working.
Thank you for your help!
http://ojaihealingnetwork.com/
Wordpress:4.4.2
Buddypress: 2.5.1
Theme: Child Theme of DynamiX