The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
New thread creation and posting question
I am trying to figure out, when a new thread is created, it adds that thread to thread table and also adds it to post table.
I been looking at newthread.php and functions_newpost to figure out where in the logic it is doing add to post table. Any help regarding that would be greatly appreciated |
#2
|
|||
|
|||
Look in includes/class_dm_threadpost.php, search for class vB_DataManager_Thread_FirstPost.
|
#3
|
|||
|
|||
Quote:
--------------- Added [DATE]1311472606[/DATE] at [TIME]1311472606[/TIME] --------------- My understanding is that when we create a new thread, that thread adds a new record in thread table and also new record in post table. My objective is to populate one custom field into both of the tables. I have added a custom field in post table and also in thread table. I am able to push custom field information to thread table properly by doing following. $newpost['customfield1'] = $vbulletin->GPC['customfield1']; But I am having hard time finding why custom field information is not getting into post table field. Which part of the logic from class_dm_threadpost.php could be generating new record into post table. This seems to have become a big puzzle for me to solve, Please help |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|