Title: Alan Delval's Replies | WordPress.org

---

# Alan Delval

  [  ](https://wordpress.org/support/users/shadowhck/)

 *   [Profile](https://wordpress.org/support/users/shadowhck/)
 *   [Topics Started](https://wordpress.org/support/users/shadowhck/topics/)
 *   [Replies Created](https://wordpress.org/support/users/shadowhck/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/shadowhck/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/shadowhck/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/shadowhck/engagements/)
 *   [Favorites](https://wordpress.org/support/users/shadowhck/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Batcache] PHP Notices for undefined 'status_header' and 'query'](https://wordpress.org/support/topic/php-notices-for-undefined-status_header-and-query/)
 *  [Alan Delval](https://wordpress.org/support/users/shadowhck/)
 * (@shadowhck)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/php-notices-for-undefined-status_header-and-query/#post-3257800)
 * Because it worked for me. 🙂
 * but, both plugins work.
 * Try using [http://wordpress.org/extend/plugins/apc/](http://wordpress.org/extend/plugins/apc/)
   as object cache, with batcache.
 * WP/wp-content/object-cache.php
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Batcache] PHP Notices for undefined 'status_header' and 'query'](https://wordpress.org/support/topic/php-notices-for-undefined-status_header-and-query/)
 *  [Alan Delval](https://wordpress.org/support/users/shadowhck/)
 * (@shadowhck)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/php-notices-for-undefined-status_header-and-query/#post-3257780)
 * Try [https://github.com/skeltoac/batcache](https://github.com/skeltoac/batcache)
   instead.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Ratings] [Plugin: Post Ratings] display rating on home but not allow to change it](https://wordpress.org/support/topic/plugin-post-ratings-display-rating-on-home-but-not-allow-to-change-it/)
 *  [Alan Delval](https://wordpress.org/support/users/shadowhck/)
 * (@shadowhck)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-post-ratings-display-rating-on-home-but-not-allow-to-change-it/#post-3040874)
 * Use something like:
 *     ```
       <?php
       $rating = get_post_meta($post->ID, 'rating', true);
       $votes = get_post_meta($post->ID, 'votes', true);
   
       $votes_num = ($votes > 1) ? 'votes' : 'vote';
       ?>
       <div class=ratings>
       <ul class="rated max-rating" title="<?php echo $rating; ?> / 5">
       <li class="rating" style="width:<?php print ($rating * 16); ?>px"><span class="average"><?php echo $rating; ?></span></li>
       </ul>
       <div class="meta">
       <strong class="votes"><?php echo $votes; ?></strong> <?php echo $votes_num; ?>, <strong><?php echo $rating; ?></strong> promedio.
       </div>
       </div>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Ratings] [Plugin: Post Ratings] Rating as php in templates](https://wordpress.org/support/topic/plugin-post-ratings-rating-as-php-in-templates/)
 *  [Alan Delval](https://wordpress.org/support/users/shadowhck/)
 * (@shadowhck)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-post-ratings-rating-as-php-in-templates/#post-3058609)
 * [http://wordpress.org/extend/plugins/post-ratings/faq/](http://wordpress.org/extend/plugins/post-ratings/faq/)
 * Try these loop.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Ratings] since some days it is broken](https://wordpress.org/support/topic/since-some-days-it-is-broken/)
 *  [Alan Delval](https://wordpress.org/support/users/shadowhck/)
 * (@shadowhck)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/since-some-days-it-is-broken/#post-3142444)
 * Something is wrong with your theme. Could be any post with bad HTML code.
 * The server would not send PHP code directly. Try downloading again the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Ratings] Once an item has 1 vote, no more votes are allowed?](https://wordpress.org/support/topic/once-an-item-has-1-vote-no-more-votes-are-allowed/)
 *  [Alan Delval](https://wordpress.org/support/users/shadowhck/)
 * (@shadowhck)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/once-an-item-has-1-vote-no-more-votes-are-allowed/#post-3154127)
 * How does this plugin log votes?
 * Basic check trough cookies, IP match against a limited transient-cached IP list,
   and user meta records (if registration-only ratings are enabled). If any of these
   checks fail the user is not allowed to rate.
 * Separate computer = same IP address. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)