Oki'll explain everyting i have done:
opened AdminMyPhp then my db, selected vb_user and added ctoptip to it with the settings you gave, i then created a plugin as follows with newthread_post_complete as the hook
PHP Code:
if (in_array($foruminfo['forumid'], array('52'))) {
$db->query_write("UPDATE user SET ctoptip = ctoptip + 1 WHERE userid=" . $vbulletin->userinfo['userid']);
}
i then created a template called postbit_ctoptip
PHP Code:
<if condition="$post['ctoptip']>= '1'">$post[ctoptip] Top Tips<br /></if>
i then created another plugin with postbit_display_start as the hook
making a post via a form to the forum (id 52) does not produce an error nor does it increase the counter, making a post direct gave a db error as shown below
Quote:
Database error in vBulletin 3.8.1:
Invalid SQL:
UPDATE user SET ctoptip = ctoptip + 1 WHERE userid=1;