內容簡介
此外掛加入了文章投票功能,訪客可以投贊成票和反對票。
右側的 “Plugin HomePage” 網址是錯誤的,對此我很抱歉,您可以點擊Starbox Voting HomePage 來查看該插件的操作方式。
如果你喜歡這個外掛,並且想將其翻譯成其他語言,請讓我知道。
更新日誌
1.1:添加插件初始化設置,將顯示圖像設置為默認圖像。
1.2:修復 AJAX 請求沒有響應的問題。
1.3:在 設置 > 星盒 中添加了樣式選擇。
1.4:在 設置 > 星盒 中您可以自己設置樣式。
1.5:更改錯誤:在後台更改樣式時沒有效果添加了滑鼠懸停星星時的扭曲效果更改樣式設置頁面風格。
1.6:添加語言包。
1.7:將每個函數的名稱改名,以避免與其他插件衝突。
1.8:與 Windows 和 Linux 兼容。
2.0.2:修復僅使用 ‘wp_’ 前綴創建資料庫表格的問題。
2.0.3:清理程式碼。
2.0.4:修復 IE8 Bug,正確加入此行程式碼:
需求
工作中的 WordPress 安裝程式
WordPress 主題必須包含對 get_header() 函數的呼叫
WordPress 主題必須包含 WordPress 循環
大多數 WordPress 安裝都有這些,因此您不需要擔心這些問題。
此外,必須啟用瀏覽器中的 JavaScript 才能投票。
自定
如果外掛無法寫入資料庫,您可以嘗試手動執行以下 SQL 查詢(可以使用 phpMyAdmin 執行):
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 ;
外掛標籤
開發者團隊
原文外掛簡介
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
A working WordPress install
WordPress theme must contain a call to the get_header() function
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 ;
