Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do you “Forcibly Log Out a User”?


  • afritech
    Participant

    @afritech

    Marking a user as a spammer, only disables their next login – according to what I have found out. WP 2.9.2 BP 1.2.5.2 They can still post on forums and send PMS & Friend requests in the current session.

    Is there a way to end their session? Forcibly log them off?

Viewing 8 replies - 1 through 8 (of 8 total)

  • afritech
    Participant

    @afritech

    Forgot to add: deleting them generates an error.

    Any ideas would be highly appreciated.

    I don’t think there is a way to revoke a particular user’s logon cookie, unless you also want to invalidate everyone else’s log on cookie. I’d delete the account. What error do you have?

    I usually administer things like this from the WP backend, deleting a user from the list under ‘users’ rather from the BP adminbar link which does throw an error – not 100% sure but there might have been a ticket raised on that issue?

    @hnla if the “admin options” buddybar dropdown “delete user” doesn’t work on the 1.2 branch, file a ticket and I’ll fix it.


    afritech
    Participant

    @afritech

    @Paul Gibbs
    When I delete a user it says: Error, try again later. The user is still logged in and can still post.

    @hnla
    From the WP backend, marking the user as blocked doesn’t help either.

    I was a bit cautious about deleting the account from the WP-back end, since I want the e-mail address blacklisted as well and I did read here on the forums that it may mess the PM routing – Users getting messages not meant for them.


    afritech
    Participant

    @afritech

    Sorry, must have pinged the wrong Paul.

    @afritech I meant ‘delete’ a user rather than mark them as spammer does that not instantly halt them?

    @djpaul Actually delete from adminbar – Admin-Options works fine on 1.2..5.2 so it must have been an earlier version that had issues or it manifests under certain conditions which aren’t occurring at present -if that’s so and I catch it I’ll add a ticket.
    edit/ On 2.9.2 /1.2.5 it threw an error but haven’t really time to establish whether that is due to the modified install or 1.2.5 rather than 1.2.5.2 or some plugin interaction.


    afritech
    Participant

    @afritech

    @hnla My first reaction was to mark them as spam then delete from BP admin bar. Marked as spam successfully but not deleting didn’t work 2 cases. Maybe a straight delete works, I will try that next.

    They were successfuly deleted though from the WP back-end under “Users” and logged out. Their forum posts are not inherited.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How do you “Forcibly Log Out a User”?’ is closed to new replies.
Skip to toolbar