Log in

View Full Version : How to insert extra data into the post table apon post creation?


K33
10-18-2005, 09:25 AM
Hi
I have a field in the 'post' table lets say called NewField. Now I need to insert some data into that field every time someone makes a new post/thread based on several usergroup checks I do. I am trying to figure out where in what hook and how I am supposed to do it?
Thanks in advance!

Ranma2k
10-18-2005, 09:33 AM
if i understand you correctly
You can do it using the hook newpost_process

K33
10-18-2005, 09:46 AM
Yea thanks i figured this out after reading
http://www.vbulletin.com/docs/html/main/data_manager_advanced