Hmmm, Generally I say if you want to hack a theme, just make your own. Of course you could always make a quick little child theme for theme x and that would be perfectly fine, but hacking into the themes files wouldn’t be recommended. If they were to update the theme all your changes would probably be wiped out.
As far as tutorials and theme development stuff goes for BuddyPress, simply google it. There are a lot of sites and pages on the subject. You do have to be aware that a lot of the tutorials out there are older and are using depreciated code snips and tags. You just have to study the codex and find relevant items, understand how to break files down and get a good handle on template parts and css. BuddyPress does have some hard coded functions that make certain filters, hooks and actions fire before or after certain template items. Not sure why they do that but it just means you might want to look into hooks, filters and actions, lol. Also be aware of the switch cases. They can be fun to play with. It can be over whelming at first but everyone I have ever taught to build themes picked it up quick and most on their own.
Thank you for the reassurance! I’m glad to hear all of that. Is there any tutorials or pages you recommend for the breakdown of BuddyPress and CSS / Template files? And I’ve been looking into coding my own theme, looks promising. Would X theme be a good choice for me so I can customize the way everything looks in their root files?
Everything your hoping for is well within the capabilities of Buddypress. It can be as simple or as complex as you make it. If your going to use a theme, remember that you would be locked into what that theme is setup to do for the most part.
With that said, depending upon your ability with code and all, its all pretty easy to do yourself. Buddypress itself is really easy to get around and work with in the template files and the php is really quite easy for most things. If you have no html, css or php skills though, it could be kind of tuff.
For what your asking for I would simply code out my own theme for it. Or simply hire someone to do it for you.
Almost, but you went one to far. Your target to put the file is in the plugins directory directly. not the buddypress plugin directory so the end would be
wp-content/plugins/ then add file here “bp-custom.php”
Basically in the root of the plugins directory
You mean in the public_html/bellmoore/wp-content/plugins/buddypress directory?
“bellmoore” refers to my top level folder for my wordpress instance.
thanks a million.
Steve
Lol, 🙂 well now your asking for the whole boxed lunch, lol.
Um well ok, lets see here.
first I created a bp-templates directory in my themes buddypress directory. I then created a file called login widget. On that file I went to bootstraps modal and added that in there and then simply broke down the buddypress login form into it.
I called this into my main nav area using get_template_part in a <a href link. Its kind of time consuming but its really easy to do. To try to break it down piece by piece would take a while.
if your making a membership based wedsite there are several plugins that do this for you. I use two or 3 based upon what type of memberships are offered. If its a paid feature site you might try S2 Member. If its not a paid feature site then there are ones like Simple Buddypress profile Privacy and others like it that kill that function.
Or you could simply code it into your functions file. I generally do a inc file and include it using require in my functions file..
Thanks for the quick reply.
I just did that.
That only removes the top black toolbar from when you are not logged in.
It still shows up after you are logged in.
Is this not possible to remove?
Do most BuddyPress implementations usually leave it that way?
Steve
Ok, so basically this toolbar that you are seeing on the top of your site when you login with your new user account is not really a full admin dashboard bar. It only links to the part of the back end dashboard that allows the user to edit his profile in the back end. Nothing else can be messed with by anyone but the admin. Try it out and experiment with it. you’ll see.
Also, if you want to turn that feature off, simply login to the back end as admin, go to “settings” / “buddypress” and on the 3rd tab “Options”, simply deselect “Show the Toolbar for logged out users”
Make sure you have a buddypress directory in yo9ur theme root. In that directory add a directory called single. In that directory make a file called cover-image-header.php. On that file go to somewhere around line 86 or wherever this part is where the closing divs are.
` </div><!– #item-header-content –>
</div><!– #item-header-cover-image –>
Right Here ——<<<<
</div><!– #cover-image-container –>`
See where I added “Right Here —-<<<” in the code. Put your container there and place any ad you want in it. If you want rotating ads or switch case adds then simply add the code for them inside your new container.
add margin-bottom:10px to the class of each posts container
Basically like this…. If this is your post or activity container for example
<div id="activity-stream" class="activity-list item-list">
<?php endif; ?>
<?php while ( bp_activities() ) : bp_the_activity(); ?>
<?php bp_get_template_part( 'activity/entry' ); ?>
<?php endwhile; ?>
<?php if ( bp_activity_has_more_items() ) : ?>
<div class="load-more">
<a href="<?php bp_activity_load_more_link() ?>"><?php _e( 'Load More', 'buddypress' ); ?></a>
</div>
<?php endif; ?>
<?php if ( empty( $_POST['page'] ) ) : ?>
</div>
Look at the first div
” Note: I changed it from Ul’s and Li’s for my purposes but would probably work better ads divs for your case as well”
<div id="activity-stream" class="activity-list item-list">
in stylesheet add something like this
margin-bottom:10px;
to the class activity-list item-list
Which is best plugin to show particular pages after login from buddypress and hide rest of the pages?
Hi @edvard1 it’s not your theme. The plugin is broken since BP 2.9.1.
I was having problems with multiple checkboxes and made it work like this:
File: /conditional-profile-fields-for-buddypress/assets/bp-conditional-field.js
line 114: jQuery.each( $selected, function (index, $el ) {
to: jQuery.each( [$selected], function (index, $el ) {
And…
lines 350 to 369:
var parent_div = jq( jq( element ).parents( '.editfield' ).get(0) );
//;find its parent having class edit field
if ( !match ) {
//if the condition did not match, reverse visibility condition
if ( visibility == 'show' ) {
visibility = 'hide';
} else {
visibility = 'show';
}
}
if ( !visible ) {
parent_div.show();
} else {
parent_div.hide();
}
To:
var parent_div = jq( jq( element ).parents( '.editfield' ).get(0) );
visible = jq(parent_div).is(':visible');
//;find its parent having class edit field
if ( match ) {
//if the condition did not match, reverse visibility condition
if ( !visible ) {
parent_div.show();
} else {
parent_div.hide();
}
}
Hope it helps!
I have the exact same issue, using learndash and buddypress on buddyboss social learner theme. Site: http://www.fly8ma.com
Changing the theme on the local version of the site seams to fix the problem with the warning:illeagle offset
Did anyone ever find a solution to this problem?
One other thing I notice is the forum associated with the Group is not displayed with all the other forums from buddypress…..
Hey @ma3ry
I’ll let those two keep on trying to help, I simply needed to state I truly need to explore including shortcodes for all BuddyPress things in some future discharge and have as of late pondered it. Doesn’t help you now, yet may help somebody later on.
So here Every plugin perform their role, right? but i recommendation ARMember I have personally Experience with that plugin and it is also integrated with BuddyPress
I am using WP v4.9.1 and buddypress v2.9.2, i have switched the theme into default but the issue still exist
I’ve done a reinstall several times, and no dice. Ninja Forms contact form works fine. Test emails from WP Mail SMTP also work fine.
Also, unlike @terabyten, resending emails from the list of pending users doesn’t work for me. I’m getting nothing from Buddypress at all.
Any thoughts would be appreciated. I’ve been working on this for hours and I’m really at a loss as to what else to do.
Thanks David. I ended up hacking the form a bit, since I’m using the Buddypress Name field combined with one Xprofile field. Not the most elegant, but it works.
Thanks a lot for prompt response.
1. Yes I want to use different icons. could you please elaborate which CSS I need to modify. where to find the css where the CSS is written for icons. I have just started using wordpress/buddypress
2. Where do I find translation file
Default sign-up form
1. Try saving permalinks. WP admin – Settings – Permalinks.
2. Also check if you have the members directory connected at WP admin – Settings – BuddyPress
3. Also make sure that the slug of the members directory is unique, like if members directory is abc.com/members , then you do not have any custom rule in .htaccess for members.
The latest version of BuddyPress doesn’t use create_function(). Try upgrading to version 2.9.2.
In BuddyPress there is a built-in mechanism for synchronizing profile fields from WordPress.
By default, it synchronizes only the “display_name” field, which is not always sufficient.
Here is an example of the code by which you can synchronize any available fields in the WordPress field with the Buddypress fields
function xprofile_sync_bp_profile2( &$errors, $update, &$user ) {
// Bail if profile syncing is disabled.
if ( bp_disable_profile_sync() || ! $update || $errors->get_error_codes() ) {
return;
}
// Querying data from a table "usermeta", first we get the value of the custom field "address" and substitute this value for the "Address" field of the xprofile BuddyPress
$address = get_user_meta( $user->ID, 'address', 'true' );
xprofile_set_field_data( 'Address', $user->ID, $address );
//Similarly with other fields
$firstname = get_user_meta( $user->ID, 'first_name', 'true' );
xprofile_set_field_data( 'Name', $user->ID, $firstname );
$lastname = get_user_meta( $user->ID, 'last_name', 'true' );
xprofile_set_field_data( 'Lastname', $user->ID, $lastname );
$description = get_user_meta( $user->ID, 'description', 'true' );
xprofile_set_field_data( 'Bio', $user->ID, $description );
// Querying data from a table "user"
xprofile_set_field_data( 'E-mail', $user->ID, $user->user_email );
xprofile_set_field_data( 'Site', $user->ID, $user->user_url );
}
add_action( 'user_profile_update_errors', 'xprofile_sync_bp_profile2', 10, 3 );
Unfortunately, the fields are synchronized only when the profile is updated. I do not know how to start mass synchronization 🙁
I hope someone will find this information useful.
However the major question is how to implement it through buddypress as buddypress itself provides a login page. There should be option to redirect members to particular page.
WP Engine not compatible with BuddyPress it seems.
thanks David, I figured it out.
It would be good if https://codex.buddypress.org/developer/group-types/
continued the example at the top of the page i.e. teams eg mysite.com/groups/type/teams instead of ninja as lower on the page.
(note teams not team).