We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

EE Entry Rating Module -- Help requested

Development and Programming

soxhead's avatar
soxhead
69 posts
17 years ago
soxhead's avatar soxhead

I installed the EE Entry Rating Module yesterday from silenz.org

It was really easy to setup and use, but I haven’t had any success sorting by the highest rated entries.

I’m using the example code straight off the site – the only modification I made to the code is inserting my weblog name:

{exp:entry_rating:order_by_rating type="overall" limit="5"}
{exp:weblog:entries weblog="myweblog" entry_id="{order_by_rating}" sortby="rating" dynamic="off"}
<a href="http://{path=site/article}">{title}</a>
{exp:entry_rating:show_rating entry_id="{entry_id}"}({overall_vote}){/exp:entry_rating:show_rating}
{/exp:weblog:entries}
{/exp:entry_rating:order_by_rating}

This outputs a list, but it isn’t ordered by by rating – rather, it’s ordered by descending entry date.

I left a comment on the site, but I’m not sure if I should expect a response, so I thought I’d ask here.

Anybody know what could be going wrong?

If the problem isn’t with my EE tags, it’s probably in the php – and I’m an absolute hack. Can’t figure out what’s going on in there with any degree of certainty:)

       
silenz's avatar
silenz
1,648 posts
17 years ago
silenz's avatar silenz

Have you enabled the extension under CP Home › Admin › Utilities › Extensions Manager ?

       
soxhead's avatar
soxhead
69 posts
17 years ago
soxhead's avatar soxhead

Ho.

ly.

crap.

I never enabled the extension.

Can you write a module that incorporates a {restore_pulled_out_hair} tag? That would be great.

I probably spent 75% of my waking hours poking at the php over the last two days. Talk about a weekend well spent:)

You’re awesome, silenz. This mod is sweet.

BTW: I just got it working with a 1-10 voting scale. A small accomplishment for some, but for a self-proclaimed php hack I’m pretty pleased with myself.

Mostly, it speaks for how easy this is to customize.

       
zachary.lai's avatar
zachary.lai
2 posts
17 years ago
zachary.lai's avatar zachary.lai

hi, why i am facing such error: Unable to locate the files needed to install this module

when i was trying to install this in the modulesin Admin part

       
zachary.lai's avatar
zachary.lai
2 posts
17 years ago
zachary.lai's avatar zachary.lai

hi, how do i include this cool rating module in photo gallery module? thank you very much!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.