PDA

View Full Version : Quick hook question on paidsub_build


brianwarner
02-22-2011, 04:55 PM
I used to have code that would add more information to my database upon registration and it worked fine for the member add registration hook. I needed to change this though so only the code executes at the subscription paid level. I guess the paidsud_build hook doesn't have the same variable access ($vbulletin->userinfo or $vbulletin->GPC for ex.). So I tried the fetch_userinfo function, which got me closer, but I need to get the md5 password. If I had access to the GPC["password_md5"] variable like I do at registration my script would work, but just using the password field in the userinfo field does not (I'm storing multiple username for multiple systems if anyone is wondering).