
12-03-2010, 01:06 AM
|
 |
|
|
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by stationar
My users have found it very useful, if those from ignore list couldn't see your videos.
in media/media_details.php find:
PHP Code:
{
eval(standard_error(fetch_error('media_details_invalid')));
}
Add after it:
PHP Code:
$ignore = $db->query_first("SELECT * FROM `userlist` WHERE relationid = '".$vbulletin->userinfo['userid']."' AND userid = '".$media['userID']."' AND type = 'ignore'");
if ($ignore['relationid'] == $vbulletin->userinfo['userid'])
{
print_no_permission();
}
|
Cool Thanks
|