Skip to main content

Force a logout out at end of a purchase?

More
11 years 10 months ago #181254 by webcandy

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.

More
11 years 10 months ago - 11 years 10 months ago #181358 by YeeP
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
Last edit: 11 years 10 months ago by YeeP.

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

Time to create page: 0.166 seconds
Powered by Kunena Forum