Adding the validfields php to the threadfpdata_start hook.
I also tried threaddata_start but it seems like threadfp one is the right one.
When I set it to REQ_YES instead of REQ_NO, it won't let me post a thread neither from my plugin nor from a new thread page telling me I'm missing that field.
The $threadman->set(); i put right before the save().
That goes in a plugin in misc.php page where I'm setting up a custom form for my members.
Basically, the goal is to have them fill it out and it posts a new thread in a specific forum and sets that mysql column value to 1.
|