Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 690

Making "Ajax Poll Voting" plugin working with 1.6.12

$
0
0
Link to plugin: http://mods.mybb.com/view/ajax-poll-voting





1 - Download plugin
2 - Open inc/plugins/ajaxpoll/jscripts/ajaxpoll.js with Notepad++ or replace with attached file
3 - Find:
Code:
method: 'get',
4 - Replace:
Code:
method: 'post',
5 - You need repeat 3 and 4 thrice, because has three "method: 'get',"
6 - Find:
Code:
'#ajaxpoll a[href^=polls.php?action=showresults]'
7 - Replace:
Code:
'#ajaxpoll a[href*="polls.php?action=showresults"]'
8 - Find:
Code:
'#ajaxpoll a[href^=polls.php?action=do_undovote]'
9 - Replace:
Code:
'#ajaxpoll a[href*="polls.php?action=do_undovote"]'
10 - Upload and activate plugin. It's all.

.js  ajaxpoll.js (Size: 4.07 KB / Downloads: 4)

Viewing all articles
Browse latest Browse all 690

Trending Articles