We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

member_id and member_member_register

Development and Programming

techyogi's avatar
techyogi
35 posts
17 years ago
techyogi's avatar techyogi

i have gotten the blessing from lisa to copy EE code from mod.member_register.php to my redirector extension.

so far it is going well. hooking at member_member_register does the redirection after registration. however, when it gets to the point to update the existing active session variables, specifically $member_id, is not available to my extension even though i was extending Member_register.

but if i change the hook to member_member_register_start, and copy all the required code between the 2 hooks, $member_id becomes available as it should.

what i dont understand is that i dont see any redeclarations or reassignments of $member_id and yet it somehow has been unset. this could be the fact that i am an OO noob, but then why does it work from member_member_register_start ?

anyone muck around with this before ? thanks in advance.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.