Force a logout out at end of a purchase?

  • Posts: 23
  • Thank you received: 2
9 years 4 months ago #181254

korzo wrote:
Although your code will work in this particular situation, there are several downsides:
$user->groups has only groups assigned to user, not inherited groups.
header() will fail, if some output was already sent and also it doesn't pass queued messages to next page.


That is good info. Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 1
9 years 4 months ago #181358

Nice work korzo! I now get over to the Membership area and get the expected pop up message for the new user(that part was already working). I think I will tweak the message so the Day 1 piece doesn't cover it when they first get here, but I can handle that.



Thank you so much for your help. I am really curious as to why you could not duplicate. I wonder if whatever is causing this on my side is the reason that I could not the the system to work the way it was supposed to in the first place.

If you have any ideas, I am all ears.


Thanks again!
Ryan

Attachments:
Last edit: 9 years 4 months ago by YeeP.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum