Star rating (developer knowledge required)

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-10-2009, 03:40 PM
New Pligger
 
Join Date: Apr 2009
Posts: 10
Hello folks,

I am trying to show the pligg voting system (stars) on another .php file (which will also allow them to vote from there, too). However, after poking around I am a little confused at the current pligg design.

Could a very kind developer please describe how the star voting method works and what files are involved? I have managed to extract the voting information and its calculated correctly - its just I am confused as to how its presented/displayed. Currently, the information I have from a story is:

Link rating: 4.5
Rating width:112.5
Vote count:2
Votes: 9

I would just like a developer to describe how I can show the stars correctly on another .php and allow a vote to be issued from this other .php file.

Hope someone can help! Thank you very much!
Reply With Quote
  #2 (permalink)  
Old 10-06-2009, 05:22 PM
New Pligger
Pligg Version: 1.0.1
Pligg Template: Custom
 
Join Date: Oct 2009
Location: Texas
Posts: 6
Quote:
Originally Posted by bobbymoore View Post
Hello folks,

I am trying to show the pligg voting system (stars) on another .php file (which will also allow them to vote from there, too). However, after poking around I am a little confused at the current pligg design.

Could a very kind developer please describe how the star voting method works and what files are involved? I have managed to extract the voting information and its calculated correctly - its just I am confused as to how its presented/displayed. Currently, the information I have from a story is:

Link rating: 4.5
Rating width:112.5
Vote count:2
Votes: 9

I would just like a developer to describe how I can show the stars correctly on another .php and allow a vote to be issued from this other .php file.

Hope someone can help! Thank you very much!

Bobby,

I have the same information and I was tailing the POST info with FireBug to see where the info was being sent. It goes to Vote.php in your pliggbase directory.

I am perplexed however since I cant seem to find the POST code in the link_summary.tpl file. I am trying to replace the star voting system on my install with a jQuery star rating system but have no idea how to POST/GET this info.

Have you figured anything else out with this? Any info from anyone would be appreciated.

POST format:
id 152
md5 a44b6dd90fa17f674338c45799ee610d
user 3
value 6

RESPONSE format:
100~4~3
Reply With Quote
  #3 (permalink)  
Old 10-06-2009, 05:47 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Check yoursite/templates/xmlhttp.php
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Star rating images? PurpleCow Questions and Comments 2 06-17-2007 03:30 AM
Display only Star rating and the title by default PurpleCow Questions and Comments 0 06-16-2007 05:24 AM
Average Star Rating aaronpais Questions and Comments 0 05-20-2007 11:38 AM
star rating bug boardsource Questions and Comments 6 05-16-2007 11:10 AM
Star Rating System Aqui Questions and Comments 1 01-24-2007 01:30 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development