-
Brajesh Singh replied to the topic BuddyPress Newsletter relaunched in the forum Miscellaneous 7 years, 9 months ago
Congratulations!
It’s good to see the newsletter back. Had my copy today. Was pleasantly surprised then 🙂
Thank you and I am looking forward to more of it.
All the best
-
Brajesh Singh replied to the topic Activity Stream auto post in the forum How-to & Troubleshooting 7 years, 9 months ago
You may use
bp_activity_post_update( array(
'content'=> 'Something we wanted to say',
'user_id'=> 32,//example, please change it
) );Please take a look at this
https://github.com/buddypress/BuddyPress/blob/master/src/bp-activity/bp-activity-functions.php#L1938
Hope that helps.
-
Brajesh Singh replied to the topic Redirecting to different page if user is already logged in in the forum How-to & Troubleshooting 7 years, 9 months ago
You are welcome!
I am not sure what do you mean by disabling the redirect. What purpose will it serve to show the registration page to the already logged in user? At the moment, if you want to show registration form to the logged in user, It can be done with some custom code, but it is not advisable.
Regards
Brajesh -
Brajesh Singh replied to the topic Redirecting to different page if user is already logged in in the forum How-to & Troubleshooting 7 years, 9 months ago
Hi, you can put the following code in your bp-custom.php
/**
* BuddyPress Logged In User redirection on Registration page
*
*/
function buddydev_loggedin_register_redirect( $redirect ) {//you can do a lot here
//if you want to redirect based on profile field, member types or roles, you can do so
//$user_id =…[Read more] -
Brajesh Singh replied to the topic Where is BUddypress Member Profile Link? in the forum How-to & Troubleshooting 8 years, 1 month ago
HI,
Please visit Dashboard->Appearance->Menus and from the SCreen Options(Top right link), you can enable “BuddyPress”.Once you have checked it, A section named “BuddyPress” will appear under Pages. You can select the link/customize it for various profile links there.
Hope that helps.
-
Brajesh Singh replied to the topic bp_get_member_type not returning value: 'Invalid Taxonomy' in the forum How-to & Troubleshooting 8 years, 1 month ago
Hi David,
Most probably you are trying to access the member type directly in the functions.php. That is too early for it. A member type is only available on/after bp_init action. It is actually registered on bp_init priority 2.My suggestion will be to wrap the code that accesses the member type in a function and call it on bp_init or…[Read more]
-
Brajesh Singh replied to the topic Register and Activate pages are Hello World? in the forum Installing BuddyPress 8 years, 1 month ago
Hi,
Looking at the screenshot, it seems you are logged in. Please logout and try viewing register page again. It will take you to register instead of redirecting to the home page.Hope that helps.
-
Brajesh Singh commented on the post, BuddyPress 2.7.0 Beta 1, on the site BuddyPress.org 8 years, 2 months ago
Thank you Mercime and BuddyPress Team.
Time to test things start now 🙂 -
Brajesh Singh replied to the topic [Resolved] Hiding Members Page to everybody (visitor and also members) in the forum Installing BuddyPress 8 years, 2 months ago
Please put this code in your bp-custom.php
function buddydev_hide_members_directory_from_all_except_admin() {if ( bp_is_members_directory() && ! is_super_admin() ) {
//should we add a message too?
//bp_core_add_message( 'Private page.', 'error' );
bp_core_redirect( site_url('/') );
}
}
add_action( 'bp_template_redirect',…[Read more] -
Brajesh Singh replied to the topic Buddypress notification to multiple users in the forum Installing BuddyPress 8 years, 2 months ago
You are welcome.
-
Brajesh Singh replied to the topic Activate Page in the forum Installing BuddyPress 8 years, 2 months ago
Have you associated the newly created activate page in your BuddyPress settings? You can do it from Dashboard->Settings->BuddyPress->Pages screen.
If you have already done that then please do post the error message that you are recieving.
-
Brajesh Singh replied to the topic Buddypress notification to multiple users in the forum Installing BuddyPress 8 years, 2 months ago
Hi there,
You can use a loop to add notification for each user. The function you have mentioned is correct but accepts only one user at a time.
Hope that points you in the right direction. -
Brajesh Singh replied to the topic BuddyPress Email Notification Ignoring SMTP Server Settings? in the forum How-to & Troubleshooting 8 years, 2 months ago
The 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…[Read more]
-
Brajesh Singh replied to the topic Customizing the Completed Registration Page in the forum How-to & Troubleshooting 8 years, 2 months ago
Hi 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…[Read more]
-
Brajesh Singh replied to the topic [Resolved] Availability Checker in the forum How-to & Troubleshooting 8 years, 2 months ago
Hi Dan,
Thank you for pointing @humiges in the right direction.It was a theme issue for him as communicated on mail. The plugin works fine with current version of BuddyPress 2.6.2/WordPress 4.6
-
Brajesh Singh replied to the topic where is turn on forum & photo category? in the forum Creating & Extending 8 years, 10 months ago
Do you have bbPress plugin installed. If not, please install “bbPress” plugin and on its settings page, enable forums for BuddyPress. That will do it.
-
Brajesh Singh replied to the topic How this code works.? in the forum How-to & Troubleshooting 8 years, 10 months ago
The above code at the moment is not doing anything.
I will start by explaining.The action “bp_after_message_thread_content” is called on single thread page where all messages of a thread(conversation between two people) are listed. It happens at the bottom of that page.
In your function, you are populating the variable $thread with current…[Read more]
-
Brajesh Singh replied to the topic Registration Redirect in a Multisite in the forum How-to & Troubleshooting 8 years, 10 months ago
Is your BuddyPress Network active? Deactivate and activate it only on the subsite. That should fix it.
-
Brajesh Singh replied to the topic Users creating posts in the forum How-to & Troubleshooting 8 years, 10 months ago
Also, I will suggest using the above plugin in combination with BuddyBlog for a better experience.
-
Brajesh Singh replied to the topic Private Pages Glitch? in the forum How-to & Troubleshooting 8 years, 12 months ago
This may be considered as bug in current behavior. Currently, BuddyPress only looks for published pages when looking for component associated pages in bp_core_get_directory_pages().
You may want to report it on the BuddyPress trac and the core developers and weigh their opinions on this.
- Load More
@sbrajesh
Active 1 year ago