-
Hugo Ashmore replied to the topic Custom Login Redirect in the forum How-to & Troubleshooting 10 years ago
@ad4m_wordpress Codex is another word for documentation, ‘codify’, here it’s the link on the main menu labelled ‘Documentation’ The WP documentation is also referred to as ‘The Codex’.
Your initial requirement would have been served by the simple use of one of the provided BP template tags e.g:
<?php echo…
[Read more] -
Hugo Ashmore replied to the topic Custom Login Redirect in the forum How-to & Troubleshooting 10 years ago
@ad4m_wordpress Codex is another word for documentation, ‘codify’, here it’s the link on the main menu labelled ‘Documentation’ The WP documentation is also referred to as ‘The Codex’.
Your initial requirement would have been served by the simple use of one of the provided BP template tags e.g:
<?php echo…
[Read more] -
bp-help replied to the topic Custom Login Redirect in the forum How-to & Troubleshooting 10 years ago
@ad4m_wordpress
On lines 471-474 in that plugins custom-login-redirect.php maybe try switching this:
<option value="">Default</option>
<?php if (get_option('custom_login_redirect_display6','yes') == 'yes'){ ?>
<option value="<?php home_url ?>wp-admin/">Dashboard</option>
<?php } ?>
To to something like this:
[Read more]
<option value="">My Profile… -
bp-help replied to the topic Custom Login Redirect in the forum How-to & Troubleshooting 10 years ago
@ad4m_wordpress
Just out of curiosity what plugin are you referring to that creates this dropdown box on the login screen? Most plugins can be modified to suit your needs if you don’t mind editing the code. -
bp-help replied to the topic Custom Login Redirect in the forum How-to & Troubleshooting 10 years ago
@ad4m_wordpress
Not really sure what your trying to accomplish but you need to understand the dynamic nature when a user logs in and is redirected to their profile is in PHP language and there is no full html equivalent that could pull that info from the database to take that user to their profile.
I am certain you will have to use PHP to make…[Read more] -
bp-help replied to the topic Custom Login Redirect in the forum How-to & Troubleshooting 10 years ago
@ad4m_wordpress
Not really sure what your trying to accomplish but you need to understand the dynamic nature when a user logs in and is redirected to their profile is in PHP language and there is no full html equivalent that could pull that info from the database to take that user to their profile. -
bp-help replied to the topic Custom Login Redirect in the forum How-to & Troubleshooting 10 years ago
@ad4m_wordpress
See my snippet here for one solution:Redirect logged out visitors to home, and logged in users to profile
-
Hugo Ashmore replied to the topic Groups and Forums in the forum How-to & Troubleshooting 10 years ago
@ad4m_wordpress Please check the BP Codex documentation you’ll find much of the information you seek there.
@ad4m_wordpress
Active 10 years ago