Set Default Rating for Vote Field

More
7 years 10 months ago #62548 by Mahmood
hi, sorry for the late response.

Yes! that is exactly what I mean.

Parameter: Default Star Rating
Description: The selected number of stars will be shown, if item has not been rated yet

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #63134 by michal.rames@gmail.com
Hi,
++ for "default rating" enhancement request.

it is also possible to do this without the FE/BE feature - by editing the #__content_rating table. Disclaimer - use this only if you know what you're doing:
1) get item id from URL or from Flexicontent items dashboard (the column in the far right)
2) connect to the joomla DB. For example on Bitnami joomla you will need to configure putty tunnel first as the access is restricted to localhost only
3) execute the following SQL statement:
Code:
INSERT INTO bitnami_joomla.jos_content_rating(content_id, rating_sum, rating_count, lastip) values (<your_id_from_step1>, <desired_vote>, <number_of_votes-1_looks_lame>, "<your_ip>");

cheers

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #63138 by ggppdk
Tasks
- allow configuring default value for unrated items (configurable inside the field)
- value will not only be diplayed but it will be also part of the query for the purpose of ordering items too
- allow configuring a default label for custom message for unrated items, e.g. "Not enough ratings yet"
- examine adding custom layout for voting field display

github.com/FLEXIcontent/flexicontent-cck/issues/591


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.270 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline