![]() ![]() |
Dec 3 2013, 09:45 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 3-December 13 Member No.: 1,914 |
I was wondering if anyone could help out with some code. How do we get a single user's rating for a specific article to display? I suppose it's possible since this data is stored in the _mfv_rating table but I can't find any info about this in the documentation or forums. I'm using version 4.x on j 2.5.x. Thank you for any help in advance. Kostas |
|
|
|
Dec 3 2013, 10:05 AM
Post
#2
|
|
|
Php programmer ![]() ![]() ![]() ![]() Group: Administrators Posts: 285 Joined: 26-November 12 From: Bulgaria Member No.: 1,452 |
Hi, I was wondering if anyone could help out with some code. How do we get a single user's rating for a specific article to display? I suppose it's possible since this data is stored in the _mfv_rating table but I can't find any info about this in the documentation or forums. I'm using version 4.x on j 2.5.x. Thank you for any help in advance. Kostas Sorry!!! It is not possible. You can find only which users are voted but not how they voted. -------------------- Php programmer in 3D Web Design
|
|
|
|
Dec 3 2013, 10:48 AM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 3-December 13 Member No.: 1,914 |
Hi Pavel, thanks for your quick reply. I did not look clearly enough, I see now that there is no rating value stored in this table. It would be a nice addition for using microformats alongside different comment components. This is what I was trying to do. In the list of user comments, to get the individual vote next to the user comment.
Thanks anyway, Kostas |
|
|
|
Dec 3 2013, 11:24 AM
Post
#4
|
|
|
Php programmer ![]() ![]() ![]() ![]() Group: Administrators Posts: 285 Joined: 26-November 12 From: Bulgaria Member No.: 1,452 |
Hi Pavel, thanks for your quick reply. I did not look clearly enough, I see now that there is no rating value stored in this table. It would be a nice addition for using microformats alongside different comment components. This is what I was trying to do. In the list of user comments, to get the individual vote next to the user comment. Thanks anyway, Kostas But what will display? Voted or Not? There is no record how user is voted. You can easaly select voted users from db by user_id. This id is from joomla registration in table users.id. -------------------- Php programmer in 3D Web Design
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 1st June 2026 - 09:29 PM |