vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - [AJAX] Post Groan Hack (https://vborg.vbsupport.ru/showthread.php?t=129975)

Abe1 10-25-2006 10:00 PM

[AJAX] Post Groan Hack
 
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

Invalid ID 10-26-2006 03:53 AM

I saw it first :)

Reserved

shadowevil 10-26-2006 04:36 AM

Mod nice ..... *installed* :)

mktrilogy 10-26-2006 05:27 AM

installed. Thanks :)

ymy 10-26-2006 06:14 AM

iNsTaLlEd. Thanks

bang 10-26-2006 08:51 AM

you know what would be awesome? an option for both thanks and groan hacks to automatically increase/decrease user's reputation if his post/thread was thanked/groaned. what do you think?

Snake 10-26-2006 09:27 AM

Thanks a lot. I'll check this out soon.

redlabour 10-26-2006 11:03 AM

Can anyone make a german Button ?

Abe1 10-26-2006 12:14 PM

Quote:

Originally Posted by bang
you know what would be awesome? an option for both thanks and groan hacks to automatically increase/decrease user's reputation if his post/thread was thanked/groaned. what do you think?

I didn't add rep to the hack yet. I hope to eventually.

Canis Firebrand 10-26-2006 12:32 PM

I haven't installed either this or the thanks hack on my board because its small and I don't think it would get much use.

But they both appear to be great hacks from the screenshots.

Now that you have both, in future versions, have you thought about combining them into one hack and make an option to use one or both. Since it seems they do very similar things.

If combined with a way to alter reputation, that would be a killer hack.

Abe1 10-26-2006 12:52 PM

Quote:

Originally Posted by Canis Firebrand
I haven't installed either this or the thanks hack on my board because its small and I don't think it would get much use.

But they both appear to be great hacks from the screenshots.

Now that you have both, in future versions, have you thought about combining them into one hack and make an option to use one or both. Since it seems they do very similar things.

If combined with a way to alter reputation, that would be a killer hack.

They work together now that if a user thanks or groans a post, they can't do the other to the post also. I just never did the rep thing yet in the groan hack. I'll try to get it in soon. You should click 'install' here so you'll get an email when I release the new version.

jwaany 10-26-2006 03:00 PM

installed. Thanks :)

projectego 10-26-2006 03:11 PM

Nice. Thank you! :D

bonjurkes 10-26-2006 08:30 PM

can same person give thanks and groan to same post?

Abe1 10-27-2006 12:49 AM

Quote:

Originally Posted by bonjurkes
can same person give thanks and groan to same post?

In the post groan options there is an option integrate both hacks so one user can't do back to the same post.

Hornstar 10-27-2006 04:25 AM

I got this requested on my site only the other day, but they wanted to call it the sucks button lol, so I said no to that idea, however now that you have called it the groan button, and maybe I'll only let certain usergroups use it, I think it is a fantastic idea.

Well done.

Hornstar 10-27-2006 04:29 AM

Quote:

Originally Posted by Abe1
They work together now that if a user thanks or groans a post, they can't do the other to the post also. I just never did the rep thing yet in the groan hack. I'll try to get it in soon. You should click 'install' here so you'll get an email when I release the new version.

I think what he meant was, scrap this thread and the thanks thread, and combine them into one hack.

and as an option in the admincp, you have enable/disable thanks .... enable/disable groan etc. so that way, updating will be a lot easier.

If you would do this, it would be ideal for most people I feel.

Abe1 10-27-2006 12:17 PM

Quote:

Originally Posted by hornstar1337
I think what he meant was, scrap this thread and the thanks thread, and combine them into one hack.

and as an option in the admincp, you have enable/disable thanks .... enable/disable groan etc. so that way, updating will be a lot easier.

If you would do this, it would be ideal for most people I feel.

It would be a lot of extra plug-in code for users who only want post thanks hack. Post Thanks Hack is a lot more popular and I dont want them to be bothered with a lot more code.

Abe1 10-27-2006 12:18 PM

Quote:

Originally Posted by hornstar1337
I got this requested on my site only the other day, but they wanted to call it the sucks button lol, so I said no to that idea, however now that you have called it the groan button, and maybe I'll only let certain usergroups use it, I think it is a fantastic idea.

Well done.

You can always edit the button and phrases so it can be come the shucks hack.

Zelda-King 10-27-2006 03:45 PM

Very nice! Would be even better with an exemption feature so you can add usergroups that can't be groaned at - eg, admins.

Abe1 10-27-2006 05:46 PM

Quote:

Originally Posted by Zelda-King
Very nice! Would be even better with an exemption feature so you can add usergroups that can't be groaned at - eg, admins.

Interesting idea.

Hornstar 10-28-2006 06:51 AM

Quote:

Originally Posted by Zelda-King
Very nice! Would be even better with an exemption feature so you can add usergroups that can't be groaned at - eg, admins.

Agreed. I dont want to be groaned at lol.

amnesia623 11-13-2006 04:40 AM

thanks for this

kafi 11-15-2006 12:36 PM

I was thinking about this groan hack as a collaborative moderation tool

1. After x-groans post will be hidden (only "show" link will replace the post).
or
2. post will be deleted (pretty hard option)
or
3. user will get PM to auto-censore-delete his post, or he might just check his groaned-posts and do it voluntarily (I do not have big expectations here)

BUT look what a GREAT addition was made to this add-on here:
https://vborg.vbsupport.ru/showpost....6&postcount=14
-----------------------------------

Abe1, any chance to turn this add-on to collaborative-moderation tool?
It will do huge work for any big forum .-)

ashley53680 11-16-2006 10:15 PM

Hello!

I've been toying with this and your thank you to make it fit my board a bit more. I don't want to get people mad at each other for a groan, however I think it's a nice tool if it could be done without the person knowing who groaned.

Anyway my question. Do you know how I would just put that there are X amount of groans for a post in the postbit instead of Name (date)? I didn't put it in the postbit as of right now so that they can't see who did it. LOL But it'd be nice for those posts you'd like to groan on without really getting involved. :)

Thanks!

Brandon Sheley 11-20-2006 03:45 AM

Quote:

Originally Posted by bang (Post 1104622)
you know what would be awesome? an option for both thanks and groan hacks to automatically increase/decrease user's reputation if his post/thread was thanked/groaned. what do you think?

i like this idea

Abe1 11-20-2006 11:52 PM

Quote:

Originally Posted by Loco.M (Post 1121302)
i like this idea

Done for Post thanks but not for post groan.

rx_1badbird 11-25-2006 03:25 PM

Thanks Abe. I installed it here www.mobmototb.com
The fact that I don't have buttons for my style is disappointing.
Any ideas?

Janet Jackson 11-26-2006 12:50 AM

Perhaps something like this ? Very nice hack by the way.

YeşiLMeN 11-27-2006 07:36 AM

thanks my friend for this hack

i use groan and thank you hack with this images
i hope you like them
this images designed by Huor (Huor's other designs=> 1 , 2)

redlabour 11-29-2006 09:24 AM

Can you please add a nofollow Tag at Post Thank You ? Even the Buttons are not visible for Guests the Crawler are allways attempting to use them. Traffic that makes no sin.

ForYou 12-01-2006 09:45 AM

Hello ,

is this option available in this hack ,

Set how many reputaion a user should get if he gets thanked. Set to '0' to disable.

Like the Post Thanks ,

Regards

YeşiLMeN 12-01-2006 12:25 PM

good question
i wanna know about it too
please reply this

Roxie 12-01-2006 02:00 PM

Quote:

Originally Posted by hornstar1337 (Post 1105292)
I got this requested on my site only the other day, but they wanted to call it the sucks button lol, so I said no to that idea, however now that you have called it the groan button, and maybe I'll only let certain usergroups use it, I think it is a fantastic idea.

Well done.

We call ours "kicks"...since people were always *kicking* each other when something silly was said. We use a kicking smilie. Just edit your phrases (there are a few!) from groan(s) to whatever you want.

Abe1 12-03-2006 08:30 PM

Quote:

Originally Posted by redlabour (Post 1127952)
Can you please add a nofollow Tag at Post Thank You ? Even the Buttons are not visible for Guests the Crawler are allways attempting to use them. Traffic that makes no sin.

I thought I added them. Are you sure?

Abe1 12-09-2006 09:51 PM

Quote:

Originally Posted by Mattikana (Post 1135268)
check attached pic:
"Groaned at" <- typo in phrase ?

What typo?

LBmtb 12-13-2006 10:35 PM

Instead of keeping a separate groan count, can this be made to subtract from a users "thank you" count? Even the ability for people to have negative points.

Maybe a donation would help achieve this? ;)

soulface 12-24-2006 11:42 AM

first of all, this is a gr8 hack like the post thanks hack. few days ago i added this on my forum. hoped it'll reduce junk/off topic posts. but what ppls were doing is for example, If i give a groan to someone, that users finding one of my older post & give groan. lol kinda like fight. so i was forced to disable it.

So Abe1, if you add these 2 options:

1. Will need reason (like reputation) to give a groan
2. cant give groan if the post if X (X = admin set) days older.


then it'll be perfect & users wont be able to abuse it.

thanks

Abe1 12-24-2006 11:59 AM

Quote:

Originally Posted by soulface (Post 1144406)
first of all, this is a gr8 hack like the post thanks hack. few days ago i added this on my forum. hoped it'll reduce junk/off topic posts. but what ppls were doing is for example, If i give a groan to someone, that users finding one of my older post & give groan. lol kinda like fight. so i was forced to disable it.

So Abe1, if you add these 2 options:

1. Will need reason (like reputation) to give a groan
2. cant give groan if the post if X (X = admin set) days older.


then it'll be perfect & users wont be able to abuse it.

thanks

I dont know about if I would add a reason. Just too much work on the user's part to use the hack.

As for the datys cut off, I'll put it on the list.

soulface 12-24-2006 12:35 PM

Quote:

Originally Posted by Abe1 (Post 1144412)
I dont know about if I would add a reason. Just too much work on the user's part to use the hack.

As for the datys cut off, I'll put it on the list.

require reason can be ON/OFF from admincp. so its up to forum admins, if they want make it easy for the user end, but i think it should a must have option to stop abuse this hack.

thanks..


All times are GMT. The time now is 10:18 AM.

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.01708 seconds
  • Memory Usage 1,835KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete