Good need your help, I tried to place my forum notification option, deputy capture: http://prntscr.com/ciyzq4.
To do that I created a plugin:
Hook: process_templates_complete
Execution Order: 5
With the following code:
$currentuserid = $vbulletin->userinfo[userid];
$query = "SELECT * FROM...