该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Starbox Voting

描述

This plugin adds voting functionality for posts. visitors can vote for the post and against.

The Plugin HomePage on right is wrong , i’ sorry to that, and you can see how it works click Starbox Voting HomePage

If you like this plugin , and translate it to other language , please let me know

Change Log

1.1: Add plugins init setting , set display image as default image.

1.2: Repaire ajax Request ,no response .

1.3 Add so Style to choose In Setting > Starbox

1.4 You can set style by yourself In Setting > Starbox

1.5 Change error: no effect when change style in backend
Add ghosing effect when mouse hover the stars
Change Style Setting Page style.

1.6 Add Language Package

1.7 Rename every function . to avoid with other plugins

1.8 Compatible with Windows And Linux

2.0.2 Fix database create table only have ‘wp_’ prefix .

2.0.3 Clear code.

2.0.4 Fix Ie8 Bug:add this right after :

Requirements

  1. A working WordPress install

  2. WordPress theme must contain a call to the get_header() function

  3. WordPress theme must contain the WordPress loop

Most WordPress installs have these, so you need not worry about these.

In addition, one must have JavaScript enabled in their browsers in order to vote.

Customizing

If the plugin cannot write to the database, you can try manually executing the below SQL queries (you can use phpMyAdmin to do this):

    CREATE TABLE `wp_starboxvoting` (
                                  id int(11) NOT NULL auto_increment,
                                  object_id int(11) NOT NULL,
                                  ip varchar(64) character set latin1 NOT NULL,
                                  vote int(11) NOT NULL,
                              PRIMARY KEY  (`id`)
                            ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

屏幕截图

  • Front Page Display Style

  • Starbox Voting Style

安装

  1. Upload the folder starbox to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You will need to insert the code (<?php if(function_exists('starbox_voting')){starbox_voting(get_the_ID());} ?>) into the WordPress loop.
  4. You can also insert the code (<?php if(function_exists('starbox_voting')){starbox_voting(get_the_ID());} ?>) into the Post (single.php) or Pages (page.php).
  5. You can customize the plugin options via the WordPress Dashboard (Options > Starbox in WordPress versions prior to 2.3, Settings > Starbox in WordPress versions after 2.5)
  6. If You want starbox work in ie8 , please add this right after: <meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″ />

评价

此插件暂无评价。

贡献者及开发者

“Starbox Voting” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Starbox Voting”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志