well, i been trying to code a plugin for vb 3.5 that makes a second postcount for a single forum, i have already inserted a query into my database, "post2" in "user" table, and i have codded this so far by looking into plugins that works on the hooks i think are the correct:
Hook : Forumdata_start
PHP Code:
$this->validfield['post2'] = array(TYPE_STR, REQ_NO);
And
hook: Newpost_process:
PHP Code:
$post2 = fetch_field(post2)
if ($vbulletin->foruminfo['forumid']=='5')
{
$finalpost2count = ++$post2;
$this -> set('post2',"$finalpost2count");
}
so, help is apreciated