The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Post Groan Hack Details »» | |||||||||||||||||||||||||
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 Show Your Support
|
Comments |
#32
|
|||
|
|||
In the post_groans_postbit_info template, change stylevar right to read stylevar left.
|
#33
|
|||
|
|||
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... |
#34
|
|||
|
|||
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? |
#35
|
|||
|
|||
Quote:
|
#36
|
|||
|
|||
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. |
#37
|
|||
|
|||
Excellent! I added the Groan and your fixed Thank You! Worked like a charm on VB4.1.2
|
#38
|
|||
|
|||
Most excellent.
|
#39
|
|||
|
|||
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. |
#40
|
|||
|
|||
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.
|
#41
|
|||
|
|||
Very good.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|