• Resolved jnasoy

    (@jnasoy)


    Hello,

    For the new logic of the submission limit per user, it says

    If you are assigning reviews, then the limit will be applied to the assigned page or category.

    I am currently have multiple forms that assign to different categories but they only assign to one post, is there a way to limit only the submission per category not per post/page

    My codeblock looks like this

    <div class="popup-rating-stars__block">
                    <h4>
                      Overall
                      <button class="c-tooltip" data-component="tooltip" data-tippy-content="<?=$sr_overall_description?>" ></button>
                    </h4>
                    <?php echo do_shortcode('[site_reviews_form assigned_posts="'. $restaurant_id .'" assigned_terms="overall" assigned_users="'. $current_user_id .'" hide="content,email,name,terms,title" schema="true" ]')?>
                  </div>
                  <div class="popup-rating-stars__block">
                    <h4>
                      Quality
                      <button class="c-tooltip" data-component="tooltip" data-tippy-content="<?=$sr_quality_description?>" ></button>
                    </h4>
                    <?php echo do_shortcode('[site_reviews_form assigned_posts="'. $restaurant_id .'" assigned_terms="quality" assigned_users="'. $current_user_id .'" hide="content,email,name,terms,title" schema="true" ]')?>
                  </div>
                  <div class="popup-rating-stars__block">
                    <h4>
                      Service
                      <button class="c-tooltip" data-component="tooltip" data-tippy-content="<?=$sr_service_description?>" ></button>
                    </h4>
                    <?php echo do_shortcode('[site_reviews_form assigned_posts="'. $restaurant_id .'" assigned_terms="service" assigned_users="'. $current_user_id .'" hide="content,email,name,terms,title" schema="true"] ')?>
                  </div>
                  <div class="popup-rating-stars__block">
                    <h4>
                      Sustainability
                      <button class="c-tooltip" data-component="tooltip" data-tippy-content="<?=$sr_sustainability_description?>" ></button>
                    </h4>
                    <?php echo do_shortcode('[site_reviews_form assigned_posts="'. $restaurant_id .'" assigned_terms="sustainability" assigned_users="'. $current_user_id .'" hide="content,email,name,terms,title" schema="true"]')?>
                  </div>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    1. The schema option is not used in the [site_reviews_form]

    2. The description should actually say this:

    If you are assigning reviews, then the limit will be applied to the assigned page and/or category.

    Since you are assigning reviews to both posts and categories, then the limits apply to the post AND category together (not post OR category).

    3. A better solution may be to use custom fields. While this is not supported here, you can attempt to do it yourself using the following link as a guide:

    https://pastebin.com/4fvKErcp
    https://pastebin.com/mwBRZ0fQ

    Plugin Author Gemini Labs

    (@geminilabs)

    If you are assigning reviews to multiple things, it is not possible to apply limits to only one of the assignments.

    However, v5.2.0 now provides a setting which allows you to use loose or strict assignments.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Submission Limit per Username’ is closed to new replies.