View Full Version : [AJAX] Post Groan Hack
Post Groan Hack 3.3
Click here for the vb3.6 version of this hack.
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 maxUpdates:
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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=111251)!
You will get an email when a new version is released.
Pictures:
Showing the 'groan' button and stats in Postbit
Showing post after 'groan' (user view)
Showing post after 'groan' with legacy posts (admin view)
Stats in members profile
Hacks settings
Pramodinfo
03-24-2006, 03:23 PM
Thanks ;)
*clicks install*
COBRAws
03-24-2006, 03:48 PM
My users will have fun with this lol
Hasann
03-24-2006, 04:05 PM
very interesting ;) thank you
Oddjob
03-24-2006, 04:19 PM
The groans arent displaying under the posts. It records them in the postbit fine....also the text in the admin cp for this isnt there. It works if i click on it though.
Yes, i already re-imported the product.
projectego
03-24-2006, 04:20 PM
Sounds interesting. I might give it a whirl. :)
The groans arent displaying under the posts. It records them in the postbit fine....also the text in the admin cp for this isnt there. It works if i click on it though.
Yes, i already re-imported the product.
Can you show me a screenshot?
The groans arent displaying under the posts. It records them in the postbit fine....also the text in the admin cp for this isnt there. It works if i click on it though.
Yes, i already re-imported the product.
If you are using postbit_legacy, then the template was not going. I updated the zip file with a fix.
dirtycrow
03-24-2006, 04:29 PM
how does this reduce the amount of "junk" posts your forum gets? to me it seems like they get a lot more junk with a bunck of goans after a bad post.
how does this reduce the amount of "junk" posts your forum gets? to me it seems like they get a lot more junk with a bunck of goans after a bad post.
If I knew that users can groan at me, I'm not sure I would make a stupid post.
Matter of opinion.
Tracer Gun Kata
03-24-2006, 04:46 PM
Can this be used in conjuntion with your Post Thanks?
Oddjob
03-24-2006, 04:46 PM
If you are using postbit_legacy, then the template was not going. I updated the zip file with a fix.
Thanks, works perfectly now.
Can this be used in conjuntion with your Post Thanks?
Yes. Both should work together with no problems.
dirtycrow
03-24-2006, 04:52 PM
If I knew that users can groan at me, I'm not sure I would make a stupid post.
Matter of opinion.
true I see your point, unless you have users that like negative attention.
Floris
03-24-2006, 08:00 PM
Isn't this where thread rating is made for?
hiiped
03-24-2006, 09:31 PM
Isn't this where thread rating is made for?
but you can NOT see who rated
you also can NOT see how many people rated
it would be nice if when combined with the Thank You Hack that a member who GROANED in a thread can NOT also THANK the thread ( and vice-versa )
there would be two colums below the first post
1 with THANKS and the other with GROANS
Tulsa
03-25-2006, 01:23 AM
Abe, what I was invisioning with this was more of a jab so to speak, to have some fun. Saying NO thank you for this Un-Useful post appears simply mean. It should be more funny than mean.
hbalagh1
03-25-2006, 01:37 AM
this is too funny,
Tulsa
03-25-2006, 01:38 AM
However it is working perfectly! :)
username12
03-25-2006, 02:04 AM
Groan button's not showing up for me. Edit: never mind. Just remembered the plugin accelerator hates me. Works fine now.
Also, a minor bug. The options setting is showing up as a blank line.
Tulsa
03-25-2006, 02:09 AM
Okay, it's working perfectly except for the blank line in the admincp! ;)
xfaethorx
03-25-2006, 07:38 AM
Okay, it's working perfectly except for the blank line in the admincp! ;)
yep i have this too :D.
Isn't this where thread rating is made for?
This is per post!
it would be nice if when combined with the Thank You Hack that a member who GROANED in a thread can NOT also THANK the thread ( and vice-versa )
I like this Idea. Maybe I'll release an addon for both.
there would be two colums below the first post
1 with THANKS and the other with GROANS
I'm not sure I would do this much.
Abe, what I was invisioning with this was more of a jab so to speak, to have some fun. Saying NO thank you for this Un-Useful post appears simply mean. It should be more funny than mean.
You can edit the phrase to what ever you would like.
Okay, it's working perfectly except for the blank line in the admincp! ;)
I'll look into that.
Tulsa
03-26-2006, 09:20 AM
I did edit the phrases and my users love this hack! :) My forum is about game room toys specifically Japanese slots and pachinko machines so we're just a bunch of big kids anyway.
From the users of my site and as promised in the thank you thread, a donation has been made.
Thanks again.
Version 1.1 (3/27/06):
Fixed a few things including the missing phrase.
Can't Thank and Groan the Same Post released :)
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 -
I dont really want to realy merge the 2 hacks together.
Rickie3
03-29-2006, 12:16 AM
I love this ive changed my phrases to say "The Following Users Says Crap For This Un-useful Post" lol
*installed*
cavyspirit
03-29-2006, 12:29 AM
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.
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.
cavyspirit
03-29-2006, 03:36 PM
I also need to be able to allow Moderators to remove Groans.
cavyspirit
03-29-2006, 03:45 PM
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.
Lance Carbuncle
03-31-2006, 09:30 PM
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!
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.
Rickie3
04-19-2006, 04:10 AM
is it possiable to add a button to show what user has groaned at you??
https://vborg.vbsupport.ru/external/2006/04/9.jpg
<!-- 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&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
Tulsa
04-19-2006, 07:33 PM
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?
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.
is it possiable to add a button to show what user has groaned at you??
https://vborg.vbsupport.ru/attachment.php?attachmentid=44734&d=1143220189
<!-- 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&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.
cavyspirit
04-24-2006, 07:34 PM
Any update on when the new features will be available? The troups are restless. Thx.
Any update on when the new features will be available? The troups are restless. Thx.
Working on them.
Dermo-MIO
04-25-2006, 05:02 PM
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
how did he do that can i ask ?
great mod btw
You can change it in the phrase section of your ACP.
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.
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
Tulsa
05-05-2006, 05:37 AM
Working well..
bashy
05-07-2006, 10:55 AM
Hi Abe
Do you have the Product for this "pre Ajax" or a non ajax version as the ajax versions dont work on my site :(
Hi Abe
Do you have the Product for this "pre Ajax" or a non ajax version as the ajax versions dont work on my site :(
I think I know the problem. I will be releasing an update soon. Try this for now. Turn off the view for date.
Hi Abe
Do you have the Product for this "pre Ajax" or a non ajax version as the ajax versions dont work on my site :(
Sorry, just checked, there is no bug with the date. Make sure all the templates are reverted.
bashy
05-07-2006, 12:07 PM
Hi abe...
My forum dont work with the AJAX version of your hacks
Therefore i have to use the version that does not use the AJAX feature
This is what i need for this 1 please or is this one not available without AJAX?
Hi abe...
My forum dont work with the AJAX version of your hacks
Therefore i have to use the version that does not use the AJAX feature
This is what i need for this 1 please or is this one not available without AJAX?
here
D.Ilyin
05-27-2006, 05:57 PM
Abe1, is it posable to add function (as in Post Thank You Hack) - subtraction amount of reputation?
Reputation
Set how many reputaion points should subtract when a user gets groan. Set to '0' to disable.
Thank's
Abe1, is it posable to add function (as in Post Thank You Hack) - subtraction amount of reputation?
Thank's
I added it my todo list.
myplacidcasual
09-18-2006, 05:11 AM
I would like to see a Post-WTF? feature or maybe a Post-Huh?
If you could set up something that would allow you to change those couple of variables to say anything as opposed to thanks and no thanks - obviously the user would have to design their own button - that would be great. I feel like I could almost do it myself but probably I'd mess it up.
If I were to duplicate the code you for this, but changed the variables around would it work?
I would like to see a Post-WTF? feature or maybe a Post-Huh?
If you could set up something that would allow you to change those couple of variables to say anything as opposed to thanks and no thanks - obviously the user would have to design their own button - that would be great. I feel like I could almost do it myself but probably I'd mess it up.
If I were to duplicate the code you for this, but changed the variables around would it work?
You dont need to change the varibles. You only need to change the image and the phrases.
Version 2.0 released for vb 3.6 here: https://vborg.vbsupport.ru/showthread.php?t=129975
Only have the groan installed right now.
Fatal error: Call to undefined function: can_thank_this_post() in /hsphere/local/home/toddro19/bamauniverse.com/forums/includes/class_postbit.php(296) : eval()'d code on line 166
Only have the groan installed right now.
Fatal error: Call to undefined function: can_thank_this_post() in /hsphere/local/home/toddro19/bamauniverse.com/forums/includes/class_postbit.php(296) : eval()'d code on line 166
I have to look into it.
Version 3.3 (08/03/07):
Released latest version for vb 3.5.x
Hicksatpd
07-20-2009, 03:20 PM
Do you think I can install and use this on 3.7.4? I recently added the Thanks mod and we love it. It'd be nice to have a counter-balance.
DFORMS
09-28-2012, 01:12 PM
Hey guys does this work in 4.2?
DFORMS
10-04-2012, 04:42 PM
Bump
diecastfast
06-09-2013, 04:09 AM
I'd be shocked if software written for 3.5 worked on 4.2
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.