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:	3435
Size:	18.1 KB
ID:	55133   Click image for larger version

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

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

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

Click image for larger version

Name:	5.JPG
Views:	6953
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 19:22
[AJAX] Post Groan Hack Abe1 vBulletin 3.5 Add-ons 66 09 Jun 2013 05:09
Post Groan Hack Addon - Total Groans on Forum Home Iain M vBulletin 3.5 Add-ons 5 11 May 2006 22:01
Can't Thank and Groan the Same Post Abe1 vBulletin 3.5 Add-ons 7 09 Apr 2006 01:02

  #61  
Old 06 Apr 2007, 20:23
itsblack itsblack is offline
 
Join Date: Dec 2005
OK, I see. Thank you.
Reply With Quote
  #62  
Old 07 Apr 2007, 00:11
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Anyone that may have made some adjustments in their groan templates, like I did to reduce the font size, remember you'll have to revert that template and make your change again or the groaned from member names won't show up in the table.
Reply With Quote
  #63  
Old 07 Apr 2007, 11:17
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
Found an error Abe, on line 334 of post_groan_admin.php
it says delete_groans($postinfo, $userid);
while on functions_post_groan.php (includes folder) on line 359 it says function delete_groan($postinfo, $userid)

as you can see, the second one is missing an s, therefor the mass delete groan function doesn't work ^^

-----
After some more testing, I think that the post_groan_admin.php is the one with the extra s

Last edited by NolF; 07 Apr 2007 at 17:51.
Reply With Quote
  #64  
Old 08 Apr 2007, 02:26
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Version 3.0.1 (04/07/07):
  • Fixed a bug in the post_groan_admin.php file. No other changes. Official version is still 3.0.
__________________
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
  #65  
Old 25 Apr 2007, 12:26
BozzaJos BozzaJos is offline
 
Join Date: Feb 2006
Does anyone know if this hack also works for 3.5? I know there is a Post Groan Hack for 3.5 but it hasn't been updated for a long time so I bet a lot of features won't be included in that one or am I wrong?
Reply With Quote
  #66  
Old 15 May 2007, 00:17
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
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.
__________________
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
  #67  
Old 15 May 2007, 00:25
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Do we need to remove the template edits we've made?
Reply With Quote
  #68  
Old 15 May 2007, 00:27
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by Tulsa View Post
Do we need to remove the template edits we've made?
If you would check the email sent out, I said yes.
__________________
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
  #69  
Old 15 May 2007, 06:53
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
BUG at 3.1:

The Button appears at the wrong direction after the Quickreply Button!
Reply With Quote
  #70  
Old 15 May 2007, 12:42
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by redlabour View Post
BUG at 3.1:

The Button appears at the wrong direction after the Quickreply Button!
Not a bug.

vB placed the '$template_hook[postbit_controls]' there. You can move it right under '<!-- controls -->' if you'd like.
__________________
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
  #71  
Old 18 May 2007, 20:17
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Real name: Mark
Great mod! Would live an option to be able to exclude certain user groups - for example to not allow users to groan at moderators or admins...
Reply With Quote
  #72  
Old 19 May 2007, 18:05
itsblack itsblack is offline
 
Join Date: Dec 2005
Hi Abe1, how can i make the groan button show up after the thank you button?
Reply With Quote
  #73  
Old 20 May 2007, 02:03
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by mfyvie View Post
Great mod! Would live an option to be able to exclude certain user groups - for example to not allow users to groan at moderators or admins...
I dont have that option now?
__________________
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
  #74  
Old 20 May 2007, 02:03
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by itsblack View Post
Hi Abe1, how can i make the groan button show up after the thank you button?
Change the order that the plugins run.
__________________
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
  #75  
Old 20 May 2007, 23:45
josiespencer josiespencer is offline
 
Join Date: Dec 2005
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?
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 09:29.

Layout Options | Width: Wide Color: