Forum Replies Created
-
Hmm unfortunately, that still did not work. Thanks for all your help thus far guys. Here is how my problem originated:
I recently transferred my site from the default ”/wordpress/” sub directory to my root directory. Everything works fine in BuddyPress except for the LOGOUT and LOGIN menu options from the BuddyPress menu bar (up at the top).
Upon looking at the URL that the logout and login tries to redirect to (in the tag), it still thinks it is in the ”/wordpress” subdirectory and the thus results in a Error 404 – Page Not Found problem.
I’ve search various ways to do this but people have either not have found a solution or seem to not have posted it. I originally thought I could just use the ‘Add All Nav Links to Admin Bar’ plugin (https://buddypress.org/community/groups/add-all-nav-links-to-bp-adminbar/) and hide the Login and Sign Up options but unfortunately the “Log Out” still remains since it is under the ‘My Account’.
Any help would be much appreciated, thanks.
Thanks Virtuali but the Logout menu was still there and at the bottom of the site I saw this message
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘my_alter_bp_adminbar’ was given in /home/content/62/7486962/html/wordpress/wp-includes/plugin.php on line 395
Please advise!
How did you do it
Any solution to this? I’m having this problem now after I moved from /wordpress subdirectory to root.
R-a-y – that doesn’t work for me unfortunately.
I am using the:
– latest version of WordPress 3.1.2
– Child theme of SuffusionAnd the latest plugins for Suffusion BP Pack (1.02), BuddyPress (1.2., and s2Member (3.5.7).
Using the s2Member plugin settings, I have set my site to redirect users to a “Member Home” page upon logging in. This function used to work before I added BuddyPress + Suffusion BP Pack. However, since adding those plugins, I initially could not figure out why it no longer worked upon logging in. Currently, when a user logs in, the site just directs them to the main page (the default WordPress & site address). I disabled the other plugins and determined that it was BuddyPress handling the redirection.
So I made a bp-custom.php and added that code just to see if I can test the redirection function itself and it didn’t work. I even tweaked his code as well to try add_filter(“login_redirect”,”bpdev_redirect_to_profile”,100,3); Did I need to do anything else to activate the plugin or did it automatically run and link to BuddyPress?
Ultimately, it seems like I may have to implement a technique that onyx mentioned or something like http://www.thinkinginwordpress.com/2009/12/tweak-your-buddypress-login-to-redirect-to-the-page-user-was-viewing-while-login/
Does anyone have any thoughts? Thanks!
onyx808 – Where did you do this: wp-login.php? Where and what did you change it to? Thanks.