Foren / Cotonti / Support / ratings

nothing happens

musashi9
#1 2. April 2009, 10:19
After I select my rating a white box appears asking me to "RATE IT!" so I click this box then the rating stars disappear and = 0 and my rating is not saved.

NOTE this happens to me on a page with no ratings.
However when I put a high rating on a page that already has ratings of, lets say 4 stars (after my rating of 4 or 5 stars the final rating stars are set to only half a star, when they were set to 4 before my rating.

cotonti 0.0.3
(migration from sedito - contonti 0.0.2 - 0.0.3)

update. I just checked my logs and found this
A variable type check failed, expecting P/INT for 'newrate' : null - /page.php?id=1996&inr=send

Dieser Beitrag wurde von musashi9 (am 6. April 2009, 10:03, vor 15 Jahre) bearbeitet
pieter
#2 16. April 2009, 16:55
I have the same problem, was there already a solution?

Solved problem:
I copied the original ratings.tpl from sed-light.
I guess there was something changed in last version.
... can we help you ...

Dieser Beitrag wurde von pieter (am 16. April 2009, 18:19, vor 15 Jahre) bearbeitet
musashi9
#3 17. April 2009, 08:34
What package did you get this SED-LIGHT/RATINGS.TPL file from?
pieter
#4 17. April 2009, 12:39
musashi9
#5 17. April 2009, 19:49
With this tpl I can make new ratings however I still have some minor problems to do with pre cotonti ratings ,and I still have this error in my log. Anyone know what is causing it?
A variable type check failed, expecting P/INT for 'newrate' : null - /page.php?id=1996&inr=send
CorpQuid
#6 20. April 2009, 12:38
I have the same problem

"A variable type check failed, expecting P/INT for 'newrate' : null - /page.php?id=1&inr=send"

I took a look at the ratings template file from Sed-Light and compared them to my template ratings tpl file and the only change that I could see was at line 7

	$(function() {
		$('#rating_submit').click(


	$(function() {
		$('#rating_submit').hide();
		$('#rating_submit').click(

This looks like only the .hide was added, does anyone have anything different in there template that I could be missing?

Thanks for your help.

Peiter
The above was from the Axis4 template ratings.tpl FYI :-D

Dieser Beitrag wurde von CorpQuid (am 20. April 2009, 12:49, vor 15 Jahre) bearbeitet