Is there way to set the rating system so person dont have to be register to rate a video?
Printable View
Is there way to set the rating system so person dont have to be register to rate a video?
i'm interesed in this also
it was easy todo in 2.4 but in 2.6 its not so simple i guess
Didn't find the answer.
Can anybody help with it?
Change the rating setting in the admin panel from "Once" to "Unlimited". Then, a user is not required to register to rate.
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:
then, find:Code:else if (! isset($_SESSION['UID']))
{
$err = $lang['invalid_user'];
}
replace with:Code:if (in_array($_SESSION['UID'], $voters ))
{
$video_voter_id_new = $video_voter_id;
}
else
{
$video_voter_id_new = $video_voter_id . $_SESSION['UID'] . '|';
}
If you can't get it fixed, open a support ticket atCode:$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'] . '|';
}
}
BuyScripts Helpdesk
with your vshare admin and FTP login details.
Thanks
Buyscripts Team