Hi,
Rating system for all users, do the following steps.
1. Set 'Rate a video' to 'Unlimited' in Admin -> Site Settings -> Miscellaneous.
2. Open file ajax/video_rating.php.
Find and remove:
Code:
else if (! isset($_SESSION['UID']))
{
$err = $lang['invalid_user'];
}
then, find:
Code:
if (in_array($_SESSION['UID'], $voters ))
{
$video_voter_id_new = $video_voter_id;
}
else
{
$video_voter_id_new = $video_voter_id . $_SESSION['UID'] . '|';
}
replace with:
Code:
$video_voter_id_new = $video_voter_id;
if (isset($_SESSION['UID']))
{
if (! in_array($_SESSION['UID'], $voters))
{
$video_voter_id_new = $video_voter_id . $_SESSION['UID'] . '|';
}
}
If you can't get it fixed, open a support ticket at
BuyScripts Helpdesk
with your vshare admin and FTP login details.
Thanks
Buyscripts Team
Bookmarks