Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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
  #32  
Old 10-20-2008, 04:28 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
Sorry, i dont understand that language.
?? That?s why i marked the Groansection in Green.

The Problem is that the Quicklinks of the Thanks and Groan Hack are not beneath each other.

One is at the Project-/ and one is at the Blogsection.

And BTW - why did you not merge the both Hacks and give us a Option in AdminCP :

1. Activate Thanks and disable Groan
2. Activate Groan and disable Thanks
3. Activate Thanks & Groan
4. Disable Thanks & Groan

Would make everything easier.

And BTW - it seems to make no Sense to add the Groanbutton before the Thanksbutton. Can you please switch the Executionorder so we don?t have to do it manually after every Update?
Have set Groan now to '6' and Thanks to '5'.
Reply With Quote
  #33  
Old 10-22-2008, 09:08 PM
BANDiT600 BANDiT600 is offline
 
Join Date: Jul 2003
Location: Russian Federation
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this error when I push the link "Find all posts groaned by ..." on profile page in Statistics.
Code:
Database error in vBulletin 3.7.2:

Invalid SQL:

                        SELECT post_groan.postid AS postid
                        FROM post_groan AS post_groan
                        LEFT JOIN post AS post USING (postid)
                        INNER JOIN thread AS thread ON(thread.threadid = post.threadid)
                        WHERE post_thanks.userid = 2055
                                AND thread.forumid IN(1,40,80,2,8,59,78,69,36,44,41,23,74,76,77,71,72,75,6,34,35,7,60,28,54,55,56,61,63,62,64,20,73,19,21,25,26,79,46,17,67,57,58,70,68)
                        ORDER BY post.dateline DESC
                        LIMIT 600;

MySQL Error   : Unknown column 'post_thanks.userid' in 'where clause'
Error Number  : 1054
Request Date  : Thursday, October 23rd 2008 @ 02:03:50 AM
Error Date    : Thursday, October 23rd 2008 @ 02:03:50 AM
Script        : http://site.com/post_groan.php?do=findgroans_user_gave&u=2055
Referrer      : http://site.com/member.php?u=2055
IP Address    : ***.***.***.***
Username      : BANDiT600
Classname     : vB_Database
MySQL Version : 5.0.51-log
Reply With Quote
  #34  
Old 10-23-2008, 10:11 AM
AuroraStorm's Avatar
AuroraStorm AuroraStorm is offline
 
Join Date: Nov 2006
Location: ATHell
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour View Post
?? That?s why i marked the Groansection in Green.

The Problem is that the Quicklinks of the Thanks and Groan Hack are not beneath each other.

One is at the Project-/ and one is at the Blogsection.

And BTW - why did you not merge the both Hacks and give us a Option in AdminCP :

1. Activate Thanks and disable Groan
2. Activate Groan and disable Thanks
3. Activate Thanks & Groan
4. Disable Thanks & Groan

Would make everything easier.

And BTW - it seems to make no Sense to add the Groan button before the Thanksbutton. Can you please switch the Execution order so we don?t have to do it manually after every Update?
Have set Groan now to '6' and Thanks to '5'.
That's actually a great idea. My problem with this is the Post Thank you issue that I have. Because of the 3.7+, it doesn't show up under my mood nor do they update on the UserCP like it did before the facebook-like UserCp was created. You have to go into the user stats for that and my members like to see that number count under their names. any way of fixing that or has that already been done?
Reply With Quote
  #35  
Old 10-23-2008, 06:14 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BANDiT600 View Post
I got this error when I push the link "Find all posts groaned by ..." on profile page in Statistics.
Code:
Database error in vBulletin 3.7.2:

Invalid SQL:

                        SELECT post_groan.postid AS postid
                        FROM post_groan AS post_groan
                        LEFT JOIN post AS post USING (postid)
                        INNER JOIN thread AS thread ON(thread.threadid = post.threadid)
                        WHERE post_thanks.userid = 2055
                                AND thread.forumid IN(1,40,80,2,8,59,78,69,36,44,41,23,74,76,77,71,72,75,6,34,35,7,60,28,54,55,56,61,63,62,64,20,73,19,21,25,26,79,46,17,67,57,58,70,68)
                        ORDER BY post.dateline DESC
                        LIMIT 600;

MySQL Error   : Unknown column 'post_thanks.userid' in 'where clause'
Error Number  : 1054
Request Date  : Thursday, October 23rd 2008 @ 02:03:50 AM
Error Date    : Thursday, October 23rd 2008 @ 02:03:50 AM
Script        : http://site.com/post_groan.php?do=findgroans_user_gave&u=2055
Referrer      : http://site.com/member.php?u=2055
IP Address    : ***.***.***.***
Username      : BANDiT600
Classname     : vB_Database
MySQL Version : 5.0.51-log

i got that too..
Reply With Quote
  #36  
Old 10-24-2008, 01:08 AM
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
?? That?s why i marked the Groansection in Green.

The Problem is that the Quicklinks of the Thanks and Groan Hack are not beneath each other.

One is at the Project-/ and one is at the Blogsection.

And BTW - why did you not merge the both Hacks and give us a Option in AdminCP :

1. Activate Thanks and disable Groan
2. Activate Groan and disable Thanks
3. Activate Thanks & Groan
4. Disable Thanks & Groan

Would make everything easier.
This would be a big strain for all users who only install the thanks hack (like me). The thanks hack is used like 10 fold compared to the groan hack.
Quote:
Originally Posted by redlabour View Post
And BTW - it seems to make no Sense to add the Groanbutton before the Thanksbutton. Can you please switch the Executionorder so we don?t have to do it manually after every Update?
Have set Groan now to '6' and Thanks to '5'.
Next version of post thanks and groan, they will be 2 and 3 respectively.
Reply With Quote
  #37  
Old 10-24-2008, 01:08 AM
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 BANDiT600 View Post
I got this error when I push the link "Find all posts groaned by ..." on profile page in Statistics.
Code:
Database error in vBulletin 3.7.2:

Invalid SQL:

                        SELECT post_groan.postid AS postid
                        FROM post_groan AS post_groan
                        LEFT JOIN post AS post USING (postid)
                        INNER JOIN thread AS thread ON(thread.threadid = post.threadid)
                        WHERE post_thanks.userid = 2055
                                AND thread.forumid IN(1,40,80,2,8,59,78,69,36,44,41,23,74,76,77,71,72,75,6,34,35,7,60,28,54,55,56,61,63,62,64,20,73,19,21,25,26,79,46,17,67,57,58,70,68)
                        ORDER BY post.dateline DESC
                        LIMIT 600;

MySQL Error   : Unknown column 'post_thanks.userid' in 'where clause'
Error Number  : 1054
Request Date  : Thursday, October 23rd 2008 @ 02:03:50 AM
Error Date    : Thursday, October 23rd 2008 @ 02:03:50 AM
Script        : http://site.com/post_groan.php?do=findgroans_user_gave&u=2055
Referrer      : http://site.com/member.php?u=2055
IP Address    : ***.***.***.***
Username      : BANDiT600
Classname     : vB_Database
MySQL Version : 5.0.51-log
Please download the latest zip file and over right post_groan.php in the root dir.
Reply With Quote
  #38  
Old 10-24-2008, 03:01 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
This would be a big strain for all users who only install the thanks hack (like me). The thanks hack is used like 10 fold compared to the groan hack.
I guess the most are not knowing both. And i guess the Admins that have installed Groan are allways installing Thanks. And in anyway - i don?t think it is much more work to install a merged Version and make one click in the AdminCP.

Quote:
Next version of post thanks and groan, they will be 2 and 3 respectively.
And what about the Problem in Quicklinks?
Reply With Quote
  #39  
Old 10-24-2008, 05:28 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1 View Post
Please download the latest zip file and over right post_groan.php in the root dir.
That did the trick! Thanks
Reply With Quote
  #40  
Old 10-24-2008, 06:33 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
I guess the most are not knowing both. And i guess the Admins that have installed Groan are allways installing Thanks. And in anyway - i don?t think it is much more work to install a merged Version and make one click in the AdminCP.



And what about the Problem in Quicklinks?
For all the plug-ins. So they are always close to each other and post thanks is always before groan.
Reply With Quote
  #41  
Old 10-24-2008, 08:40 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
For all the plug-ins. So they are always close to each other and post thanks is always before groan.
No they are not - this is the Problem :

THANKS at Projectsection

GROAN at Blogsection

This makes no Sense
Attached Images
File Type: jpg Quick Links.jpg (24.1 KB, 0 views)
Reply With Quote
Reply

Thread Tools

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 04: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.08473 seconds
  • Memory Usage 2,354KB
  • 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
  • (3)bbcode_code
  • (11)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
  • (7)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