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

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

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 10-12-2008 Last Update: 10-15-2008 Installs: 327
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

Post Groan Hack 4.1


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 4.0 (10/13/08):
  • Release of this hack for vBulletin version 3.7
  • All Features that my Post Thanks Hack has.

Version 4.1 (10/15/08):
  • Added missing phrase
  • Fixed one of the searches.

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

File Type: zip post_groan_4_1.zip (25.6 KB, 1633 views)

Screenshots

File Type: jpg 1.JPG (18.1 KB, 0 views)
File Type: jpg 2.JPG (25.4 KB, 0 views)
File Type: jpg 3.JPG (25.0 KB, 0 views)
File Type: jpg 4.JPG (7.8 KB, 0 views)
File Type: jpg 5.JPG (101.2 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #42  
Old 10-25-2008, 10:45 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 redlabour View Post
No they are not - this is the Problem :

THANKS at Projectsection

GROAN at Blogsection

This makes no Sense
How do you want it to be then?
Reply With Quote
  #43  
Old 10-26-2008, 07:00 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1 View Post
How do you want it to be then?
Beneath each other - maybe in a own Category.
Reply With Quote
  #44  
Old 10-26-2008, 12:37 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 redlabour View Post
Beneath each other - maybe in a own Category.
They will both be together in their next versions right under the regular search.
Reply With Quote
  #45  
Old 10-26-2008, 01:48 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1 View Post
They will both be together in their next versions right under the regular search.
Great! :up:
Reply With Quote
  #46  
Old 10-26-2008, 10:23 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Taking ages to install... is this normal?

Edit: Must be as installed now lol...

Wee problem thou, the thanks button is now not showing

And I've set the option that the 2 can be used together

Edit (AGAIN) LOL :

Silly me had the Disable Giving Thanks if Post is X Days Old set for 1 day

DOH!!! all working fantastic, thanks Abe1
Reply With Quote
  #47  
Old 10-30-2008, 06:40 PM
GreigScott GreigScott is offline
 
Join Date: Jul 2008
Location: Scotland :]
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is like "+rep" or "-rep" -ing someone,
Reply With Quote
  #48  
Old 10-30-2008, 09:29 PM
MarkoP MarkoP is offline
 
Join Date: Jul 2008
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Abe can I pay you to add something to this?

Here's what I'd like to see...

If X number of members with XXX number of posts groan a post then the post or thread goes into "unmoderated" status, so members can't see it.

Like say if 6 members who each have 300 posts or more groan a post then it vanishes, goes into unmoderated status.

You should be able to choose how many members needs to groan a post plus how many posts each have before it will unmoderate the groaned post.

Does this make any sense?

We currently have a system like this that uses the report a post function but I think this would be much easier...

It creates a "member moderated forum" and although many thought it wouldn't work it DOES work fantastic....since we've had a member moderated system our moderator work load dropped to almost nothing. All we do now is clean up WHEN we feel like it.

And if any post was removed that we feel should not have been we just bring it back...no problem, but that happens very rarely.

I'll gladly pay you to add this feature...
Reply With Quote
  #49  
Old 10-31-2008, 03:33 PM
Firestar.chkn Firestar.chkn is offline
 
Join Date: Aug 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Abe, and thanks for an excellent hack(s). I'm using both thanks and groan hack at the moment, but I have a problem.

I make use of a custom Core Admin group that's above Admin in status. However, I cannot remove all groans/thanks from a post. I cannot find an option anywhere to add this Core Admin group to the list of admins that can remove groans/thanks.

Also, is there a way to only remove a specific groan/thanks from a post?
Reply With Quote
  #50  
Old 11-03-2008, 10:31 AM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Abe,

It works really great on my board, thank you for that. But there's something I'm getting here that I'd like you to take a look into.

I'm getting a Database error like below. I'm used Groan Hack combined with Post Thanks and I notice this error only with Googlebots. See the IP ? All of them belongs to Google bots.

Any idea why ?

Database error in vBulletin 3.7.3:

Invalid SQL:

SELECT post_groan.postid AS postid
FROM vbpost_groan AS post_groan
LEFT JOIN vbpost AS post USING (postid)
INNER JOIN vbthread AS thread ON(thread.threadid = post.threadid)
WHERE post_thanks.userid = 207
AND thread.forumid
IN(6,7,127,8,10,9,11,78,119,118,79,122,120,121,123 ,16,22,35,36,37,38,39,40,30,41,42,43,44,45,46,
47,48,49,124,31,18,34,26,28,27,24,25,29,23,32,116, 33,17,54,53,57,56,55,51,50,52,58,12,80,81,76,77,
14,15,112,13,75,59,99,100,101,60,71,72,73,74,61,67 ,68,70,69,63,94,95,64,66,117,125,65,62,82,88,89,
90,91,83,92,93,84,102,103,85,104,105,106,107,113,1 14,115,86,108,109,87,110,111,96,97,98)
ORDER BY post.dateline DESC
LIMIT 1000;

MySQL Error : Unknown column 'post_thanks.userid' in 'where clause'
Error Number : 1054
Request Date : Saturday, November 1st 2008 @ 07:06:23 PM
Error Date : Saturday, November 1st 2008 @ 07:06:23 PM
Script :
http://www.mysite.com/forums/post_gr...ser_gave&u=207
Referrer :
IP Address : 66.249.71.230
Username : Not Registred
Classname : vB_Database
MySQL Version :
Reply With Quote
  #51  
Old 11-04-2008, 08:26 AM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Abe1 for this hack
Is it possible to have the psd button?
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 07:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08971 seconds
  • Memory Usage 2,351KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete