Thank you for reply mate !
i think that someting else is wrong in $vbulletin->userinfo[userid]
after create new plugin in member profile i can see this error
Code:
Database error in vBulletin 3.7.4:
Invalid SQL:
SELECT COUNT(*) AS count FROM thread WHERE postuserid = Array[userid] AND forumid IN(1, 2, 3);
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[userid] AND forumid IN(1, 2, 3)' at line 2
Error Number : 1064