The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
MySQL insert commands for new thread
Hiya,
can anyone point out to me what the necessary mysql inserts / updates are if I want to make a new thread from a specific user in a specific forum? i'd also like to increase the user's post count. I just don't know where everywhere must be data inserted / updated. Thx! |
#2
|
||||
|
||||
open includes/functions_newpost.php and take a look at build_new_post, that functions does what you need
|
#3
|
|||
|
|||
Thx @ Xenon,
that's what I needed. |
#4
|
||||
|
||||
glad i could help
|
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
Well, I just deleted all the "useless" things so far...
|
#7
|
||||
|
||||
Quote:
|
#8
|
|||
|
|||
well, there are a lot of things in that function but for my purposes a lot of those checks are unnecessary so I removed them
|
#9
|
||||
|
||||
@version2: the info-arrays are containint the name/values of the corresponding DB entries of thread/forum/post table
|
#10
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|