Add/assign same Five Star rating to author while adding to Article using Rules

I Need to achieve this functionality only with Rules or combinations with any other module(s).

Structure

FiveStar field is attached to the node type Article and another with the User profile.

Requirement

When an user add rating for the Article it should apply the same rating for its author. The rating of the author on his profile must be functional as a regular rating i.e. the user can receive multiple ratings and an average is shown.

I have tried with the below Rules:

{ "rules_author_rating" : {   "LABEL" : "Author Rating",   "PLUGIN" : "reaction rule",   "OWNER" : "rules",   "REQUIRES" : [ "rules", "voting_rules" ],   "ON" : { "voting_rules_insert_node" : [] },   "IF" : [     { "node_is_of_type" : { "node" : [ "node" ], "type" : { "value" : { "article" : "article" } } } }   ],   "DO" : [     { "data_set" : {         "data" : [ "node:author:field-author-rating" ],         "value" : [ "node:field-node-rating" ]       }     }   ] } 

}

But it logs an error

Unable to modify data “node:author:field-my-rating”: Invalid data value given. Be sure it matches the required data type and format. Value at node(3)->author->field_author_rating: 80.`

Magento2: How to display rating on products list

Currently, on the list of products starts is displayed only when someone adds reviews. I always needs to display the stars even when there is also no rating just like on the home page.

Here is screen from home page:

enter image description here

I want also display on products listing: enter image description here

here is code summary.phtml:

<?php /**  * Copyright © Magento, Inc. All rights reserved.  * See COPYING.txt for license details.  */  // @codingStandardsIgnoreFile  /** @var \Magento\Review\Block\Product\ReviewRenderer $  block */  $  url = $  block->getReviewsUrl() . '#reviews'; $  urlForm = $  block->getReviewsUrl() . '#review-form'; ?> <?php if ($  block->getReviewsCount()): ?> <?php $  rating = $  block->getRatingSummary(); ?> <div class="product-reviews-summary<?= !$  rating ? ' no-rating' : '' ?>" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">     <?php if ($  rating):?>     <div class="rating-summary">          <span class="label"><span><?= $  block->escapeHtml(__('Rating')) ?>:</span></span>          <div class="rating-result" title="<?= $  block->escapeHtmlAttr($  rating); ?>%">              <span style="width:<?= $  block->escapeHtmlAttr($  rating); ?>%">                  <span>                      <span itemprop="ratingValue"><?= $  block->escapeHtml($  rating); ?></span>% of <span itemprop="bestRating">100</span>                  </span>              </span>          </div>      </div>     <?php endif;?>     <div class="reviews-actions">         <a class="action view"            href="<?= $  block->escapeUrl($  url) ?>">             <span itemprop="reviewCount"><?= $  block->escapeHtml($  block->getReviewsCount()) ?></span>&nbsp;             <span><?= ($  block->getReviewsCount() == 1) ? $  block->escapeHtml(__('Review')) : $  block->escapeHtml(__('Reviews')) ?></span>         </a>         <a class="action add" href="<?= $  block->escapeUrl($  urlForm) ?>"><?= $  block->escapeHtml(__('Add Your Review')) ?></a>     </div> </div> <?php elseif ($  block->getDisplayIfEmpty()): ?> <div class="product-reviews-summary empty">     <div class="reviews-actions">         <a class="action add" href="<?= $  block->escapeUrl($  urlForm) ?>">             <?= $  block->escapeHtml(__('Be the first to review this product')) ?>         </a>     </div> </div> <?php endif; ?> 

list.phtml

<?php /**  * Copyright © 2016 Magento. All rights reserved.  * See COPYING.txt for license details.  */ use Magento\Framework\App\Action\Action;  // @codingStandardsIgnoreFile  ?> <?php /**  * Product list template  *  * @var $  block \Magento\Catalog\Block\Product\ListProduct  */ ?> <?php $  _productCollection = $  block->getLoadedProductCollection(); $  _helper            = $  this->helper('Magento\Catalog\Helper\Output'); $  _config            = $  this->helper('Sm\Market\Helper\Data'); $  homeStyle          = $  _config->getThemeLayout('home_style'); ?> <?php if (!$  _productCollection->count()): ?>     <div class="message info empty"><div><?php /* @escapeNotVerified */             echo __('We can\'t find products matching the selection.') ?></div></div> <?php else: ?>     <div class="toolbar-top">     <?php echo $  block->getToolbarHtml() ?>     </div>     <?php echo $  block->getAdditionalHtml() ?>     <?php     if ($  block->getMode() == 'grid') {         $  viewMode        = 'grid';         $  image           = 'category_page_grid';         $  showDescription = false;         $  templateType    = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;     } else {         $  viewMode        = 'list';         $  image           = 'category_page_list';         $  showDescription = true;         $  templateType    = \Magento\Catalog\Block\Product\ReviewRendererInterface::FULL_VIEW;     }     /**      * Position for actions regarding image size changing in vde if needed      */     $  pos = $  block->getPositioned();     ?>     <div class="category-product products wrapper <?php /* @escapeNotVerified */     echo $  viewMode; ?> products-<?php /* @escapeNotVerified */     echo $  viewMode; ?>">         <?php $  iterator = 1; ?>          <?php if ($  viewMode == 'grid') { ?>              <ol class="products list items product-items row">             <?php /** @var $  _product \Magento\Catalog\Model\Product */ ?>                 <?php foreach ($  _productCollection as $  _product): ?>                     <li class="item product product-item">                     <div class="product-item-info" data-container="product-grid">                         <div class="item-inner">                             <div class="box-image">                                 <?php $  productImage = $  block->getImage($  _product, $  image); ?>                                  <!--LABEL PRODUCT-->                                  <?php                                 $  orgprice             = $  _product->getPrice();                                 $  specialprice         = $  _product->getSpecialPrice();                                 $  specialPriceFromDate = $  _product->getSpecialFromDate();                                 $  specialPriceToDate   = $  _product->getSpecialToDate();                                  $  today = time();                                  if ($  specialprice && $  _config->getAdvanced('show_salelabel')) {                                     if ($  today >= strtotime($  specialPriceFromDate) && $  today <= strtotime($  specialPriceToDate) || $  today >= strtotime($  specialPriceFromDate) && is_null($  specialPriceToDate)) { ?>                                         <?php if ($  specialprice < $  orgprice) {                                             $  save_percent = 100 - round(($  specialprice / $  orgprice) * 100);                                             ?>                                             <div class="label-product label-sale">                                             <span class="sale-product-icon">                                                 <?php echo '-' . $  save_percent . '%'; ?>                                             </span>                                         </div>                                         <?php } ?>                                     <?php }                                 }                                 ?>                                  <?php                                 $  now      = date("Y-m-d");                                 $  newsFrom = substr($  _product->getNewsFromDate(), 0, 10);                                 $  newsTo   = substr($  _product->getNewsToDate(), 0, 10);                                   if (($  newsTo != '' || $  newsFrom != '') && $  _config->getAdvanced('show_newlabel')) {                                     if (($  newsTo != '' && $  newsFrom != '' && $  now >= $  newsFrom && $  now <= $  newsTo) || ($  newsTo == '' && $  now >= $  newsFrom) || ($  newsFrom == '' && $  now <= $  newsTo)) { ?>                                         <div class="label-product label-new">                                                 <span class="new-product-icon"><?php echo __('New'); ?></span>                                             </div>                                     <?php }                                 } ?>                                   <!--END LABEL PRODUCT-->                                  <a href="<?php /* @escapeNotVerified */                                 echo $  _product->getProductUrl() ?>" class="product photo product-item-photo" tabindex="-1">                                         <?php echo $  productImage->toHtml(); ?>                                 </a>                                  <?php if ($  homeStyle == 'home-16' || $  homeStyle == 'home-17' || $  homeStyle == 'home-18' || $  homeStyle == 'home-19' || $  homeStyle == 'home-20') { ?>                                     <div class="button-action">                                         <?php if ($  _config->getAdvanced('show_wishlist_button')) { ?>                                             <?php if ($  this->helper('Magento\Wishlist\Helper\Data')->isAllow()): ?>                                                 <a href="#" class="action towishlist btn-action link-wishlist" title="<?php echo $  block->escapeHtml(__('Add to Wish List')); ?>" aria-label="<?php echo $  block->escapeHtml(__('Add to Wish List')); ?>" data-post='<?php /* @escapeNotVerified */                                                 echo $  block->getAddToWishlistParams($  _product); ?>' data-action="add-to-wishlist" role="button">                                                     <span><?php /* @escapeNotVerified */                                                         echo __('Add to Wish List') ?></span>                                                 </a>                                             <?php endif; ?>                                         <?php } ?>                                          <?php if ($  _config->getAdvanced('show_compare_button')) { ?>                                             <?php $  compareHelper = $  this->helper('Magento\Catalog\Helper\Product\Compare'); ?>                                             <a href="#" class="action tocompare btn-action link-compare" title="<?php echo $  block->escapeHtml(__('Add to Compare')); ?>" aria-label="<?php echo $  block->escapeHtml(__('Add to Compare')); ?>" data-post='<?php /* @escapeNotVerified */                                             echo $  compareHelper->getPostDataParams($  _product); ?>' role="button">                                                 <span><?php /* @escapeNotVerified */                                                     echo __('Add to Compare') ?></span>                                             </a>                                         <?php } ?>                                     </div>                                 <?php } ?>                             </div>                              <div class="product details product-item-details box-info">                                 <?php                                 $  _productNameStripped = $  block->stripTags($  _product->getName(), null, true);                                 ?>                                 <h2 class="product name product-item-name product-name">                                     <a class="product-item-link" href="<?php /* @escapeNotVerified */                                     echo $  _product->getProductUrl() ?>">                                         <?php /* @escapeNotVerified */                                         echo $  _helper->productAttribute($  _product, $  _product->getName(), 'name'); ?>                                     </a>                                 </h2>                                  <?php echo $  block->getReviewsSummaryHtml($  _product, $  templateType, true); ?>                                 <?php /* @escapeNotVerified */                                 echo $  block->getProductPrice($  _product) ?>                                 <?php echo $  block->getProductDetailsHtml($  _product); ?>                                  <?php if ($  homeStyle == 'home-16' || $  homeStyle == 'home-17' || $  homeStyle == 'home-18' || $  homeStyle == 'home-19' || $  homeStyle == 'home-20') { ?>                                     <div class="bottom-action">                                         <?php if ($  _config->getAdvanced('show_addtocart_button')) { ?>                                             <?php if ($  _product->isSaleable()): ?>                                                 <?php $  postParams = $  block->getAddToCartPostParams($  _product); ?>                                                 <form data-role="tocart-form" action="<?php /* @escapeNotVerified */                                                 echo $  postParams['action']; ?>" method="post">                                                     <input type="hidden" name="product" value="<?php /* @escapeNotVerified */                                                     echo $  postParams['data']['product']; ?>">                                                     <input type="hidden" name="<?php /* @escapeNotVerified */                                                     echo Action::PARAM_NAME_URL_ENCODED; ?>" value="<?php /* @escapeNotVerified */                                                     echo $  postParams['data'][Action::PARAM_NAME_URL_ENCODED]; ?>">                                                     <?php echo $  block->getBlockHtml('formkey') ?>                                                     <button type="submit"                                                             title="<?php echo $  block->escapeHtml(__('Add to Cart')); ?>"                                                             class="action tocart primary btn-action btn-cart">                                                         <span><?php /* @escapeNotVerified */                                                             echo __('Add to Cart') ?></span>                                                     </button>                                                 </form>                                             <?php else: ?>                                                 <?php if ($  _product->getIsSalable()): ?>                                                     <div class="stock available"><span><?php /* @escapeNotVerified */                                                             echo __('In stock') ?></span></div>                                                 <?php else: ?>                                                     <div class="stock unavailable btn-action btn-cart"><span><?php /* @escapeNotVerified */                                                             echo __('Out of stock') ?></span></div>                                                 <?php endif; ?>                                             <?php endif; ?>                                         <?php } ?>                                     </div>                                 <?php } ?>                                  <?php if ($  homeStyle != 'home-16' && $  homeStyle != 'home-17' && $  homeStyle != 'home-18' && $  homeStyle != 'home-19' && $  homeStyle != 'home-20') { ?>                                     <div class="bottom-action">                                         <?php if ($  _config->getAdvanced('show_wishlist_button')) { ?>                                             <?php if ($  this->helper('Magento\Wishlist\Helper\Data')->isAllow()): ?>                                                 <a href="#" class="action towishlist btn-action link-wishlist" title="<?php echo $  block->escapeHtml(__('Add to Wish List')); ?>" aria-label="<?php echo $  block->escapeHtml(__('Add to Wish List')); ?>" data-post='<?php /* @escapeNotVerified */                                                 echo $  block->getAddToWishlistParams($  _product); ?>' data-action="add-to-wishlist" role="button">                                                     <span><?php /* @escapeNotVerified */                                                         echo __('Add to Wish List') ?></span>                                                 </a>                                             <?php endif; ?>                                         <?php } ?>                                          <?php if ($  _config->getAdvanced('show_addtocart_button')) { ?>                                             <?php if ($  _product->isSaleable()): ?>                                                 <?php $  postParams = $  block->getAddToCartPostParams($  _product); ?>                                                 <form data-role="tocart-form" action="<?php /* @escapeNotVerified */                                                 echo $  postParams['action']; ?>" method="post">                                                     <input type="hidden" name="product" value="<?php /* @escapeNotVerified */                                                     echo $  postParams['data']['product']; ?>">                                                     <input type="hidden" name="<?php /* @escapeNotVerified */                                                     echo Action::PARAM_NAME_URL_ENCODED; ?>" value="<?php /* @escapeNotVerified */                                                     echo $  postParams['data'][Action::PARAM_NAME_URL_ENCODED]; ?>">                                                     <?php echo $  block->getBlockHtml('formkey') ?>                                                     <button type="submit"                                                             title="<?php echo $  block->escapeHtml(__('Add to Cart')); ?>"                                                             class="action tocart primary btn-action btn-cart">                                                         <span><?php /* @escapeNotVerified */                                                             echo __('Add to Cart') ?></span>                                                     </button>                                                 </form>                                             <?php else: ?>                                                 <?php if ($  _product->getIsSalable()): ?>                                                     <div class="stock available"><span><?php /* @escapeNotVerified */                                                             echo __('In stock') ?></span></div>                                                 <?php else: ?>                                                     <div class="stock unavailable btn-action btn-cart"><span><?php /* @escapeNotVerified */                                                             echo __('Out of stock') ?></span></div>                                                 <?php endif; ?>                                             <?php endif; ?>                                         <?php } ?>                                          <?php if ($  _config->getAdvanced('show_compare_button')) { ?>                                             <?php $  compareHelper = $  this->helper('Magento\Catalog\Helper\Product\Compare'); ?>                                             <a href="#" class="action tocompare btn-action link-compare" title="<?php echo $  block->escapeHtml(__('Add to Compare')); ?>" aria-label="<?php echo $  block->escapeHtml(__('Add to Compare')); ?>" data-post='<?php /* @escapeNotVerified */                                             echo $  compareHelper->getPostDataParams($  _product); ?>' role="button">                                                 <span><?php /* @escapeNotVerified */                                                     echo __('Add to Compare') ?></span>                                             </a>                                         <?php } ?>                                     </div>                                 <?php } ?>                             </div>                         </div>                     </div>                 </li>                 <?php endforeach; ?>         </ol>          <?php } else { ?>             <ol class="products list items product-items">                 <?php foreach ($  _productCollection as $  _product): ?>                     <li class="item respl-item-list product product-item">                         <div class="product-item-info" data-container="product-grid">                             <div class="item-inner">                                 <div class="box-image-list">                                     <?php $  productImage = $  block->getImage($  _product, $  image); ?>                                      <!--LABEL PRODUCT-->                                      <?php                                     $  specialprice         = $  _product->getSpecialPrice();                                     $  specialPriceFromDate = $  _product->getSpecialFromDate();                                     $  specialPriceToDate   = $  _product->getSpecialToDate();                                      $  today = time();                                      if ($  specialprice && $  _config->getAdvanced('show_salelabel')) {                                         if ($  today >= strtotime($  specialPriceFromDate) && $  today <= strtotime($  specialPriceToDate) || $  today >= strtotime($  specialPriceFromDate) && is_null($  specialPriceToDate)) { ?>                                             <div class="label-product label-sale">                                                         <span class="sale-product-icon">                                                             <?php echo __('Sale'); ?>                                                         </span>                                                     </div>                                         <?php }                                     }                                     ?>                                      <?php                                     $  now      = date("Y-m-d");                                     $  newsFrom = substr($  _product->getNewsFromDate(), 0, 10);                                     $  newsTo   = substr($  _product->getNewsToDate(), 0, 10);                                       if (($  newsTo != '' || $  newsFrom != '') && $  _config->getAdvanced('show_newlabel')) {                                         if (($  newsTo != '' && $  newsFrom != '' && $  now >= $  newsFrom && $  now <= $  newsTo) || ($  newsTo == '' && $  now >= $  newsFrom) || ($  newsFrom == '' && $  now <= $  newsTo)) { ?>                                             <div class="label-product label-new">                                                         <span class="new-product-icon"><?php echo __('New'); ?></span>                                                     </div>                                         <?php }                                     } ?>                                       <!--END LABEL PRODUCT-->                                      <a href="<?php /* @escapeNotVerified */                                     echo $  _product->getProductUrl() ?>" class="product photo product-item-photo" tabindex="-1">                                             <?php echo $  productImage->toHtml(); ?>                                     </a>                                  </div>                                  <div class="product details product-item-details box-info-list">                                     <?php                                     $  _productNameStripped = $  block->stripTags($  _product->getName(), null, true);                                     ?>                                     <h2 class="product name product-item-name product-name">                                         <a class="product-item-link" href="<?php /* @escapeNotVerified */                                         echo $  _product->getProductUrl() ?>">                                             <?php /* @escapeNotVerified */                                             echo $  _helper->productAttribute($  _product, $  _product->getName(), 'name'); ?>                                         </a>                                     </h2>                                      <?php echo $  block->getReviewsSummaryHtml($  _product, $  templateType); ?>                                     <?php /* @escapeNotVerified */                                     echo $  block->getProductPrice($  _product) ?>                                     <?php echo $  block->getProductDetailsHtml($  _product); ?>                                      <div class="product-item-inner">                                         <?php if ($  showDescription): ?>                                             <div class="product description product-item-description">                                                 <?php /* @escapeNotVerified */                                                 echo $  _helper->productAttribute($  _product, $  _product->getShortDescription(), 'short_description') ?>                                                 <a href="<?php /* @escapeNotVerified */                                                 echo $  _product->getProductUrl() ?>" title="<?php /* @escapeNotVerified */                                                 echo $  _productNameStripped ?>"                                                    class="action more"><?php /* @escapeNotVerified */                                                     echo __('Learn More') ?></a>                                             </div>                                         <?php endif; ?>                                     </div>                                      <div class="bottom-action">                                         <?php if ($  _config->getAdvanced('show_addtocart_button')) { ?>                                             <?php if ($  _product->isSaleable()): ?>                                                 <?php $  postParams = $  block->getAddToCartPostParams($  _product); ?>                                                 <form data-role="tocart-form" action="<?php /* @escapeNotVerified */                                                 echo $  postParams['action']; ?>" method="post">                                                     <input type="hidden" name="product" value="<?php /* @escapeNotVerified */                                                     echo $  postParams['data']['product']; ?>">                                                     <input type="hidden" name="<?php /* @escapeNotVerified */                                                     echo Action::PARAM_NAME_URL_ENCODED; ?>" value="<?php /* @escapeNotVerified */                                                     echo $  postParams['data'][Action::PARAM_NAME_URL_ENCODED]; ?>">                                                     <?php echo $  block->getBlockHtml('formkey') ?>                                                     <button type="submit" title="<?php echo $  block->escapeHtml(__('Add to Cart')); ?>" class="action tocart btn-action btn-cart">                                                         <span><?php /* @escapeNotVerified */                                                             echo __('Add to Cart') ?></span>                                                     </button>                                                 </form>                                             <?php else: ?>                                                 <?php if ($  _product->getIsSalable()): ?>                                                     <div class="stock available"><span><?php /* @escapeNotVerified */                                                             echo __('In stock') ?></span></div>                                                 <?php else: ?>                                                     <div class="stock unavailable btn-action btn-cart"><span><?php /* @escapeNotVerified */                                                             echo __('Out of stock') ?></span></div>                                                 <?php endif; ?>                                             <?php endif; ?>                                         <?php } ?>                                          <div class="add-to-links" data-role="add-to-links" class="actions-secondary">                                             <?php if ($  _config->getAdvanced('show_wishlist_button')) { ?>                                                 <?php if ($  this->helper('Magento\Wishlist\Helper\Data')->isAllow()): ?>                                                     <a href="#" class="action towishlist btn-action link-wishlist" title="<?php echo $  block->escapeHtml(__('Add to Wish List')); ?>" aria-label="<?php echo $  block->escapeHtml(__('Add to Wish List')); ?>" data-post='<?php /* @escapeNotVerified */                                                     echo $  block->getAddToWishlistParams($  _product); ?>' data-action="add-to-wishlist" role="button">                                                         <span><?php /* @escapeNotVerified */                                                             echo __('Add to Wish List') ?></span>                                                     </a>                                                 <?php endif; ?>                                             <?php } ?>                                              <?php if ($  _config->getAdvanced('show_compare_button')) { ?>                                                 <?php $  compareHelper = $  this->helper('Magento\Catalog\Helper\Product\Compare'); ?>                                                 <a href="#" class="action tocompare btn-action link-compare" title="<?php echo $  block->escapeHtml(__('Add to Compare')); ?>" aria-label="<?php echo $  block->escapeHtml(__('Add to Compare')); ?>" data-post='<?php /* @escapeNotVerified */                                                 echo $  compareHelper->getPostDataParams($  _product); ?>' role="button">                                                     <span><?php /* @escapeNotVerified */                                                         echo __('Add to Compare') ?></span>                                                 </a>                                             <?php } ?>                                         </div>                                     </div>                                 </div>                             </div>                         </div>                     </li>                 <?php endforeach; ?>             </ol>         <?php } ?>     </div>     <div class="toolbar-bottom">     <?php echo $  block->getToolbarHtml() ?>     </div>     <?php if (!$  block->isRedirectToCartEnabled()) : ?>         <script type="text/x-magento-init">         {             "[data-role=tocart-form], .form.map.checkout": {                 "catalogAddToCart": {}             }         }         </script>     <?php endif; ?> <?php endif; ?> 

Usability Benchmarking and Rating – choosing an approach and rating scale

I’m conducting some UX benchmarking activities and am trying to compare various approaches, both at the individual task level, and activity (multi-task, overview) level. I’m not well versed in the intricacies of the mathematics behind best practices regarding rating scales and would appreciate advice or perspectives on deciding rating scales. I’ll be combining expert reviews with user input too, and want to be intentful on what methods I choose.

My options: The simplest method I’m considering is 3 levels (poor/red/0, average/yellow/1 good, green/2), of course. Of course there is the classic Likert Scale at 5 levels (Strongly negative / 1, negative / 2, neutral / 3, positive / 4, strong positive 5). There are are many other rating systems (thumbs up and down), and 10 point rating systems, to name a few). How might I go about comparing them. I know that various questionnaires have various rating systems, so there must be best practices on choosing one, I’m assuming.

I’m looking for references or explanations on how I might go about thinking about the pros/cons of each – rating scale – I’ll be using different scales at different points, for different reasons, and want to be methodical and have reasoning for my choices. I know this is high level / abstract; I’m not looking for answers per se, but rather I’m seeking a way to help me think this through and criteria / concepts I could use to do so. I’d like to be more informed before I go to my colleagues with some ideas so I can frame the conversation effectively. Thoughts?

Is it bad if a cable is higher current rating than a charger?

First time asking here, but

Is there any potential harm in using a charging cable with a higher current rating than a charger it is connected to? It’s a tablet (Asus P027) and its charger is 5V/2A only.

I bought a 1-meter/3.3-foot USB-A to USB-C (3.1) cable rated for 3A, it has a 56K resistor according to the QA on the product’s page (Belkin 1m USB-A to C cable should pull it on google) and this is all I know about it.

List of food items on a node that can be rated and shown in order of their rating

I’m looking to have a list of fields on a node, each field is a food item and this list of food items are sorted by their rating/vote from the public.

How is this possible?

I’m thinking paragraphs on a node and each paragraph is a short text field(food item name) and then a vote/rate field next to it.

But I don’t think they can be sorted by vote?

I would just have each food item as a taxonomy term or node but the vote would relate to that food item across the entire website, rather than on that individual node.

The node could be ‘best supermarket baked beans’ and ‘heinz baked beans’ could be on it and voted to the top because it has 5 starts out of 5. But it could be added to another node called ‘best topping for a jacket potato’ and heinz baked beans could also be on this node but it would still have its 5/5 star rating which would be wrong for this scenario/context.

A second requirement but not mandatory is having people add fields/food items to each individual node if it fits. So a new baked beans could be brought out by a new company and a registered user could add it to the list as moderators/site owner can’t know all the options.

Any thoughts?

VotingApi / Fivestar rating Player per Game

Can not figure how this works, and hope is doable.

I’d like to add a feature using the fivestar module but I could not figure it out myself. The work may simply require configuring the module correctly or make code changes.

  1. I create a new node with “game” content type for each game.
  2. I add the team squad (list of players) for that game. Each player is a separate node, with “player” content type.
  3. I would like each player to be voted per game and display the score of the player for that game only. This is where I’m stuck, I could not display player votes per game.

Thanks

Representing asset expiration and rating in a single dashboard

We’re presently going through introducing a new concept into an existing customer facing dashboard. At present customers are used to navigating their assets by using a site-wide “rating”. This is safety based and represented using Red/Orange/Green traffic light colours.

The new requirement is to also surface asset expiration in the same screen. There’s a few different schools of thought internally on how’s best to do this.

Existing

Our Existing UI showing simply the safety of the assets on a user account. As is quite clear the separate bins add up to the total. They provide navigation to the asset management page pre-filtered to the safety level clicked.

Contributing to totals The first suggestion internally is to have an extra row supplementing our pre-existing safety categorisation showing the same safety figures, but adjusted for expiration. These new figures are not just the numbers of safe/warning/dangerous assets that are now expired. The new red section is an amalgamation of both Dangerous & Expired. The new orange section is an amalgamation of Warning & Expiring. The new green section being all Safe assets less those that are expired or expiring. The further 2 new boxes representing the expiring assets without any reference to their safety rating.

Separate Concerns Keep the 2 facets to an asset as separate figures and allow diving into either of them separately without any combined figures.

Hybrid Display both facets to an asset as equal but separate concerns but make clear the assets that are problematic because of safety of expiration.

There is a strong internal desire to provide a “quick view” of assets that have problems. Though I’m very conscious of the fact that existing users will have a learning curve and potentially different figures than they’re used to. I’ve intentionally kept mine and the product team’s opinions out of this post in the interest of a fair representation of all ideas.