The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Creating a Thread through an external formular...
Hi.
I am building an external join-us form for our trialmember-candidates. We got a 'Join Us'-subforum in our forums... Until now, all the people posted in there, but they missed many things to say, like age, country etc. So i created an external form with all required fields to be filled. All this is posted into a seperate, own mysql-table. But i would like it to have like that: Someone goes to the join-us form, fills out the required fields, sents the form. Then the fields should be formatted like Code:
Personal Name: xx Age: xx The thing is, i want to create a thread with the title 'Joining-Application by *Name*' with icon and the above named string as message. Usually i would just INSERT INTO the threads-table, but i have no idea, how all the tables are connected to each other. So...my question is: Is it enough to insert the text into the thread-table or are there more tables to be updated when a new thread has been created? Sry for my english...i'm german |
#2
|
||||
|
||||
I know you also need to update the post table. You may want to take a look at the newthread.php script and copy a lot of that over to your external form.
|
#3
|
||||
|
||||
you could use the forms hack. or you could use the built in api and just send it as you want on the fly.
if you opt for the data manager check out the official help files on vb.com or check out the vb.org article section. EDIT: Lynne gave you terrible advice. to create a new thread. it's like 10/15 lines of code. |
#4
|
|||
|
|||
This maybe: https://vborg.vbsupport.ru/showthread.php?t=102418 ?
|
#5
|
||||
|
||||
i saw that, but that's create posts. feel free to download my Mod Application System. I create threads with that.
|
#6
|
|||
|
|||
Ooops oh yeah lol. Someone needs to make a [How-To] Create threads
|
#7
|
|||
|
|||
Uhm...i am kinda confused now... :Z
Searched the articles but just found the 'how-to create posts'. Also checked the database for some other articles which could help me, but i didn't find anything... Took a look on the form hack, but somehow it is not, what i am searching for... I don't want to integrate the formular into my vB coz it has its own style... I just need a class or a function to create a thread through this formular... |
#8
|
|||
|
|||
How about this: https://vborg.vbsupport.ru/showpost....3&postcount=21 ?
|
#9
|
|||
|
|||
I am getting even more confused... lol
I'm not really familiar with the vB-classes and i don't know what all the functions do... :/ But the link you posted looks like - besides the thread-table - only the forum counter is updating... Or am i wrong? |
#10
|
|||
|
|||
Quote:
If you don't know PHP I wouldn't bother try to do this yourself though. I mean you can try mucking around with the code in that link its really quite simple. Just look at the comments in the PHP script and read what is going on. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|