Posted Sat Jul 26, 2014 9:16 am
Details:hello , this tutorial does not work https://socialacademy.forumotion.com/t476-tutorial-ipb-vote-system#3689 ; this code not functions
Screenshot:there is no need
Forum Address: www.help.punbbforum.com
Forum Version:punbb
- Code:
$(function(){
var x = $('.vote').get();
for(i = x.length-1; i >= 0; i--){
var numb = '0';
var reputation_UP = '<img src="http://i.imgur.com/PTraX1a.png">';
var button = $(x[i]).find('.vote-button a').get();
for(j=0; j < button.length; j++){
if(button[j].innerHTML == '+'){
reputation_UP = '<span onclick="VLIKE(\'' + button[j].href + '\',this);"><img src="'+reputation_UP+'" alt="+" class="rep_up"></span>';
}
Screenshot:there is no need
Forum Address: www.help.punbbforum.com
Forum Version:punbb