vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=129975

[AJAX] Post Groan Hack
by Abe1
26 Oct 2006 04:57

9 Attachment(s)
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

Invalid ID 26 Oct 2006 05:53

I saw it first :)

Reserved

shadowevil 26 Oct 2006 06:36

Mod nice ..... *installed* :)

mktrilogy 26 Oct 2006 07:27

installed. Thanks :)

ymy 26 Oct 2006 08:14

iNsTaLlEd. Thanks

bang 26 Oct 2006 10:51

you know what would be awesome? an option for both thanks and groan hacks to automatically increase/decrease user's reputation if his post/thread was thanked/groaned. what do you think?

Snake 26 Oct 2006 11:27

Thanks a lot. I'll check this out soon.

redlabour 26 Oct 2006 13:03

Can anyone make a german Button ?

Abe1 26 Oct 2006 14:14

Quote:

Originally Posted by bang
you know what would be awesome? an option for both thanks and groan hacks to automatically increase/decrease user's reputation if his post/thread was thanked/groaned. what do you think?

I didn't add rep to the hack yet. I hope to eventually.

Canis Firebrand 26 Oct 2006 14:32

I haven't installed either this or the thanks hack on my board because its small and I don't think it would get much use.

But they both appear to be great hacks from the screenshots.

Now that you have both, in future versions, have you thought about combining them into one hack and make an option to use one or both. Since it seems they do very similar things.

If combined with a way to alter reputation, that would be a killer hack.

Abe1 26 Oct 2006 14:52

Quote:

Originally Posted by Canis Firebrand
I haven't installed either this or the thanks hack on my board because its small and I don't think it would get much use.

But they both appear to be great hacks from the screenshots.

Now that you have both, in future versions, have you thought about combining them into one hack and make an option to use one or both. Since it seems they do very similar things.

If combined with a way to alter reputation, that would be a killer hack.

They work together now that if a user thanks or groans a post, they can't do the other to the post also. I just never did the rep thing yet in the groan hack. I'll try to get it in soon. You should click 'install' here so you'll get an email when I release the new version.

jwaany 26 Oct 2006 17:00

installed. Thanks :)

projectego 26 Oct 2006 17:11

Nice. Thank you! :D

bonjurkes 26 Oct 2006 22:30

can same person give thanks and groan to same post?

Abe1 27 Oct 2006 02:49

Quote:

Originally Posted by bonjurkes
can same person give thanks and groan to same post?

In the post groan options there is an option integrate both hacks so one user can't do back to the same post.


All times are GMT. The time now is 06:32.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.