I just bought this script; http://www.scriptsez.net/index.php?action=details&cat=Reviews+and+Ratings&id=2519672139

You can see a demo of the script here: http://www.scriptsez.com/ez_comment/demo.html

I'd like to create an 'average' of the total votes for each review/comments. Is this possible to do in an easy way?

I would also like to create a top 10 list based upon these averages. How can this be done?

Thanks in regards.

Recommended Answers

All 4 Replies

If it uses MySQL, then in all probibility you can do what you want to.

However, I have not used this before and have not seen the source code, without this I cannot suggest what to modify.

Have you tried contacting the company you bought this from to see if they provide this functionality as an addon?

Thanks for your reply.

What part of the code would you like to see? I can post parts of it here to you.

Thanks for your reply.

What part of the code would you like to see? I can post parts of it here to you.

I would strongly recommend against that, seeing as the product you purchased is not open source.

Member Avatar for diafol

The DB structure will be visible to you. Use AVERAGE / LIMIT / ORDER / WHERE keywords to get the relevant data (mysql I take it).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.