Thank you for this hack.
Currently I have 3 main concerns.
1) I think a template should be used for the content of the pop-up box rather than holding all this within adis.php.
2) adis.php is checking for the user's title:
Quote:
if ($usertitle == 'Administrator' || $usertitle == 'Moderator')
|
This is dangerous because the user title can be changed in the user CP, it should be checking for the usergroup being either a moderator, super moderator or admin.
3) By refreshing pages (or using the back button) I have been able to vote more than once.
Niggles:
1) The button alt image in postbits has the spelling "karna" not "karma"
2) It waits for you to enter a comment then tells you that you should log in first!
3) You can submit a comment without selecting a positive or negative opinion.