AJAX disabled if you have AJAX disabled on your forum.
Re-did the search for groaned posts.
Optimized AJAX code to make AJAX work faster
rel="nofollow" added to all links
added to showpost
Better integration with Post Thanks Hack.
Version 3.0 (04/06/07):
Totally re-wrote hack to have all the features Post Thank You Hack has. Please redo all template edits.
Version 3.1 (05/14/07):
No more template edits You do not have to make any template edits to run this hack.
better cache of templates
vBulletin 3.6.6 and up is needed to run this version
Fixed extra queries from running if you had no thanks on a page.
Fixed deleting all of a users thanks.
A few more tweaks here and there.
Version 3.2 (05/21/07):
Fixed a template caching bug.
Fixed an error that would come up if you did not have Post Thanks installed. Even if you do, there was a big bug in checking if a user gave a groan or not.
No file edits. Just upload the product XML.
Version 3.3 (07/30/07):
Moved post thanks stats in postbit from hook postbit_userinfo_right to hook postbit_userinfo_right_after_posts. (for vb 3.6.8 and <3.6.6)
Released for all versions of vb 3.6.x
Please post your comments or suggestions for this hack. I read ALL posts.
MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released.
Pictures:
Showing the 'groan' button and stats in Postbit
Showing post after 'groan' (user view)
Showing post after 'groan' with legacy posts (admin view)
Seemed to install OK... can change settings in AdminCP.
I get the following error message when I try and click on ANY Post/Thread to see if I can "groan"
Fatal error: Call to undefined function: can_thank_this_post() in /home/wclangam/public_html/Forums/includes/class_postbit.php(296) : eval()'d code on line 158
Any ideas?
I have it turned off at the moment... and all is well again
Brit
Disable the option integrate with Post Thanks Hack.
Evrsoft counts them for me but you can never be sure it that line count includes comments, unexpanded includes, etc. But if it helps, line 296 is the line after the "//execute hook" line:
PHP Code:
// finish prepping the post
$this->prep_post_end();
I think it can replace the reputation button, since most reputation comments are useless and there is no a real need to keep them.
Could you please add the setting, so that reputation points that a user receives being thanked/groaned will be determined by reputation power of thanker/groaner? Now it is determining by fixed constant in admin control panel, but it will be nice if it will act just like the original reputation button works ("thanks" add an amount equal to reputation power of thanker, "groan" subtracts amount equal to 1/2 of reputation power of groaner).
Thus we can get rid of reputation button and stay with "thanks/groan".
Fatal error: Call to undefined function: can_thank_this_post() in /hsphere/local/home/toddro19/bamauniverse.com/forums/includes/class_postbit.php(296) : eval()'d code on line 166