Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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

Version: 3.5.8 Rating:
Released: 03-23-2006 Last Update: 08-02-2007 Installs: 65
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 3.3 (08/03/07):
  • Released latest version for vb 3.5.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

Show Your Support

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

Comments
  #32  
Old 03-28-2006, 09:50 PM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Abe1, one idea!
i'm using Post Thank You and Post Thank You Stats in vBA
isnt better when some1 says Groan to one post, instead of increasing Groan post stats, decrease Thank You Stats for that post ???????

such as signet numbers, when saying thanks +,when saying groan -
Reply With Quote
  #33  
Old 03-28-2006, 10:49 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont really want to realy merge the 2 hacks together.
Reply With Quote
  #34  
Old 03-29-2006, 12:16 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this ive changed my phrases to say "The Following Users Says Crap For This Un-useful Post" lol
*installed*
Reply With Quote
  #35  
Old 03-29-2006, 12:29 AM
cavyspirit cavyspirit is offline
 
Join Date: Jan 2004
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! The upgrade worked great.

Not sure if I missed this or it's not there, but I'd love to be able to search on all Groaned posts, just like we can search on all Thanked Posts.

I get more complaints about groaned posts than thanked posts and would like to be able to go straight to them.

So far, it's working great. Thanks much.
Reply With Quote
  #36  
Old 03-29-2006, 02:14 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 cavyspirit
Thanks! The upgrade worked great.

Not sure if I missed this or it's not there, but I'd love to be able to search on all Groaned posts, just like we can search on all Thanked Posts.

I get more complaints about groaned posts than thanked posts and would like to be able to go straight to them.

So far, it's working great. Thanks much.
Good point about the search. I'll try to get it running.
Reply With Quote
  #37  
Old 03-29-2006, 03:36 PM
cavyspirit cavyspirit is offline
 
Join Date: Jan 2004
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also need to be able to allow Moderators to remove Groans.
Reply With Quote
  #38  
Old 03-29-2006, 03:45 PM
cavyspirit cavyspirit is offline
 
Join Date: Jan 2004
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just thought I'd share my template edits to make the messages a little more discrete, yet easier to read in the course of the thread. I reduced the font size, added italics, use red for groans, and green for thanks and reworded it a bit to save space.

Also, in the member section, I put the thanks and groans count on the same line, since I have both hacks installed.
Reply With Quote
  #39  
Old 03-31-2006, 09:30 PM
Lance Carbuncle Lance Carbuncle is offline
 
Join Date: Oct 2004
Location: California
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My users are having a ball with this one.... I edited the phrases to read.....

You mean to tell me I clicked my way all the way here just to read this silly, redundant, meaningless post? "GROAN"

And for more than one groan on the same post.........."We are organizing a lynch mob for wasting our time and making us all come here and read this redundant, worthless, meaningless, silly, stupid post..... Someone get a rope!"

having a "view all users groans" in profile the way the thank you hack is would be great too!

Thanks for the great hack!
Reply With Quote
  #40  
Old 04-01-2006, 10:36 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 Lance Carbuncle
My users are having a ball with this one.... I edited the phrases to read.....

You mean to tell me I clicked my way all the way here just to read this silly, redundant, meaningless post? "GROAN"

And for more than one groan on the same post.........."We are organizing a lynch mob for wasting our time and making us all come here and read this redundant, worthless, meaningless, silly, stupid post..... Someone get a rope!"

having a "view all users groans" in profile the way the thank you hack is would be great too!

Thanks for the great hack!
A 'search all groans' is on the way.
Reply With Quote
  #41  
Old 04-19-2006, 04:10 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possiable to add a button to show what user has groaned at you??


Code:
<!-- Start Post Groan Hack -->
<br />
$vbphrase[post_groan_groans]: <strong>$post[post_groan_user_amount]</strong>
<br />
<if condition="$post[post_groan_times_on] == 1">
$vbphrase[post_groan_time_post]
<else />
<if condition="$userinfo[post_groan_posts_on] == 1">
<phrase 1="$userinfo[post_groan_times]">$vbphrase[post_groan_times_post]</phrase>
<else />
<phrase 1="$userinfo[post_groan_times]" 2="$userinfo[post_groan_posts]">$vbphrase[post_groan_times_posts]</phrase>
</if>
</if>
</td></tr>
<tr><td>
<a href="search.php?$session[sessionurl]do=findgroan&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_groan_search_user]</phrase></a>
<!-- End Post Groan Hack -->
ive tried this above code but cant seem to get it to work
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 05:58 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.04473 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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
  • (2)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
  • (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