vcsharp
  •  vcsharp
  • 88.4% (Honored)
  • YAF Commander Topic Starter
2017-09-22T08:58:07Z
I am trying to populate some custom tables whenever a user registers on YAF.
It seems the user control for register page is pages/register.ascx, 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 dbo.yaf_user_save, but not sure if this is the right procedure.
Sponsor
tha_watcha
2017-09-24T13:47:54Z
Originally Posted by: sun21170 

I am trying to populate some custom tables whenever a user registers on YAF.
It seems the user control for register page is pages/register.ascx, but it has no code-behind, so I don't think I can add my logic using code-behind.



If you like to modify the code Behind file you need the latest Source Package

https://github.com/YAFNET/YAFNET/releases/download/v2.2.4.3/YAF-v2.2.4.3-Source.zip 

There is no stored procedure that is only called during the registration. The only way is via the Code.


UserPostedImage

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved