Hack Forums
The userscript "Award Whore" help? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88)
+---- Forum: Computing Lounge (https://hackforums.net/forumdisplay.php?fid=8)
+---- Thread: The userscript "Award Whore" help? (/showthread.php?tid=5260778)



The userscript "Award Whore" help? - H350 - May 5, 2016

Anyone got this? And is it still working for you? I've been trying to get it to work but for some reason, I can't. A friend of mine got it to work, but I cant :/

Please help me if you know.

Regards.


* - Aveling - May 7, 2016

I've tried it a few days ago and couldn't get it to work unfortunately.


* - +mK - May 9, 2016

Give me a second, I'll try to get it for you.


* - Hash G. - May 10, 2016

It works well on my end, are you using any other scripts (except HFES)?


* - H350 - May 10, 2016

(May 10, 2016 07:03 AM)Hash G. Wrote:  It works well on my end, are you using any other scripts (except HFES)?

None. Might it be because I don't own any awards?


* - Hash G. - May 10, 2016

(May 10, 2016 07:08 AM)Shiryu Wrote:  None. Might it be because I don't own any awards?

Great find, to fix it follow these steps:
PHP Code

<?php 
$('a[href="https://hackforums.net/member.php?action=profile&uid=' + uid + '"]:not(:first)').parentsUntil('tbody').find('.post_author_info').append('<span></span>'); 

Add this line between the if(GM_getValue ...) line 22 and the for (var i = 0 ...) line 23.


* - H350 - May 10, 2016

(May 10, 2016 07:20 AM)Hash G. Wrote:  Great find, to fix it follow these steps:
PHP Code

<?php 
$('a[href="https://hackforums.net/member.php?action=profile&uid=' + uid + '"]:not(:first)').parentsUntil('tbody').find('.post_author_info').append('<span></span>'); 

Add this line between the if(GM_getValue ...) line 22 and the for (var i = 0 ...) line 23.

Thanks for making a fix for this!