Ratings for not registered users

0
Hi!
I almost finished to set up the component, and looks very nice.

But I can't vote for the songs. The site has no register, because we don't want to have registered users. We need everybody can vote the songs.

Now, the stars are showed in grey color, and can't vote. I have read the forum and have found how to enable comments for not registered users, but not for voting.

So, how can I do everybody can vote?

Thank you very much for the help!
Responses (3)
  • Accepted Answer

    Thursday, October 13 2011, 02:29 PM - #Permalink
    0
    are you a programmer? or at least you understand code? :)

    in this case, just as in ratings, go to the VIEW files (/views/album/tmpl/default.php, etc)

    and look for the IF sentence that disallows non-registered to make comments, and just allow everybody. do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 14 2011, 05:42 AM - #Permalink
    0
    Hi,
    Yes I am a programmer (but not for php or CSS, AS400, C an another). I am starting now with php and CSS, so I can understand the code, but I am a novice and I am not sure that I have done.

    I only need album views, so I have tried to do it in album views and it seems it are working. But I need to test this weekend with time. And now, I have the right permissions for doing changes ( I spoke to the admin of the server about it)

    So, I you can indicate the exact lines in album views, (tmp), I will compare it. Or .. if better, I have replaced the lines If (user->id) for (true). Is it ok?

    Thanks for your great help!!!

    This weeked I will test it. The site is www.certamenvideo.ccoo.es and it looks nice. You can see your extension in front page and in audios menu.
    I have to do it right because CCOO is one of the main workers syndicates in spain, and it have to looks fine!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 14 2011, 11:38 AM - #Permalink
    0
    it is exaclty that, yes. you have to change if($user->id) for if(true) :) simple as that!
    The reply is currently minimized Show
Your Reply