Results 1 to 5 of 5

Thread: Logout after registration

  1. #1
    Thread Starter
    Veteran ajamm's Avatar
    Join Date
    Nov 2011
    Location
    New Zealand
    Posts
    309
    Thanks
    26
    Thanked 32 Times in 29 Posts

    Lightbulb Logout after registration

    Hello again.

    I think I have almost solved a problem - can you help?

    My problem is that 2 out of 3 user registration blockers allow one log in before blocking in Classipress...

    The other - Stops the FANTASTIC plugin working!

    I beleive if I can simply add a function to log out immediately after the registration is submitted, we will have cracked it.

    I tried adding wp_logout () after the theme-login fucntion redirecting to create new ad page, it succeeded in the log out, but threw errors later, so figure it was nt quite right.

    Can you suggest best place for this? Preferable in a plugin, as I have never quite figured out child themes and still have a large number of modified files already in CP.

  2. #2
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,236
    Thanks
    89
    Thanked 597 Times in 495 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  3. #3
    Thread Starter
    Veteran ajamm's Avatar
    Join Date
    Nov 2011
    Location
    New Zealand
    Posts
    309
    Thanks
    26
    Thanked 32 Times in 29 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,236
    Thanks
    89
    Thanked 597 Times in 495 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  5. #5
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,236
    Thanks
    89
    Thanked 597 Times in 495 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Logout Problem
    By jithin in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: March 20th, 2012, 09:17 AM
  2. [SOLVED] 3.17 - Problems with Logout
    By gr8wan in forum ClassiPress General Discussion
    Replies: 5
    Last Post: March 13th, 2012, 09:45 AM
  3. CP 3.4.5 - Cant Logout & some bug reports
    By reyvax in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: October 21st, 2011, 07:07 AM
  4. Logout error
    By brianowens in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: February 23rd, 2011, 07:10 PM