Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Aiheen aloitti: Spookd - syyskuu 08, 2006, 09:37:16 AP

Otsikko: Webform Post Into Topic
Kirjoitti: Spookd - syyskuu 08, 2006, 09:37:16 AP
Basicly I'm wondering if theres anyway I can create a webform, and make the results of that turn into a new thread into a specific forum. Has anyone created something like this?
Otsikko: Re: Webform Post Into Topic
Kirjoitti: Spookd - syyskuu 08, 2006, 09:39:15 AP
I'm thinking of a possible PhP SQL webform, and just converting it into the SMF database. My SQL syntax isn't that good though, if there are any conversion pro's out there that can help me out here >.<
Otsikko: Re: Webform Post Into Topic
Kirjoitti: Spookd - syyskuu 08, 2006, 09:46:40 AP
It's basicly a recruitment form...
I need like, the name, race, and level of the person's character in the title, and the rest in the body.
The SQL structure will be simple, just a "Webform" table with multiple rows for the subjects, including "Name", "Class", ect...
Also, I'm not sure how it would be able to log in to create the post, I don't mind maing a seperate "Recruitment" forum account.
Thanks again, SpkD
Otsikko: Re: Webform Post Into Topic
Kirjoitti: JayBachatero - syyskuu 09, 2006, 01:31:48 AP
If you ar elooking to creating a new topic/topic form outside the forum take a look at createPost function lodated in Subs-Post.php.