![]() |
[AJAX] Post Groan Hack
Post Groan Hack About this hack: This hack was requested by users who like Abe1 "Post Thank You Hack" and "Post Groan 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. INSTALLATIONS: 1) upload the 'upload via ftp' folder -------------------------------------------------------------------- post_groans.php -> \ post_groans_admin.php -> \admincp\ post_groans.js -> \clientscript\ functions_post_groans.php -> \includes\ cpnav_post_groans.xml -> \includes\xml\ hooks_post_groans.xml -> \includes\xml\ post_groans.png -> \images\buttons\ (and into EVERY "buttons" folder in every style you have) post_groans-hover.png -> \images\buttons\ (and into EVERY "buttons" folder in every style you have) -------------------------------------------------------------------- 2) Import product-post_groans.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product]) Click 'install' in the thread you downloaded this from. Features:
i request and waiting for [AJAX] Post Groan Hack in and after not have any answer decide to edit post thank you hack for create post groan hack and test in my forum DEMO: http://forum.tractorfc.com |
reserved for translation files
|
tagged and thanks
will it work in 4.1.0 PL2 ? |
Quote:
|
The answer is NO it wont work.
Install in 4.1.0 and get error message: Quote:
Dont install this. |
I changed the dependencies in the XML, and installed it. Everything works great on 4.1 PL2.
Thank you very much!! |
Quote:
|
It told me that it would not install, even if i overwrite, denied...
will not worry about it, there are other like/dislike mods out.... no worries... If mods do not have time to update, then I do not have time to bother with them. |
OK
Thank for report i edit XML file to work great on 4.x.x versions |
thanks..
work perfect on my forum.. i'm using vbulletin 4.1.0 PL2 |
Thanks, I've been waiting for this one. Perhaps you can make one for facebook posts? :)
I've attached the modified version. This one will allow you to install on vb4.1pl2. It's working great for me so far. |
I do not have "The following xx users say" in my display;
could it be because of my style ? |
Quote:
|
I am having the same problem with the thank you hack
|
Quote:
|
Is this mod appear in VSa - Advance Forum Statics?
|
Thanks Mohammed
I have a question in Abe1 hack As a user, How can I know who "thanked/groaned" me and where ? I really need this feature |
Work in 4.1.0 PL2
Thanks |
Hello great mod!
Thank you very much. nominated. Is there any options to any user search his / her own post which got groans ? or his groaned post list. |
Can you help with the following Fatal Error, Please?
Code:
Fatal error: Cannot redeclare can_groan_this_post() (previously declared in /XXXX/includes/functions_post_groan.php:50) in /XXXX/includes/functions_post_groans.php on line 114 Many Thanks. |
What on earth is the error below, and how do I correct it, Please?
Code:
Database error in vBulletin 4.0.7: |
Thanks, works with 4.1.2
|
Crap, they don't integrate like they did in 3.8... Whatever happened to Abe1?
|
Okay... After many hours, I think I fixed it. They integrate and everything. If you are using the reputation option, use a negative number for groans as I didn't want to search out the right $reputation - $reputation(blah blah) string. It was just easier to use a minus sign in the settings. I didn't change any of the phrases. You get what you get...
:D And yes, the author can take my fixes and improve upon them, anybody can use them and enjoy. Thanks/Groans integrate and act like pals on my site now. Man, there are a lot of groan/groans in that script and I had to use the right one in the right place... BTW - Uninstall the previous version then install this one, for some reason overwriting causes one of the tables in the database to duplicate. |
thanks;
can you post the Thanks fixed as well ? |
I don't remember fixing that one. Was there something wrong with it? It's been a long few nights...
|
I'm pretty sure that Thanks was right to begin with, Groans needed to be fixed for integration and a couple variable mismatches. Yeah, and it appears as if somebody already uploaded one for "4.1.2", the only fix necessary was to change the version maximum on the xml file though, so I hope he didn't change much of the code. I like the integration.
|
Is there a way to stop people from groaning and saying thanks to the same post.
Also, a way to change the backgrounds of just the thanks/groans? |
Hold on... I'm testing an integrated groan/thanks on my board right now. I think I've finally solved some of the issues I was having previously with it and will upload it soon.
|
vb 4.1.2
how do i fix this issue: Thanks: 2 Thanks 2 Times in 2 Posts0 ( where the 0 should be on Groans line) Groans : ---------->Groaned 1 Time in 1 Post should be looking like this: Thanks: 2 Thanks 2 Times in 2 Posts Groans : 0 Groaned 1 Time in 1 Post |
Quote:
|
Okay, I'm going to post the version that I have integrated with the thanks hack on my site, the search feature is off until I can figure out the correct search string to find all thanks/groans. I'll also post the thanks that I added changed slightly for integration. If you upgrade check your dbase for an extra "post" in your dbase in the post_thanks/post_groans tables. For some reason it adds an extra one that is useless.
Tell me if there are any issues, if this is clean I guess I can post a new thread with both hacks with credit to the original coders... |
Quote:
The only issue I see with the groans, is if someone gives a groan beneath the first post (eg. 2nd or 4th, 5th post), it will show up, but after you refresh the page, it will still show your groan given, but not your username. It just shows a blank space where your username should be within the groan box. Any ideas? |
Quote:
|
Okay, I had an odd hiccough, however I shut it off, cleared the cache, rebuilt post cache, turned it back on.. and boom, it's working. Give that a quick test and see if it works for you. All this rendering, etc. has changed how hacks load. I think we'll be running a lot of post cache rebuilds...
Also, if you are upgrading, run your counters for the mod (they're in the Mod's settings) after you are done and make sure to set it to overwrite. I have some tweaks to make to the phrases, etc. (especially the postbit, I changed the templates a bit and need to add those to the mod), for some reason the blog links get in the way and I haven't figured out how to make it not straddle the blog button and link in the postbit... My users are ecstatic, they're favorite mod is working again... (hopefully permanently). But if this actually will work on other boards, it is ready with just minor changes and I'll upload both mods with total credit given to the original authors. Oddly enough, I went on as a "guest" to my site and saw every groan with no problem. Logged in as a registered user, some groans, some I couldn't see. Logged back out, saw them all again... Logged back in as an Administrator, some there some not... There's something very odd going on, there is no limitation as to who can see the groan box that part of the hack is exactly the same as the Thank you hack with a one-word change. |
Excellent! I added the Groan and your fixed Thank You! Worked like a charm on VB4.1.2
|
Most excellent.
|
I'm making some updates, when I am done and tested I will create new threads for both so people can receive updates. If the original authors come back, I'll hand it all over to them. Mine Gott...
BTW - chrisdaman, the two mods were working on the same executionorder and that is causing some of the problems, I've updated that on the next release as well as making cosmetic changes to where the buttons show up if you have the blog feature turned on and in the postbit info section as to how the thanks/groans information shows up. Previously if you had the blog feature turned on it would straddle them and the information got all mucked, I've fixed that on my site. |
Sounds good, thanks! I did as you said and turned off product, cleared cache and rebuilt post and it seems to be showing up correctly. But I will still update to the next release.
|
Very good.
|
All times are GMT. The time now is 06:34 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|