![]() |
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! |
open includes/functions_newpost.php and take a look at build_new_post, that functions does what you need
|
Thx @ Xenon,
that's what I needed. |
glad i could help
|
Quote:
|
Well, I just deleted all the "useless" things so far... :)
|
Quote:
|
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 :)
|
@version2: the info-arrays are containint the name/values of the corresponding DB entries of thread/forum/post table
|
Quote:
|
All times are GMT. The time now is 07:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|