Quote:
Originally Posted by ringleader
I don't know if this is right, but it works for me:
In vaispy.php
FIND
Code:
$datecut = "AND thread.lastpost >= " . (TIMENOW - ($daysprune * 86400));
$prefetched = null;
AFTER ADD
Code:
if ($vbulletin->userinfo[usergroupid] == 1)
{
print_no_permission();
}
This disables the page for unregistered/not logged in guests.
|
Thanks for this, but how could I add another usergroup?
Code:
if ($vbulletin->userinfo[usergroupid] == 1,2)
Or maybe something like this
Code:
if ($vbulletin->userinfo[usergroupid] == 1 OR userinfo[usergroupid] == 2)
I dont believe my examples are correct, anyone could help me?

Thanks