jimbo2
  • Posts: 16
  • Joined: 09/01/2012
Hi,

I would like to automatically create a new (welcome)thread when a user have successfully registered on my website.
Is there a way to create a new thread programatically or do I have to fill the database table via code?

Thanks in advance
jimbo
tha_watcha
  • Posts: 4045
  • Joined: 06/03/2010
You only need to call the method LegacyDB.topic_save(...) and parse the parameters manually. Take a look at the postmessage.ascx.cs file which parameters are needed.
UserPostedImage
bbobb
  • Posts: 1558
  • Joined: 21/10/2008
Originally Posted by: jimbo2

Hi,

I would like to automatically create a new (welcome)thread when a user have successfully registered on my website.
Is there a way to create a new thread programatically or do I have to fill the database table via code?

Thanks in advance
jimbo


Why not to simply send him a pm?
saedabaid
  • Posts: 9
  • Joined: 29/01/2012
please how to show the topic related to the quer string
i dragged and dropped the displayposts control like this

<uc6:DisplayPost ID="DisplayPost1" runat="server" />
then what can i do?
JP
  • Posts: 398
  • Joined: 08/01/2009
I kinda have a similar "wish to have" feature request...

My wish is to create a topic in the forum for discussion around articles published on the main site... One topic/article...
Would be nice to have some kind of "call API" to create a topic from outside the forum, but of course with forum security so non-members cannot create anything... Maybe also a read-only API so you can publish the created forum discussion at the bottom of the article with a link to the forum topic so members can easily go there and reply to the topic ...

Just some wild idea of mine... 😁
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
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.

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