The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to programmatically post to a thread
I need to programmatically post to a thread. I examined the tables and real threads and came up with a solution, however it does not keep the thread "in sync"... there are times where members cannot browse to the latest page.
Is there a guide for doing this? I know there are some 3rd party addons but I'd prefer to be able to do it myself in code. Here is what I'm running: Code:
INSERT INTO vbulletin.post SET threadid = THREADID, parentid = POSTID, username = 'Username', userid = USERID, title = '', dateline = unix_timestamp(now()), pagetext = 'test', ipaddress = '127.0.0.1', visible = 1 UPDATE thread SET lastpostid = NEWPOSTID, lastposter = 'Username, dateline = UNIX_TIMESTAMP(NOW()) WHERE threadid = THREADID LIMIT 1 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|