Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Post Groan Hack Details »»
[AJAX] Post Groan Hack
Version: 3.3, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.8 Rating:
Released: 10-25-2006 Last Update: 07-29-2007 Installs: 240
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 02-06-2008, 05:20 PM
baz_kingfish's Avatar
baz_kingfish baz_kingfish is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm....was hoping for some feedback on my issue noted above by now...does anyone have any idea why that is happening?
Reply With Quote
  #133  
Old 02-07-2008, 07:36 PM
baz_kingfish's Avatar
baz_kingfish baz_kingfish is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baz_kingfish View Post
Installed this on vB 3.6.8 using Default templates and already had the Thank You Hack working fine. Seem to go fine, Groan button is on the postbit, but when I click the button, the screen simply refreshes and both the Thank You and Groan buttons disappear from that post window; however, they still appear on post windows above and below that specific post. If I refresh the page, they reappear in the original window, but nothing is happening? If I click the Thank You button in that same window, everything works as expected. I tried reverting my postbit template, but that didn't help either.
Any advice?
Thanks,
KF
Is no one monitoring/supporting this thread??? I need some help here...please if you can.
Thanks,
KF
Reply With Quote
  #134  
Old 02-09-2008, 09:35 PM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Flow Fusion View Post
When a usergroup is immune from getting a groan, and they groan someone else I get this error
Code:
Warning: Invalid argument supplied for foreach() in /includes/functions_post_groan.php on line 183
Abe1, can you confirm this as I can't get this here. Thanks.

Quote:
Originally Posted by baz_kingfish View Post
Is no one monitoring/supporting this thread??? I need some help here...please if you can.
Thanks,
KF
Bumping the thread is no the good idead and doesn't mean that we will run here and help you...
Try to clean your browser's cache and be shure that your vBulletins templates are up to date.
Reply With Quote
  #135  
Old 02-09-2008, 10:23 PM
baz_kingfish's Avatar
baz_kingfish baz_kingfish is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Makc666 View Post

Bumping the thread is no the good idead and doesn't mean that we will run here and help you...
Try to clean your browser's cache and be shure that your vBulletins templates are up to date.
What are you talking about? This is the Groan thread, I didn't bump it anywhere. I simply asked for help again, and had the courtesy to put my previous post to insure whomever finally did reply knew what I was talking about.

As far as your recomendations, thank you, but been there and done that. Tried on several different computers with clean browser histories. This is a fresh vBulletin install from around January 2, 2008. Templates are up to date...and the Thank You hack works fine. It is the Groan hack with which I am having problems...it is currently disabled due to the problems stated in my original post.
Reply With Quote
  #136  
Old 02-09-2008, 11:17 PM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baz_kingfish View Post
Templates are up to date...and the Thank You hack works fine. It is the Groan hack with which I am having problems...it is currently disabled due to the problems stated in my original post.
What you have set for option "Integrate this hack with Post Thanks Hack?"
Did you try to disable Thanks hack?
Did you try to reupload the files?
Reply With Quote
  #137  
Old 02-09-2008, 11:32 PM
baz_kingfish's Avatar
baz_kingfish baz_kingfish is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Makc666 View Post
What you have set for option "Integrate this hack with Post Thanks Hack?"
Did you try to disable Thanks hack?
Did you try to reupload the files?
Reuploaded Post_Groan.php to the forum root directory...that seems to have fixed it. Who would have thought files would not upload correctly....weird.
Thanks,
KF
Reply With Quote
  #138  
Old 02-10-2008, 09:46 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Flow Fusion View Post
When a usergroup is immune from getting a groan, and they groan someone else I get this error
Do you have GARS hack installed?
Reply With Quote
  #139  
Old 02-13-2008, 10:58 AM
REVHEAD's Avatar
REVHEAD REVHEAD is offline
 
Join Date: Nov 2007
Location: Australia
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just popped this is my forums along with the thankyou hack , I got some new buttons made for my forum skin , this mod is awsome.

Just a question whats the integration do?
Reply With Quote
  #140  
Old 02-19-2008, 11:56 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by REVHEAD View Post
Just popped this is my forums along with the thankyou hack , I got some new buttons made for my forum skin , this mod is awsome.

Just a question whats the integration do?
Makes it that you can't thanks AND groan. the same post.
Reply With Quote
  #141  
Old 02-22-2008, 10:34 AM
REVHEAD's Avatar
REVHEAD REVHEAD is offline
 
Join Date: Nov 2007
Location: Australia
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thanks Abe great mod
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04741 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete