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
  #42  
Old 04-19-2006, 07:33 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
A 'search all groans' is on the way.

While you're doing the search add-on, any chance you can toss in the ajax feature too like the "thank you" hack?
Reply With Quote
  #43  
Old 04-21-2006, 05:09 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 Tulsa
While you're doing the search add-on, any chance you can toss in the ajax feature too like the "thank you" hack?
I'm going to work on AJAX for this hack also.
Reply With Quote
  #44  
Old 04-21-2006, 05:10 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 Rickie3
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
That option does not exist yet.
Reply With Quote
  #45  
Old 04-24-2006, 07:34 PM
cavyspirit cavyspirit is offline
 
Join Date: Jan 2004
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update on when the new features will be available? The troups are restless. Thx.
Reply With Quote
  #46  
Old 04-24-2006, 09:38 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 cavyspirit
Any update on when the new features will be available? The troups are restless. Thx.
Working on them.
Reply With Quote
  #47  
Old 04-25-2006, 05:02 PM
Dermo-MIO Dermo-MIO is offline
 
Join Date: Jan 2006
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rickie3
I love this ive changed my phrases to say "The Following Users Says Crap For This Un-useful Post" lol
*installed*
how did he do that can i ask ?

great mod btw
Reply With Quote
  #48  
Old 04-25-2006, 08:55 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 Dermo-MIO
how did he do that can i ask ?

great mod btw
You can change it in the phrase section of your ACP.
Reply With Quote
  #49  
Old 04-27-2006, 02:19 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having it also removing reputation like the thank you hack adds reputation would be nice as well

I am testing both hacks on my test forums atm, and will click install on them once you have this new version of the groan hack released and I can go live with it Will also be adding the can not thank and groan at the same post members are going to love this

Thanks for a great little hack, maybe I can get some of my non-participating members to become active with this.
Reply With Quote
  #50  
Old 05-05-2006, 12:37 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.2 (5/4/06):
  • [CHANGED] The Groan button now matches the Thanks button.
  • [ADDED] AJAX!
  • [ADDED] Easy integration with Post Thanks Hack
  • [ADDED] Search for all groaned posts
  • [ADDED] Search for all groaned posts by one user
Reply With Quote
  #51  
Old 05-05-2006, 05:37 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working well..
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 01:45 AM.


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.04411 seconds
  • Memory Usage 2,304KB
  • 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
  • (6)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