This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

How to copy aggregate review
#1

Hello there,

I'm wondering how i can copy the aggregated review i.e. rated 4/5 from 50 reviews. And place it on a separate page which shows the aggregate reviews for each company.

Thanks guys. !
Reply
#2

I'm 95% sure that this question is solved (about 30 lines of code) by Steven. But can't find thread ...

If you're able to handle PHP ... You can try to modify this solution. I'm using it for ONE separate stars feed. Some kind of loop could handle multiple feeds ...

Quick and concentrated usage how-to is in the head of the file.

lp, stariocek


Attached Files
.php zvezdni.php Size: 7.04 KB  Downloads: 10
Reply
#3

(09-Jul-2013, 08:49 PM)stariocek Wrote:  I'm 95% sure that this question is solved (about 30 lines of code) by Steven. But can't find thread ...

If you're able to handle PHP ... You can try to modify this solution. I'm using it for ONE separate stars feed. Some kind of loop could handle multiple feeds ...

Quick and concentrated usage how-to is in the head of the file.

lp, stariocek

I'm a complete php novice, i've literally been using it for just days !
But thanks so much for your help, i appreciate it.
Reply
#4

Here it is!

http://www.commentics.org/forum/showthread.php?tid=315

lp, stariocek
Reply
#5

Ayy, nice one !

Thanks again stariocek, still a bit confused as to how i'd implement this and i think that thread is a bit outdated as i believe commentics has updated since then and the recent reviews are no longer an addon, in anycase do you know where i can find the file being referred to and if you have the time step me through the implementation as i mentioned i'm a complete noob, hahah.
Reply
#6

The first one at http://www.commentics.org/add-ons.php .

I'm ready to help you with this - we can put this solution on-line together. And it will become a brand new Commentics add-on!

Just wait day or two, please. I'm very busy at work.

lp, stariocek
Reply
#7

(10-Jul-2013, 02:27 PM)stariocek Wrote:  The first one at http://www.commentics.org/add-ons.php .

I'm ready to help you with this - we can put this solution on-line together. And it will become a brand new Commentics add-on!

Just wait day or two, please. I'm very busy at work.

lp, stariocek

Sure, thanks again !
Reply
#8

Add-on for your situation, version 0.1.

Please do next:
- unzip
- open file and type correct value of a variable in row

require_once "comments/includes/db/connect.php";

- type right value of a variable in row

$url_to_images="comments/images/stars/" ;

- copy edited php file to your server, use folder not visible to spiders and visitors
- set permissions of a file to make it visible to the server
- open page that will show star ratings
- if it is php file insert code

include 'path_to_file/stars_feed.php' ;

- if it is html file inser code

<?php
include 'path_to_file/stars_feed.php' ;
?>

- check
- correct.

I hope it will work ...

lp, stariocek


Attached Files
.zip stars_feed_0.1.zip Size: 14.13 KB  Downloads: 13
Reply
#9

Styles are included in-line. Result is packed in a table element - old, but safe way. Screen shot is attached in image.

I hope that is what you need.

lp, stariocek


Attached Files Thumbnail(s)
   
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)