View Full Version : Baiscs for creating threads/postings from outside vbb
Intec
Mon 17th Jul '00, 3:41am
Hi John,
maybe I dont told exactly what I want (my english isn't as good). I want to make postings from outside from vBulletin. Is there an API for this case or do you have a little script showing the basics for creating threads/postings? If there are I would be happy for this. Otherways can you give me a little overwiew in which script from vBulletin I can find the code where you are creating postings?
Big thank and greeting from here
Intec
Sun 23rd Jul '00, 7:42am
Has no one any ideas for me.:(
doron
Sun 23rd Jul '00, 12:44pm
you mean, have another script (say newfile.php) write into the db and create new polls?
Intec
Mon 24th Jul '00, 3:59am
Yes, f.i. i had news in an other part of my website to use for the users. And a idea is, they can post an answer to this news and this will be a part of forum.
And because I must post psotings and threads to the vbb-databse. I hope, that I can use functions or classes from the vbb-software to do this.
Or I can find informations about, which I must take care, when I post postings or threads in my own code (f.i. which fields must filled in other tables as post).
Thanks for the help
JimF
Mon 24th Jul '00, 4:14am
What I would do is just create your form on your article page or whatever, and have the form action be newthread.php or newreply.php - just like already exists in the forums directory.
So say you are in your root directory, you would reference:
<form action="forums/newreply.php">
And you would put the thread numbers and forum numbers in as hidden form elements in the HTML form code.
Basically, go to the page you want to emmulate, view source, copy and paste, of course formatting it the way you like. I know I'm probably explaining this like crap, but maybe if someone else who gets the gist of what I'm trying to say can clarify if you don't understand. I'm not 100% sure I would ;).
-jim
Intec
Sat 5th Aug '00, 6:06pm
Anyone know, which variables must be transfer to newthread or newpost scripts from a own formular?
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.