thanks again worked like a charm.
Ill reference your help in my comments thanks!
Lol now I am trying to add something else to stop unregistered users from being logged in and messaging people through the messenger to other people.
here is what I have but it is not working lol..
I am so new to this...
If you understand what I am doing wrong this is the last part I am having trouble.. so that way I can update the product later.
Code:
plugin active="1" executionorder="5" product="vbulletin">
<title>Disable Unregistered Access</title>
<hookname>disable_var _SKYAUTH </hookname>
<phpcode><![CDATA[if (in_array($vbulletin->userinfo['usergroupid'],array(1,3,4,8)))
{
print_no_permission();
}]]></phpcode>
</plugin>