EE entry rating module

I finally could force myself to write up at least a rough documentation for an entry rating module I made some time ago. So here it ...

Leave a comment:

Name:

Email:

Location:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?

If you found something useful here and want to show your appreciation feel free to

or


Comments:

1 of 5 pages  1 2 3 >  Letzte »

You can use the module with any existing weblog.

Posted by  on  08/18  at  10:22 AM

I just downloaded your module and i’m trying to figure out how to call the module. I’m fairly new to expression engine. So my question is: Does the rating system needs it’s own weblog?

Posted by  on  08/18  at  01:13 AM

You could edit mod.entry_rating.php.
On line 248 - 252 are the radio inputs. Just reverse their order.

Posted by  on  03/15  at  12:04 PM

This is a fantastic module—a breeze to install and crazy easy to use.

My only question is, is there a way to reverse the order of the radio buttons so that 1 is on the left and 5 on the right?

Posted by Kevin  on  03/15  at  01:45 AM

You could open mod.entry_rating.php and modify lines 194-201.
Change

// check if user already voted for the entry
if ( $member_id == {
    
//if not logged-in
    
$sql "SELECT * FROM exp_entry_rating_log WHERE entry_id='$entry_id' AND ip_address='$IN->IP';";
else {
    
//if logged-in
    
$sql "SELECT * FROM exp_entry_rating_log WHERE entry_id='$entry_id' AND member_id='$member_id';";
}

to

// check if user already voted for the entry
if ( $member_id != {
    
//if logged-in
    
$sql "SELECT * FROM exp_entry_rating_log WHERE entry_id='$entry_id' AND member_id='$member_id';";
}

Cookie check is currently not implemented.

Posted by  on  02/27  at  11:10 AM

Is there a way to disable the 1 vote per IP feature? Ideally I would like to limit votes using cookies. I know they’re easier to bypass but having the ability to allow multiple people under the same IP vote is more valuable than possible repeat votes.

Posted by Travis Gertz  on  02/25  at  10:10 PM

1 of 5 pages  1 2 3 >  Letzte »