Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'logout redirect'

Viewing 25 results - 76 through 100 (of 174 total)
  • Author
    Search Results
  • #153665
    Yeshourun
    Participant

    @modemlooper for this code:
    `add_filter(‘logout_url’, ‘my_filtered_logout’);
    my_filtered_logout($logout_url, $redirect) { return “URL-after-logout”; }` where do I put the URL where I want members to get redirected to?

    #151219
    voopress
    Participant

    I’ve asked this repeatedly but I suspect because of the subject I had originally started that my question is lost. Time to re-ask this.

    I recently learned that in order to aggregate certain functions of BP to a main site, that the BP plugin needs to be network activated.

    However, what I have been struggling with for a week is trying to find more information on the rest of the plugins. Do all of the BP plugins need to be activated and is it dependent on the type of setup I’m looking to build.

    In my case, I have a main site, then I offer users their own blogs so sub-directory sites.
    However, I want all users across the network to be part of the community which is the main site.

    I’m running
    WP3.5
    BP-Registration-Options 4.0
    BpDev Logout Redirect to Mainsite for Mu/BP 1.0
    BuddyPress Version 1.6.3
    BuddyPress login redirect 1.0
    BuddyPress Media 2.4.1

    Thank you for your input!!!

    #149940
    TF28
    Participant

    Hi There,

    is there a way to stoop redirect the link of the register page to the homepage when logged in in BuddyPress? I find it confusing and would rather prefer to redirect to another page where I can tell people to logout if they want to create a new user.

    Thanks
    TF

    #148200
    #143943
    mattriggins
    Participant

    Only plugin that is active is Buddypress. Installed BP FriendPress, same issue. Once I logout, I get a redirect that goes no where and the screen is blank.

    Then, if I open a new window and go back to domain.com, it still shows me as logged in.

    I then opened a different browser, and went to domain.com. I put in my login info and tried to login. I again go to a blank white page, sitting at http://domain.com/wp-login.php

    If I refresh the page on the 2nd browser, it takes me back to domain.com/register

    Strange!

    charlietech
    Participant

    im using login-logout plugin and after they login, i wanted to redirect them to the buddypress profile page, what link would i use? I tried to find it in buddypress files but i didnt know where to look.

    #141781
    modemlooper
    Moderator

    You can also filter logout link. Place this in bp-custom.php or your themes functions.php

    `add_filter(‘logout_url’, ‘my_filtered_logout’);
    my_filtered_logout($logout_url, $redirect) { return “URL-after-logout”; }`

    #141775
    erikahrend
    Member

    Hi again, and sorry for the hassle. I am using Mingle Theme for Buddypress. Mingle allows for two menus (right and left). I have currently set the logout button to the right menu (and to be visible only when users are logged in). I guess what I´m wondering is if there is a way of actually setting the redirection function from within the menu (in the button, in the classes or in the link code).

    Thanks again for your time.

    Erik.

    #141773
    modemlooper
    Moderator

    Anywhere you want a logout link you can place the code. Header.php will show on everypage

    home_url() is the site you’re on main page. If you want another URL use code below and put in URL you want

    `<a href="” title=”Logout”>Logout`

    #141772
    erikahrend
    Member

    Hi and thanks for your reply. Would you mind explaining where exactly I need to insert that code, and also, if, for instance, my home page is: http://www.canarias2nite.com , where in the code provided would I insert the url?

    Excuse my complete lack of coding skills, I just wish I knew better..

    Best,

    Erik.

    #141747
    modemlooper
    Moderator

    `<a href="” title=”Logout”>Logout`

    #31875
    erikahrend
    Member

    Hi, I have placed a button in the menu for users to logout, but it directs them to the WordPress login page, I would like the button to redirect them to homepage instead. I have currently set the button´s css class to “function-is-user-logged-in” so only logged in users can see it. I would like to know if I can achieve the redirect with a css class too.

    I have also installed the “BpDev Logout Redirect to Mainsite for Mu/BP” plugin, but that is having no effect over the logout button (it does work with the Buddybar´s logout button though…).

    I would appreciate any tips. Please, as usual, bear in mind that i have very limited coding skills. Thanks in advance for all the kind help and replies.

    Best,

    Erik.

    #140120
    iamdhunt
    Participant

    Thanks I got the redirect logout to work by using the function from here: http://projectivemotion.com/2011/07/27/wordpress-always-redirect-to-homepage-after-logout/

    Still looking to change the link on the toolbar’s My Account from “Edit Profile” to “Activity”

    #140040
    danbpfr
    Participant
    #31401
    iamdhunt
    Participant

    Hi I’d like to know where and how I can change where users get sent when they logout from the wordpress toolbar and when they click on there my account avatar also on the toolbar.

    #138168

    In reply to: how to avoid this

    @mercime
    Participant

    == I got this two login forms and link to registration page on two side bars ==

    Open up one of your sidebar templates and remove the login form. Looks strange to have two.

    == how can I redirect this I mean logging out in any shape or form to redirect to registration page. ==

    WP Codex is your friend https://codex.wordpress.org/Function_Reference/wp_logout_url

    #30668
    raminjan
    Participant

    Okay guys I have downloaded this Login/Logout redirects plugin but can’t use it because I don’t know how to link to the activity page I mean I know it is my site url but how can I include the activity page so that each user would be redirected to their news feed page?

    #30156
    websitevala
    Member

    hello all,
    currently m facing one problem with user redirection
    i am using WP 3.3.2 and BP 1.5.5
    and all are going well
    i facing a problem with user logout
    when user logout it’s still showing ongoing page (user active page)
    i want when user logout it’s going direct home (index) of site
    how can i do this ?

    Thanks

    #136330

    In reply to: redirect user login

    valuser
    Participant

    https://wordpress.org/extend/plugins/buddypress-login-redirect/ can redirect to 3 different locations after login. 1. Personal Profile / Personal Activity Page 2. Site wide Activity 3. Friends’ Activity

    https://wordpress.org/extend/plugins/login-with-ajax/ this plugin’s settings allows you go to any particular page OR to the current users particular page on login & on logout if you use %USERNAME% — its on the settings page

    Hi all

    I would prefer to redirect BP to a message that says “You have logged out” but keeps the user on the site. I can’t see where one would set such a preference. Is it possible?

    Tks
    SP

    #130398
    Boone Gorges
    Keymaster

    To elaborate on what @DJPaul said – BP uses WP’s logout, which is handled by wp-login.php. In particular, a request is sent to wp-login.php?action=logout, with a redirect_to argument of the current BP page.

    daveC87
    Member

    I have found some custom functions online that help re-order and add items to my member profile Nav menu. But after adding them into my bp-custom.php and uploading to the plugins folder I cannot logout, login, or access my dashboard. Any ideas on what might be causing this? Anyone had this problem before?

    Logging out I receive this URL: http://www.liveitupsocial.com/wp-login.php?action=logout&redirect_to=http%3A%2F%2Fwww.liveitupsocial.com&_wpnonce=66309f7f39

    #128849
    FLXweb
    Member

    I’m not sure why the activate page is still there as the email now has an automated link but I have figured a way to rectify this! Just install a wp redirection plugin and forward the activate page to whatever URL you would like! I also would recommend using the the login logout redirect plugin!

    Angie Meeker
    Participant

    I’m working on a Multsite install with BuddyPress at http://www.yourcrimesite.com.

    Through buddypress admin bar’s login link
    on both parent and child sites, the link goes to…
    http://yourcrimesite.com/wp-login.php?redirect_to=http%3A%2F%2Fyourcrimesite.com

    (don’t know if that’s important, but thought I’d throw it in there)

    If a user logs in using that link, no matter where the user started (on their own site or the parent site), they are returned to the parent site, where their profile info and admin bar is then available.
    >>I’d like the logged in user to be directed to the home page of the site they’re associated with (not the parent site).

    If I visit childsite.com/wp-admin, I’m taken to the child site’s dashboard.
    >>This is good

    If I visit childsite.com/wp-login.php, I’m logged into the child site, taken back to that child site’s homepage with the admin bar, profile, etc., shown.
    >>This is good.

    Logging out from a child site’s Admin Bar returns me to the parent site.
    >>Um…It’s ok, but I think it would be better if the login/logout function hung around the child site rather than the parent site.

    Logging out from the profile drop down with the site takes me back to the site’s login page.
    >>This is good.

    Also, all of the users I have currently were manually added, and the sites manually added – not sure if that matters.

    Do you think this is a BuddyPress issue or a Multisite issue to get the login/logout from the admin bar directing users to their respective sites? I could have sworn that was how it was supposed to work…

Viewing 25 results - 76 through 100 (of 174 total)
Skip to toolbar