Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #111  
Old 06-28-2008, 06:38 PM
TheMarco Offline
pixelpost guru
 
Join Date: Apr 2008
Posts: 195
I didn't edit the add-on in any way. All I did was change CSS.
__________________
Check out Dark Matter, the accessible, degradable and sweet looking Pixelpost template.

Dark Matter Pro is now available at darkmatter-template.com!

If you want something from me please DON'T PM me on this forum as the inbox keeps filling up. Send me email instead at marco at i-marco.nl. Thanks!
Reply With Quote
  #112  
Old 06-28-2008, 06:39 PM
TheMarco Offline
pixelpost guru
 
Join Date: Apr 2008
Posts: 195
And, yes it does rate the image. It seems to work fine actually except for spitting out that error.
__________________
Check out Dark Matter, the accessible, degradable and sweet looking Pixelpost template.

Dark Matter Pro is now available at darkmatter-template.com!

If you want something from me please DON'T PM me on this forum as the inbox keeps filling up. Send me email instead at marco at i-marco.nl. Thanks!
Reply With Quote
  #113  
Old 06-28-2008, 08:06 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
i'll try to reproduce the error later and get back to you with my findings.
Reply With Quote
  #114  
Old 06-28-2008, 08:13 PM
TheMarco Offline
pixelpost guru
 
Join Date: Apr 2008
Posts: 195
Found the problem. It looks like the two optional tags:

<TOTAL_VOTES_AJAX_RATE> and <TOTAL_VOTES_CAST_AJAX_RATE>

are not as optional as the documentation says they are. When omitted, the Javascript breaks. I put them in and now things are working fine.
__________________
Check out Dark Matter, the accessible, degradable and sweet looking Pixelpost template.

Dark Matter Pro is now available at darkmatter-template.com!

If you want something from me please DON'T PM me on this forum as the inbox keeps filling up. Send me email instead at marco at i-marco.nl. Thanks!
Reply With Quote
  #115  
Old 06-30-2008, 10:09 AM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
Quote:
Originally Posted by dwilkinsjr View Post
Try this code.

http://www.pixelpost.org/forum/showp...7&postcount=78

There was an issue similar to this before but I'm not 100% positive if I fixed it. That code above does contain other bug fixes though.
Let me know if the problem still exists. If it does I'll have a closer look at it.

The result is the same, ie, with the same ranking as before. Cannot solve the problem.

1st: 5.0/5 (1 vote cast)

2nd: 5.0/5 (2 votes cast)

3rd: 5.0/5 (2 votes cast)


I want the ranking like this:

1st: 5.0/5 (2 votes cast)

2nd: 5.0/5 (2 votes cast)

3rd: 5.0/5 (1 vote cast)
__________________
*********************************RanmaJen's Network*************************************
The Dark Heaven - Home of Anne Rice Vampires
The Vampire Coven - The Fanlisting of Anne Rice's Vampires
The Vampire Coven - Anne Rice Topsites
The Vampire Coven Banner Exchange
Laputa - Castle in the Sky Fanlisting
Ranma 1/2 - Ryoga Hibiki Fanlisting
Mitsuru Adachi - Touch Fanlisting
Love Letter Fanlisting
************************************************** ************************************
Reply With Quote
  #116  
Old 06-30-2008, 03:04 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
Try this.

Replace the old file with the one attached.
Attached Files
File Type: zip ajax_rating_statistics.zip (2.4 KB, 4 views)
Reply With Quote
  #117  
Old 06-30-2008, 03:44 PM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
Downloaded and replaced the original file but not ok.

You can see the right column of this page:
http://gallery.ranmajen.net/index.php?x=stat

3.0/5 has higher rank than 4.0 and 5.0
__________________
*********************************RanmaJen's Network*************************************
The Dark Heaven - Home of Anne Rice Vampires
The Vampire Coven - The Fanlisting of Anne Rice's Vampires
The Vampire Coven - Anne Rice Topsites
The Vampire Coven Banner Exchange
Laputa - Castle in the Sky Fanlisting
Ranma 1/2 - Ryoga Hibiki Fanlisting
Mitsuru Adachi - Touch Fanlisting
Love Letter Fanlisting
************************************************** ************************************
Reply With Quote
  #118  
Old 06-30-2008, 07:11 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
Alright, I guess I'll have to actually fiddle around with the addon. I did not test the last update personally.
Reply With Quote
  #119  
Old 07-01-2008, 01:34 PM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
Thanks a lot, wait for your update then
__________________
*********************************RanmaJen's Network*************************************
The Dark Heaven - Home of Anne Rice Vampires
The Vampire Coven - The Fanlisting of Anne Rice's Vampires
The Vampire Coven - Anne Rice Topsites
The Vampire Coven Banner Exchange
Laputa - Castle in the Sky Fanlisting
Ranma 1/2 - Ryoga Hibiki Fanlisting
Mitsuru Adachi - Touch Fanlisting
Love Letter Fanlisting
************************************************** ************************************
Reply With Quote
  #120  
Old 07-03-2008, 03:01 AM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
Ok, I have got it:

ORDER BY `".$pixelpost_db_prefix."ajaxRatings`.`$order_b y` $order, total_votes DESC LIMIT 0,$max");
__________________
*********************************RanmaJen's Network*************************************
The Dark Heaven - Home of Anne Rice Vampires
The Vampire Coven - The Fanlisting of Anne Rice's Vampires
The Vampire Coven - Anne Rice Topsites
The Vampire Coven Banner Exchange
Laputa - Castle in the Sky Fanlisting
Ranma 1/2 - Ryoga Hibiki Fanlisting
Mitsuru Adachi - Touch Fanlisting
Love Letter Fanlisting
************************************************** ************************************
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 07:00 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs