Search Results for 'buddypress'
-
AuthorSearch Results
-
December 28, 2017 at 10:47 pm #269822
In reply to: Create link to logged-in member profile page?
peter-hamilton
ParticipantOfcourse you could also go to…
dashboard > settings > menus
And select “profile” from the “buddypress” menu options on the left, if you do not see any buddypress links you should click the “screen options” on right top of page and select buddypress.
December 28, 2017 at 3:11 am #269806In reply to: How can I show new activity for groups, per member
leog371
ParticipantWell, dont know if this is what you need but from what I gather, I would say you need to add some template files to your theme to do that. Its not hard. But Since I dont know that theme, The first question would be… does that theme have a “/buddypress” directory in it? If not you would probably want to make one first.
This is where you would do the work. BuddyPress will look for template files there first. You would want to create template files for the parts of the theme that you want to change or re-arrange. Both of those features are all ready built into BuddyPress. If you look at the template files in wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/ you can find all of your ideas and code parts or starter code there from those files.
You can copy over those files to your themes buddypress directory and break them down, tear them up or what ever you want to do with them there. I sometimes do it just to take code snippets and work with them.
Anyways, if you find the files that have the functionality you want on them, just take them and use them to create a new template or widget or whatever you need. Its not hard.
December 27, 2017 at 10:47 pm #269803leog371
ParticipantHmmm, 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.
December 27, 2017 at 8:30 pm #269802Michael Gentry
ParticipantThank 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?
December 27, 2017 at 6:20 pm #269798leog371
ParticipantEverything 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.
December 27, 2017 at 6:02 pm #269797In reply to: question on what a member sees
leog371
ParticipantAlmost, 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
December 27, 2017 at 5:56 pm #269795In reply to: question on what a member sees
saz25
ParticipantYou 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.
SteveDecember 27, 2017 at 5:54 pm #269794In reply to: How to re-direct Login page
leog371
ParticipantLol, 🙂 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.December 27, 2017 at 5:49 pm #269792In reply to: How to not show Members until after login
leog371
Participantif 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..December 27, 2017 at 5:31 pm #269788In reply to: question on what a member sees
saz25
ParticipantThanks 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?
SteveDecember 27, 2017 at 5:21 pm #269785In reply to: question on what a member sees
leog371
ParticipantOk, 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”
December 27, 2017 at 5:09 pm #269782In reply to: Placing ad underneath item-header?
leog371
ParticipantMake 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.
December 27, 2017 at 4:56 pm #269780In reply to: Break effect after activity post?
leog371
Participantadd
margin-bottom:10pxto the class of each posts containerBasically 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
December 25, 2017 at 11:10 pm #269758In reply to: Page visible after login only.
inderlovy
ParticipantWhich is best plugin to show particular pages after login from buddypress and hide rest of the pages?
December 25, 2017 at 4:50 pm #269755melhergui
ParticipantHi @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!
December 24, 2017 at 5:30 am #269749In reply to: Course Group Error
jonkotwicki
ParticipantI 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…..
December 23, 2017 at 7:19 am #269742In reply to: Shortcode to create Edit Profile Page
coolukboy
ParticipantHey @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
December 21, 2017 at 12:06 pm #269713In reply to: Replys are not showing in activity stream
subair.tc
ParticipantI am using WP v4.9.1 and buddypress v2.9.2, i have switched the theme into default but the issue still exist
December 19, 2017 at 9:06 pm #269640In reply to: New user welcome email
jebus
ParticipantI’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.
December 18, 2017 at 9:50 pm #269635In reply to: Creating custom registration page, moving elements
jebus
ParticipantThanks 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.
December 18, 2017 at 8:06 am #269627In reply to: how to change Change Group ICON svg
chowd001
ParticipantThanks 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
December 18, 2017 at 6:23 am #269621In reply to: BuddyPass Menu links are not working
ripulkr
Participant1. 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.December 17, 2017 at 10:22 pm #269616In reply to: Function create_function() is deprecated
Henry Wright
ModeratorThe latest version of BuddyPress doesn’t use
create_function(). Try upgrading to version 2.9.2.December 17, 2017 at 2:27 pm #269613Topic: WordPress to BuddyPress profile sync
in forum How-to & Troubleshootingkrioteh
ParticipantIn 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 fieldsfunction 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.
December 17, 2017 at 9:48 am #269610In reply to: Page visible after login only.
inderlovy
ParticipantHowever 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.
-
AuthorSearch Results