Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[AJAX] Post Groan Hack Details »
[AJAX] Post Groan Hack
Mod Version: 3.3, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (17 votes - 4.76 average) Installs: 237
Released: 26 Oct 2006 Last Update: 30 Jul 2007 Downloads: 1307
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

Post Groan Hack 3.3


About this hack:
This hack was requested by users who like my "Post Thank You Hack". Both can run together on the same forum.

This hack adds a "groan" button to all posts. Any user can "groan" at a post. This will reduce the amount of "junk" posts your forum gets.

Features:
  • Uses vBulletin easy Product installer/updater/uninstaller
  • Uses AJAX technology so your users don't have to refresh when they groan at a post.
  • Places an easy to use button next to the edit button
  • Separate looks for postbit and postbit_legacy
  • Places all Groans into one small box
  • Uses only ONE query every time you view a showthread page!
  • Users can't groan twice
  • Guests don't see 'groan' button
  • Counts how many groans a user gives
  • Counts how many groans a post gets
  • Shows how many groans a user gave in every post of his
  • Shows how many groans a user gave in profile
  • Shows how many groans a user got
  • Shows info in profile
  • Search for a users groaned at posts
  • Search for all groaned at posts
  • Administrator can remove all Groans from a single post
  • Users can remove their own Groans (Option to turn it off)
  • Turn on and off hack totally
  • Turn on and off hack for only some forums
  • Option to turn off hack view of date all forums
  • Option to integrate hack with Post Thanks Hack
  • Ban Usergroups
  • Ban Users
  • Uses Phrases
  • Cache Templates
Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 7
  • Time to install: 1 minute max
Updates:

Version 2.0 (10/26/06):
  • Release of this hack for vBulletin version 3.6
  • 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:
  1. Showing the 'groan' button and stats in Postbit
  2. Showing post after 'groan' (user view)
  3. Showing post after 'groan' with legacy posts (admin view)
  4. Stats in members profile
  5. Hacks settings

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	1.JPG
Views:	3436
Size:	18.1 KB
ID:	55133   Click image for larger version

Name:	2.JPG
Views:	3007
Size:	25.4 KB
ID:	55134   Click image for larger version

Name:	3.JPG
Views:	3335
Size:	25.0 KB
ID:	55135   Click image for larger version

Name:	4.JPG
Views:	2195
Size:	7.8 KB
ID:	55136  

Click image for larger version

Name:	5.JPG
Views:	6954
Size:	101.2 KB
ID:	55137  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements [AJAX] Post Groan Hack Abe1 vBulletin 3.8 Add-ons 131 30 Jul 2017 20:22
[AJAX] Post Groan Hack Abe1 vBulletin 3.5 Add-ons 66 09 Jun 2013 06:09
Post Groan Hack Addon - Total Groans on Forum Home Iain M vBulletin 3.5 Add-ons 5 11 May 2006 23:01
Can't Thank and Groan the Same Post Abe1 vBulletin 3.5 Add-ons 7 09 Apr 2006 02:02

  #76  
Old 21 May 2007, 03:04
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by josiespencer View Post
I installed this mod on 3.6.7 PL 1 today and I get this error when posting a new post:

Fatal error: Call to undefined function: can_thank_this_post() in /home/sapsuper/public_html/forums/includes/class_postbit.php(296) : eval()'d code on line 11

Is the Post Thank You Hack mod a pre-req?
Do you have set to integrate this hack with it?
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #77  
Old 21 May 2007, 03:07
josiespencer josiespencer is offline
 
Join Date: Dec 2005
No sir, I had never heard of the Thank You Post mod until I got this error.
Reply With Quote
  #78  
Old 21 May 2007, 03:08
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by josiespencer View Post
No sir, I had never heard of the Thank You Post mod until I got this error.
Look in the setting for this hack. Make sure the last one is set to 'no'.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #79  
Old 21 May 2007, 06:10
madbrit madbrit is offline
 
Join Date: Apr 2007
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
Reply With Quote
  #80  
Old 21 May 2007, 06:17
josiespencer josiespencer is offline
 
Join Date: Dec 2005
Yes, I disabled it as well and everything is OK for now. But I really would like to use it. And the last setting - Integrate this hack with Post Thanks Hack? - has always been set to No.
Reply With Quote
  #81  
Old 21 May 2007, 15:07
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by madbrit View Post
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.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #82  
Old 21 May 2007, 16:59
josiespencer josiespencer is offline
 
Join Date: Dec 2005
Originally Posted by Abe1 View Post
Disable the option integrate with Post Thanks Hack.
I did this as stated previously, and it did not resolve the issue. So there is no point in asking madbrit to do the same.
Reply With Quote
  #83  
Old 21 May 2007, 17:10
madbrit madbrit is offline
 
Join Date: Apr 2007
I did check the AdminCp option...just to make sure. It is turned off - same as Josie.

I would look at line 296 myself... but counting lines isnt always exact with my Cpanel tools my server guys give me.

Any further thoughts would be greatly appreciated


Cheers

Brit
Reply With Quote
  #84  
Old 21 May 2007, 17:34
josiespencer josiespencer is offline
 
Join Date: Dec 2005
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by josiespencer; 21 May 2007 at 17:40.
Reply With Quote
  #85  
Old 21 May 2007, 17:36
madbrit madbrit is offline
 
Join Date: Apr 2007
I Guess I could try and just install the Thank you hack... but for a few reasons wasnt so interested in this feature

Hope to solve it without installing the thank you


Brit
Reply With Quote
  #86  
Old 21 May 2007, 17:41
josiespencer josiespencer is offline
 
Join Date: Dec 2005
I'm not interested in adding the Thank You hack either, and hope that won't become a pre-requisite.
Reply With Quote
  #87  
Old 21 May 2007, 18:15
ymy's Avatar
ymy ymy is offline
 
Join Date: Feb 2003
Thanks for Update


YmY

.
__________________
vBulletin is the ideal community solution for all medium-to-large sites
Reply With Quote
  #88  
Old 21 May 2007, 19:18
suraev's Avatar
suraev suraev is offline
 
Join Date: May 2007
Abe1, very nice Mod.

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".
Reply With Quote
  #89  
Old 21 May 2007, 23:02
RTFA RTFA is offline
 
Join Date: Feb 2007
Getting this error:

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

Dont have TY hack installed
Reply With Quote
  #90  
Old 22 May 2007, 00:18
josiespencer josiespencer is offline
 
Join Date: Dec 2005
Well, at least it seems to be consistent.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:25.

Layout Options | Width: Wide Color: