Search Results for 'buddypress'
-
AuthorSearch Results
-
September 13, 2016 at 5:41 am #258679
Brajesh Singh
ParticipantThe problem is BuddyPress does not uses wp_mail.
The plugin postman-smtp overrides the wp_mail function to send emails, so any emails sent via wp_mail is sent through the smtp settings provided.
BuddyPress uses custom instance of PHP Mailer to send emails and that’s why these settings are not effective. You can force BuddyPress to use wp_mail by putting the following code in your bp-custom.php
add_filter('bp_email_use_wp_mail', '__return_true');But in that case BuddyPress will only send text emails (Not the rich html emails you might have seen earlier).
Hope that helps.
September 13, 2016 at 5:30 am #258678In reply to: Customizing the Completed Registration Page
Brajesh Singh
ParticipantHi Trecks,
It’s a good question.
The page that you see being loaded is actually register.php template file.Are you using a child theme? If yes, then look for buddypress/members/register.php in the child/parent theme and copy it to your child theme in buddypress/members/register.php and modify the text as required.
If your theme does not come with it, you can copy the register.php from wp-content/plugins/buddypress/bp-templates/bp-legacy/members/register.php to yourtheme/buddypress/members/register.php and modify it.
All we are doing here is overriding the registration template.
Hope that helps.
Regards
BrajeshSeptember 13, 2016 at 1:52 am #258674kmligue
ParticipantI installed https://wordpress.org/plugins/postman-smtp/ on my WP (v 4.6) + BuddyPress (v 2.6.2) site, then configured it to use my Gmail account’s SMTP server settings.
The emails sent by the site uses the SMTP settings when:
– A member registers and PMPRo (https://tl.wordpress.org/plugins/paid-memberships-pro/) sends out an email confirmation
– Emails sent using the plugin (https://wordpress.org/plugins/email-users/)(I can see these sent emails in the “Sent” folder of my Gmail account.)
However, when BuddyPress sends out an email (e.g. email notification for friend request, etc.), it seems to ignore the SMTP server settings I have configured. Instead, it uses the server’s default.
How do I make BuddyPress email notifications send using my Gmail SMTP server settings?
September 12, 2016 at 9:37 pm #258672In reply to: activity primary key
danbp
ParticipantHi,
a mysql error has nothing to do with BuddyPress.
#1062 – duplicate entry ‘190’
Normally you re-import datas in empty tables when you restore. In your case it seems that an entry with an ID ‘190’ was already in bp_activities table…More details here
http://stackoverflow.com/questions/29545733/error-1062-duplicate-entry-in-mysqlhttp://www.w3resource.com/mysql/administration-tools/phpmyadmin-tutorial.php
September 12, 2016 at 8:33 pm #258669In reply to: NING MIGRATION
surfershot
Participant@venutius have you tried the Mediapress plugin for Buddypress? From what I’ve read, Mediiapress much like the photo/video portion of Ning.
https://wordpress.org/plugins/mediapress/September 12, 2016 at 7:58 pm #258668In reply to: Order by custom field in member loop
shanebp
ModeratorYou should use this approach:
https://codex.buddypress.org/plugindev/add-custom-filters-to-loops-and-enjoy-them-within-your-plugin/September 12, 2016 at 7:00 pm #258667In reply to: Current Member Level (none)
danbp
ParticipantHi,
it’s unclear: where do you see member level (none) and did you set up manually a test member ?
BuddyPress doesn’t handle user roles or levels.
If you want an automated level for new user, go to dashboard > settings > general and select to your need in regard of New User Default RoleSeptember 12, 2016 at 6:53 pm #258665In reply to: Buddypress Email tamplate for all the wp email
ositive
ParticipantYes, it worked for me!
I have some other doubts that I posted in a separated post as they are not related with the template:Buddypress email language selection in multilanguage web site
Thank you Paul!
September 12, 2016 at 6:12 pm #258661In reply to: [Resolved] Updates BuddyPress and WordPress
danbp
ParticipantHi @hanifascraps,
you can safely update your WorPress. 🙂
FYI: BuddyPress is developped on WP trunk version. This means in particular that any stable or maintenance version of the one or the other can always work together properly.
The Tested Up information on the plugin repo is not always updated, if it is this who fears you.
September 12, 2016 at 12:47 pm #258657In reply to: Isolated Groups
BILL
ParticipantThank you very much for your reply. Being new to WP I thought for sure this feature was baked into BuddyPress. I have solved the problem with a few plugins around woocommerce and one built for the lms addon I am using with a little wiring up work.
Have a great day
September 12, 2016 at 8:33 am #258650In reply to: Migrating Ning to BuddyPress
danbp
ParticipantSeptember 12, 2016 at 8:06 am #258648In reply to: Add field data on profile header
danbp
ParticipantHi @karmatiger,
i moved your topic to it’s own location. Jumping into old topics which are not exactly related to your question is not a good practice. Thank you for comprehension.
You can use the action hook
bp_before_member_home_contentwhich is between H1 and profile header image.
The template containing it is in bp-templates/bp-legacy/buddypress/members/single/home.phpTo get the field value ( ie. field name is Address):
function tralala() { if( bp_is_active( 'xprofile' ) && is_user_logged_in() ) : if ( $address = xprofile_get_field_data( 'Address', bp_get_member_user_id() ) ) : echo $address; endif; endif; add_action( 'bp_before_member_home_content', 'tralala' );Note: all templates have action hooks you can use to add content. You just have to read throught the files to get them and choose the most appropriate for you.
September 11, 2016 at 11:08 pm #258639danbp
ParticipantForgot to mention that for a complete privacy, you may also lock access to the rss feeds !
As all this was already handled in a past topic, see here how to do that.
September 11, 2016 at 11:01 pm #258638danbp
ParticipantI’m unable to reproduce your issue on a single install with over 20 plugins active and plenty of custom functions active in bp-custom.php
I can upload medias without problem with different 3th party themes or Twenty’sTry to upload a fresh copy of WordPress and BP and see if it makes a difference.
Now about the snippet.
It works more or less, no code error. You commented the action, so it is deactivated if someone copy/paste it without correcting this.That said, what is the reason behind using a redirection to login if the site, or at least the buddyPress parts, should be private ?
Wouldn’t it be more logic to redirect visitors to an anonymous page with some important information, from which the first one could be Sorry, but this site is private ? Followed by some informations how to register or pay a fee or whatever the reason.
A private site has two type of visitors: those invited to join and the others. Don’t give the opportunity to those who are there by chance to enter the site so easily.
I let you think about this and eventually create an appropriate page and template.
Here a code example redirecting to a page called Intranet and the correct calls to slugs for all components (including bbPress).function bpfr_guest_redirect() { global $bp; // enter the slug or component conditional here if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) || is_bbpress() ) { // not logged in user are redirected to - comment/uncomment or add/remove to your need if( !is_user_logged_in() ) { //wp_redirect( get_option('siteurl') ); //back to homepage //wp_redirect( get_option('siteurl') . '/register' ); // back to register page wp_redirect( get_option('siteurl') . '/intranet' ); // back to whatever page } } } add_filter( 'get_header', 'bpfr_guest_redirect', 1 );Add it to child-theme’s functions.php
September 11, 2016 at 6:31 pm #258635danbp
ParticipantYou followed apparently all steps except one: permalinks activation. Go to dashboard > Settings > Permalinks and choose an option, except “default”. Save and see if your urls are working. 😉
Check also anything listed here (php version, htaccess,… ) in case of.
FYI:
The default register page is in following location
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.phpThis theme exist only for backward compatibility and is no more used by BuddyPress since BP 1.8
/wp-content/plugins/buddypress/bp-themes/bp-default/registrationSeptember 11, 2016 at 4:17 pm #258634In reply to: Remove BBpress from buddpress
idichoo
ParticipantHi,
Which one should i follow. A. Set Up Sitewide Forums only?
Can tell me which function will exactly remove bbpress from buddypress.Thanks.
September 11, 2016 at 12:19 pm #258629In reply to: Activity feed difficulties
karmatiger
ParticipantI usually modify the latest WP theme, as they tend to be pretty stable, but this is my first time working with buddypress and I wanted to start with something built-in buddypress compatible to have a starting point.
Sort of like how when I went to the Ford grounds in Dearborn, there was a Toyota Prius just inside their shop being
reverse engineered“studied”.Anyhow, for now I’ve just switched off animation for the lot. Now I’ve moved on to trying to figure out how to add field data bbeside the title (Name) in the profile, but the tutorials for that on this site all seem to be 404ing.
It’s gonna be one of those months.
September 11, 2016 at 11:07 am #258626In reply to: BuddyPress Integration with Woocommerce
danbp
ParticipantBest recommendation would be to use this premium plugin
and some additionnal add_on like this one:
https://fr.wordpress.org/plugins/woocommerce-buddypress-integration-xprofile-checkout-manager/Note: BuddyPress doesn’t handle registering, it only shows the wp-login form with some more fields (if xprofile component is activated).
September 11, 2016 at 10:59 am #258625In reply to: Remove BBpress from buddpress
danbp
ParticipantHi,
bbPress is a separate plugin. If you don’t want it “inside” BuddyPress, you have to install it as standalone forum. Follow these instructions.
September 11, 2016 at 3:54 am #258620In reply to: Isolated Groups
gastronimo
ParticipantIt might be a lot of admin configs, but have you considered using BP multi-network plugin to keep everyone separate (https://buddydev.com/plugins/buddypress-multi-network/)?
September 11, 2016 at 2:40 am #258619jowyds
Participanthello danbp, thanks for your reply.
I have tried the suggestion to use
define('WP_DEBUG', true);in conjuction withdefine('WP_DEBUG_LOG', true);with a twenty theme. It works fine when buddypress is not activated. No error or logfile whatsover. Then after I tried to activate buddypress, and test again. The media library still cannot load out. I have tried to check for error log and I can’t seems to find any.Nevertheless I found the culprit can be my bp-custom.php in which I put it just under /wp-content/plugins/[here]
if I remove the file and everything seems works fine again with buddypress activated.
This is the content for my bp-custom.php
<?php // hacks and mods will go here /** * Make a site Private, works with/Without BuddyPress * * @author sbrajesh * @global string $pagenow * */ /* function buddydev_private_site() { //first exclude the wp-login.php //register //activate global $pagenow; //do not restrict logged in users if( is_user_logged_in() ) { return ; } //if we are here, the user is not logged in, so let us check for exclusion //we selectively exclude pages from the list //are we on login page? if( $pagenow == 'wp-login.php' ) { return ; } //let us exclude the home page if( is_front_page() ) { return ; } $exclude_pages = array( 'register', 'activate', 'excelportfolio' );//add the slugs here //is it one of the excluded pages, if yes, we just return and don't care if( is_page( $exclude_pages ) ) { return ; } $redirect_url = wp_login_url( site_url('/') );//get login url, wp_safe_redirect( $redirect_url ); exit( 0 ); } */ //add_action( 'template_redirect', 'buddydev_private_site', 0 ); ?> <style type="text/css"> #wp-admin-bar-bp-login { display:none; /* JOWY: hide login link for buddypress. */ } #wp-admin-bar-bp-register { display:none; /* JOWY: hide register link for buddypress. */ } #adminloginform { color: #ffffff; /* JOWY: text color on form. */ } #wpadminbar { opacity: 0.7; /* JOWY: Opacity for wpadminbar. */ } </style>what can possible went wrong?
September 10, 2016 at 5:01 pm #258615rafiamudasar
ParticipantSeptember 10, 2016 at 3:44 pm #258611jowyds
ParticipantHello Dan,
The error is: “error occurred in the upload, please try again”. I cannot check from media library if the file is there. However, when I go to wp-content I can see the file is already being transferred to the folder. It is very weird.
I have seeing other people having the issue, but not just from BuddyPress.
https://wordpress.org/support/topic/media-library-cannot-display-images/I have tried but no luck. It seems mine is stucked with buddypress. I have cleared all my plugins and even only just installed and activate buddypress. I am not sure why this happens.
I haven’t try to deactivate “loginizer” and also “akismet” as they seems to come with the default wp installation. Moreover, it happens when I activate the buddypress. I am also running on default wordpress 2016 theme just to test things out.
September 10, 2016 at 1:13 pm #258604In reply to: Feed WordPress – Syndication problem
danbp
ParticipantHi,
if you have an issue with a plugin, you have to ask on his support.
You don’t mention BuddyPress, do you use it ?September 10, 2016 at 1:01 pm #258602In reply to: BuddyPress plugin activated cannot upload media
danbp
ParticipantHi,
please don’t double post. Closing this topic in favor of
-
AuthorSearch Results