My apology in advance if this isn't the proper section but I am wondering about the Reputation system and if there is any way to "undo" a cast vote? any and all help will be greatly appreciated.
I did copy Improve the reputation system so it counts votes by Ange Tuteur
It does state this within the code:
and upon testing it says "MISSING_STRING's post" instead of the user's own name when upvoting the person.
I did copy Improve the reputation system so it counts votes by Ange Tuteur
It does state this within the code:
- Code:
// revoke voting capabilities on the post once the vote is cast
for (; i < j; i++) {
vote[i].href = '#';
vote[i].className = vote[i].className.replace(/fa_vote/, 'fa_voted');
vote[i].onclick = function() { return false };
}
return false;
},
vote = $('.vote'), i = 0, j = vote.length,
version = $('.bodylinewidth')[0] ? 0 :
document.getElementById('phpbb') ? 1 :
$('.pun')[0] ? 2 :
document.getElementById('ipbwrapper') ? 3 :
document.getElementById('modernbb') ? 4 :
$('body')[0] ? 5 :
'badapple', // version check
and upon testing it says "MISSING_STRING's post" instead of the user's own name when upvoting the person.
Last edited by Beyonder on May 21st 2023, 6:27 pm; edited 1 time in total