Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline vcsharp  
#1 Posted : Friday, September 22, 2017 2:58:07 AM(UTC)
vcsharp


Rank: YAF Lover

Reputation:

Joined: 10/3/2017(UTC)
Posts: 36
Man
Anguilla

Thanks: 9 times
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
Offline tha_watcha  
#2 Posted : Sunday, September 24, 2017 7:47:54 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,735
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
Originally Posted by: sun21170 Go to Quoted Post
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.

thanks 1 user thanked tha_watcha for this useful post.
vcsharp on 10/5/2017(UTC)
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error