Alan Delval
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [Batcache] PHP Notices for undefined 'status_header' and 'query'Because it worked for me. 🙂
but, both plugins work.
Try using http://ww.wp.xz.cn/extend/plugins/apc/ as object cache, with batcache.
WP/wp-content/object-cache.php
Forum: Plugins
In reply to: [Batcache] PHP Notices for undefined 'status_header' and 'query'Try https://github.com/skeltoac/batcache instead.
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
In reply to: [Post Ratings] [Plugin: Post Ratings] Rating as php in templateshttp://ww.wp.xz.cn/extend/plugins/post-ratings/faq/
Try these loop.
Forum: Plugins
In reply to: [Post Ratings] since some days it is brokenSomething 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
In reply to: [Post Ratings] Once an item has 1 vote, no more votes are allowed?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)