Posted by: vcsharp - Friday, 22 September 2017 10:58:07 |
---|
I am trying to populate some custom tables whenever a user registers on YAF. It seems the user control for register page is [i]pages/register.ascx[/i], but it has no code-behind, so I don't think I can add my logic using code-behind. But, I could perhaps add it to the stored procedure that gets called when a user registers on YAF. Is this the best approach? If yes, then what is the name of the stored procedure? I see a stored procedure called [i]dbo.yaf_user_save[/i], but not sure if this is the right procedure. |
Posted by: tha_watcha - Sunday, 24 September 2017 15:47:54 |
---|
[quote=sun21170;70659]I am trying to populate some custom tables whenever a user registers on YAF. It seems the user control for register page is [i]pages/register.ascx[/i], but it has no code-behind, so I don't think I can add my logic using code-behind.[/quote] If you like to modify the code Behind file you need the latest Source Package [url=https://github.com/YAFNET/YAFNET/releases/download/v2.2.4.3/YAF-v2.2.4.3-Source.zip]https://github.com/YAFNET/YAFNET/releases/download/v2.2.4.3/YAF-v2.2.4.3-Source.zip[/url] There is no stored procedure that is only called during the registration. The only way is via the Code. |