Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Contributor dudo

    (@dudo)

    Hi Lee_L ,thank you for using yasr!

    Here you’ll find all the shortcodes used by the free version of yasr

    https://yetanotherstarsrating.com/yasr-basics-shortcode/
    https://yetanotherstarsrating.com/yasr-multi-sets/
    https://yetanotherstarsrating.com/yasr-rankings/

    Best,
    Dario

    Sorry, but those pages are a bit hard to interpret without actually seeing the shortcode.

    [yasr_overall_rating] Set by default to read only.

    [yasr_visitor_votes] Set by default to write.

    [yasr_visitor_votes_readonly] Set to read only.

    parameters:

    size=”small,medium,large”

    postid=”XXXX” XXXX being specific post ID

    Are there other post parameters?

    Plugin Contributor dudo

    (@dudo)

    1) Yes, it’s the first that you can see on first page
    2) Yes, is the shortcode that allow users to rate a post. Is the second on the first page, you can use it there.
    3) Yep is the last one on first page

    You’ve to use the postid only if you need to show the rate from another page.
    I.e.: You’re using the 2 shortcodes on page A and want to show the rating from post B and C. In this case, you must use the postid parameter.

    But if you omit it, by default all the shortcodes will use the postid of the current post or page.

    There aren’t other parameters ??

    Thread Starter Lee_L

    (@lee_l)

    Thanks ecdoesit because those pages are not obvious and didn’t make any sense.

    So you should combine these to determine the SET as well as the Multiset id or does the postid determine the SET as well ?

    And yes I will not be showing the post page, I need to integrate this into another plugin that shows products.

    Plugin Contributor dudo

    (@dudo)

    I see a little of confusion here.

    Like I wrote in the faq you don’t need to keep mind mind all the shortcodes: you can easily insert it in the post by clicking the yellow stars in the editor (screenshoot https://www.anony.ws/i/2015/11/15/shortcodecreator.png)

    Best,
    Dario

    Thread Starter Lee_L

    (@lee_l)

    So is this the correct syntax to insert the ability for a visitor to vote using multiset on a separate page ? [yasr_visitor_multiset setid=0 postid=”xxxx”]

    xxxx = id of the page with the review

    Plugin Contributor dudo

    (@dudo)

    You don’t need the post id, just this:

    [yasr_visitor_multiset setid=0]

    I suggest to use the shortcode creator ??

    Thread Starter Lee_L

    (@lee_l)

    Sorry Dudo this doesn’t make sense.

    If I am calling a unique review for a book FROM another plugin on the site how can you associate that review with that book ?

    You are assuming the Page is the only place the review is being displayed but if I want to place the review within a catalog plugin (which I am) then how do I associate that review with that unique product ?

    Not sure I am doing a good job of explaining this but in my case the review Page/post is just a placeholder. The actual review is being called from another location not associated with that post. If I simply put [yasr_visitor_multiset setid=0] on the other page, then the review is not unique. Every product displays the exact same review.

    Make sense ?

    Plugin Contributor dudo

    (@dudo)

    Oook, unfortunatelly the yasr_multiset and yasr_visitor_multiset doesn’t support the postid as parameter, this will be avaible from the next version, tomorrow as soon as I’ll come back home I’ll give you instruction to support this (it’s just a little edit in the code) so you’ll not need to wait for the next version!

    Best,
    Dario

    Thread Starter Lee_L

    (@lee_l)

    Ok. I thought I was missing something. ??

    You are the only one that understands the need for multiple sets but I need to call the review from another page.

    How are comments handled ? When you put in the new code will that also bring in the user comments for that review as well ?

    THANKS !!!

    Lee

    Thread Starter Lee_L

    (@lee_l)

    Dario, Any luck on the postid parameter code ?

    Plugin Contributor dudo

    (@dudo)

    Yeah, sorry for the delay of this answer:

    download this zip

    https://yetanotherstarsrating.com/Lee_l.zip

    then, in your site open Yasr folder, first open js/ directory and upload here the yasr-front.js (overwrite the old one)
    Later, do the same with yasr-shortcode-functions.php, inside the lib/ directory

    I’ve tested and it works.

    Best,

    Dario

    Plugin Contributor dudo

    (@dudo)

    Ah, about the comments, this is a pro only feature (you can test it here) but for the moments you can’t use the multiset in the comment form: this feature will be avaible soon.

    Best,
    Dario

    Thread Starter Lee_L

    (@lee_l)

    NO problem. If this does what I want I will gladly upgrade.

    I have tested (what feels like) dozens of review plugins and so many are close but don’t have what I need. As far as I can tell YASR is the only one with multisets.

    Thanks and I will let you know how it works as soon as possible.

    Lee

    Plugin Contributor dudo

    (@dudo)

    You don’t need to download that file…just update to version 1.0.5 ??

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘List of Shortcodes Available ?’ is closed to new replies.