Welcome Guest ( Log In | Register )

 Forum Rules Extensions Support
 
Reply to this topicStart new topic
> Microformats Votes Js Error 'json Is Null' [solved]
pienso
post Aug 24 2012, 12:48 PM
Post #1


Newbie
*

Group: Members
Posts: 4
Joined: 24-August 12
Member No.: 1,323



Hi,

I have a problem: when voting I got error message 'json is null'.
Joomla 2.5.6
url plugins/content/microformatsvotes/ajax.php is accessable - result is '{ message: "Rating out of range!", num_votes: 0, average: "0.00", out_of: "5.00" } '

firebug shows this:
TypeError: json is null
el.getElement('div.plgmfv-box').set('html', json.message);
plugin.js (row 56)

and there is no ajax call, on old joomla 1.5 I can see there is a call to ajax.php and voting works.
Go to the top of the page
 
+Quote Post
Web Design Seo
post Aug 25 2012, 09:02 AM
Post #2


Web Design Seo
****

Group: Root Admin
Posts: 4,332
Joined: 29-April 09
From: Sofia
Member No.: 1



We must need ftp access and joomla admin access to debug your error.

Send this info to our email Monday morning and from exact email used in your order.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
pienso
post Aug 27 2012, 08:46 AM
Post #3


Newbie
*

Group: Members
Posts: 4
Joined: 24-August 12
Member No.: 1,323



This JS problem in only on our test site. On live one plugins works ok.

I have other thing:
is there a way to change displaying of voting results? I need deciamal but for example:
4 (not 4.00)
4,5 (not 4.50)
?
Go to the top of the page
 
+Quote Post
Web Design Seo
post Sep 11 2012, 06:50 AM
Post #4


Web Design Seo
****

Group: Root Admin
Posts: 4,332
Joined: 29-April 09
From: Sofia
Member No.: 1



You have option Average mode in plugin configuration:



Change it to: Integer.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
pienso
post Sep 12 2012, 08:30 AM
Post #5


Newbie
*

Group: Members
Posts: 4
Joined: 24-August 12
Member No.: 1,323



Thanks for reply.
In fact question was about number format: 4,5 (not 4.50) - so change in number_format() function. Integer/decimal switch is not enough.

Another thing: is there a way to add to configuration 'Rating Description' when no votes?
I'd like to use '({num_votes} #LANG_VOTES)' when no votes instead of long '({num_votes} #LANG_VOTES, #LANG_AVERAGE {num_average} #LANG_OUTOF)'
Go to the top of the page
 
+Quote Post
Ivan Stamenov
post Sep 12 2012, 09:03 AM
Post #6


Advanced User
****

Group: Advanced Member
Posts: 218
Joined: 15-April 11
Member No.: 761



Цитат(pienso @ Sep 12 2012, 09:30 AM) *
Thanks for reply.
In fact question was about number format: 4,5 (not 4.50) - so change in number_format() function. Integer/decimal switch is not enough.

Another thing: is there a way to add to configuration 'Rating Description' when no votes?
I'd like to use '({num_votes} #LANG_VOTES)' when no votes instead of long '({num_votes} #LANG_VOTES, #LANG_AVERAGE {num_average} #LANG_OUTOF)'


Hi, pienso.

It is possible to achieve such a behaviour. There are two files that have to be edited: microformatsvotes.php and ajax.php. If you want us to add these settings please send a price enquiry to admin[at]3dwebdesign.org with detailed description of what you would like to have.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Error Storing Existing Alias
5 Kat 62,247 30th July 2021 - 07:24 PM
Last post by: Kat
No new Pinned: Topic has attachmentsMicroformats Seo Plugin For Rich Snippets In Joomla
Seo plugin to show Rich snippets in google over joomla votes
139 Web Design Seo 654,517 13th March 2020 - 02:13 PM
Last post by: Web Design Seo
No New Posts Error [111] [connection Refused]
[solved]
2 Jan van Kuijk 66,012 17th September 2016 - 07:13 AM
Last post by: Jan van Kuijk
No new Pinned: Microformats For Zen Cart
Microformats ratings for Zen Cart online stores
45 Web Design Seo 439,710 30th December 2015 - 11:11 AM
Last post by: Aldo Campione
No New Posts Microformats And Jdownloads - Presale Question
2 zaxavar 64,748 16th June 2014 - 11:59 AM
Last post by: Web Design Seo
No New Posts Error In Sports Predictions For Joomla 3
I've installed on Joomla 3 component Sports Predictions
1 Mei3am 27,582 5th June 2014 - 06:10 AM
Last post by: Web Design Seo
No New Posts Microformatsvotes Joomla Plugin
Can´t vote when clicking on the starts?
1 Falle 61,970 30th April 2014 - 06:22 AM
Last post by: Web Design Seo
No New Posts Microformats Show Stars When ..google Want ? !
1 lalalas 64,997 23rd March 2014 - 12:20 PM
Last post by: Web Design Seo
No New Posts Microformats Votes и Flexicontent
1 victorio04 64,882 12th March 2014 - 06:45 PM
Last post by: Web Design Seo
No new Pinned: Microformats For Oscommerce
Microformats votes (Microformats ratings) for Oscommerce online shops
40 Web Design Seo 179,607 25th February 2014 - 01:29 PM
Last post by: Beleth


 



RSS Lo-Fi Version Time is now: 2nd June 2026 - 03:04 AM