Replies
- Brajesh Singh on September 5, 2018 at 4:03 pm in reply to: Redirect Loggedout Users to a 'Register Page' #17130
Hi Graham,
Welcome back.For logout, you can use the following code. Works with BuddyPress too
/** * Redirect user on logout. * * @param string $logout_url logout url. * @param string $redirect where to redirect. * * @return string */ function buddydev_custom_logout_url( $logout_url, $redirect ) { $redirect = bp_get_signup_page(); $args = array( 'action' => 'logout' ); $args['redirect_to'] = $redirect; $logout_url = add_query_arg( $args, site_url( 'wp-login.php', 'login' ) ); $logout_url = wp_nonce_url( $logout_url, 'log-out' ); return $logout_url; } add_filter( 'logout_url', 'buddydev_custom_logout_url', 100, 2 );Change ‘redirect_url’ to wherever you need to redirect.
For redirecting on login to the visiting page, BuddyPress alreadyu does it. Also, Our BP Ajax Registration 2.0 is coming today/tomorrow and if you use it for login with page reload method, it can solve your issue.
Regards
Brajesh - Brajesh Singh on September 4, 2018 at 6:01 pm in reply to: [Resolved] Problems when viewing BuddyPress Group Tabs Creator Pro #17125
Hi Sergio,
Thank you.I can see the issue now.
Your theme is not updated for BuddyPress 3.0+. BuddyPress 3.0 removed the legacy forums and a few functions.
The error is
Fatal error: Call to undefined function bp_is_group_forum() in [redacted path]/wp-content/themes/rehub/buddypress/groups/single/index.php on line 48It happens if a theme is not updated for BuddyPress 3.0+ . To fix it, you will need to edit
/wp-content/themes/rehub/buddypress/groups/single/index.phpand remove the code that looks like
// Old group forums elseif ( bp_is_group_forum() ) : bp_get_template_part( 'groups/single/forum' );That will fix it.
Regards
Brajesh - Brajesh Singh on September 4, 2018 at 9:39 am in reply to: [Resolved] Problems when viewing BuddyPress Group Tabs Creator Pro #17121This reply has been marked as private.
- Brajesh Singh on September 4, 2018 at 9:38 am in reply to: [Resolved] paiement with featured Member #17120
Sorry, I did not read your code earlier.
The other plugin is fine.
You should change this
do_action( 'super_after_paypal_ipn_payment_verified', 'ajout_membre_a_la_une_apres_paiement');to
add_action( 'super_after_paypal_ipn_payment_verified', 'ajout_membre_a_la_une_apres_paiement');In your code and it will work.
Hi Robert,
I am sorry for the inconvenience. Have mailed you a few minutes ago.We are restructuring our docs site an this has caused the problem.
The document for this plugin are available here
Regards
Brajesh- Brajesh Singh on September 4, 2018 at 5:21 am in reply to: [Resolved] Problems when viewing BuddyPress Group Tabs Creator Pro #17113This reply has been marked as private.
- Brajesh Singh on September 4, 2018 at 12:29 am in reply to: [Resolved] Problems when viewing BuddyPress Group Tabs Creator Pro #17110
Hi Sergio,
The site is accessible but I am still unable to login. Please try logging using the login model. It keeps loading and does not login me.I have tried 4 times since yesterday and none of these worked. Please check.
- Brajesh Singh on September 4, 2018 at 12:28 am in reply to: To/From Values custom field issue #17109This reply has been marked as private.
- Brajesh Singh on September 4, 2018 at 12:18 am in reply to: [Resolved] wp_ULike and MediaPress #17108
Thank you.
- Brajesh Singh on September 4, 2018 at 12:01 am in reply to: [Resolved] Mediapress: the style of the group gallery subnav is not like my theme's #17106
Hi Goyelle,
Is this the theme that you are using?
https://www.pronamic.eu/themes/orbis/Please let me know and I can check with the theme.
Regards
Brajesh