Adriano Faria Posted November 28, 2013 Share Posted November 28, 2013 File Name: Show Warn Reason on Warned Posts File Submitter: Adriano Faria File Submitted: 28 Nov 2013 File Category: Moderation Tools Supported Versions: IP.Board 3.4.x This hook will display the warn reason on warned posts.Settings: Show moderator name Exclude groups from viewing the message Exclude forums where to show the message Note:This hook adds 1 query on topic view here to download this file Link to comment Share on other sites More sharing options...
Makoto Posted November 30, 2013 Share Posted November 30, 2013 I don't suppose there's any way to be able to toggle which warnings are displayed publicly? Then again, you can always warn the user via their profile to accomplish this, so it seems like a non-issue. I usually edit posts to add these notices in every now and then. It looks tacky and completely unprofessional. Was going to add a bbcode for the warning box, but this will make far more sense and make my life somewhat easier. Thanks for the hook. Link to comment Share on other sites More sharing options...
Makoto Posted December 1, 2013 Share Posted December 1, 2013 I found a bug. Steps to reproduce: Make a post in any thread as a regular member Make a reply after that post as a different member Hide the first post Warn the user that made the first post You'll see the warning box display under the second users post. This only happens for users that have permission to view hidden posts. Link to comment Share on other sites More sharing options...
Adriano Faria Posted December 1, 2013 Author Share Posted December 1, 2013 I found a bug. Steps to reproduce: Make a post in any thread as a regular member Make a reply after that post as a different member Hide the first post Warn the user that made the first post You'll see the warning box display under the second users post. This only happens for users that have permission to view hidden posts. Can't reproduce your step 'cause there is no option to hide first post; for this, there's the hide topic option on Topic Moderation menu... but I was able to reproduce it with any hidden post before the warned posts. The order was lost after the hidden post. What's New in Version 1.0.1: Fixed the error when there are hidden posts on topic Made 3 tests: Admin/Moderator view: User view: Guest view: Link to comment Share on other sites More sharing options...
Makoto Posted December 1, 2013 Share Posted December 1, 2013 I meant make a post in a thread that already exists, not create a new thread. I'm guessing you figured it out, but in the screenshots you posted the post that is hidden should be the post that is warned, not the one after it. Link to comment Share on other sites More sharing options...
Adriano Faria Posted December 1, 2013 Author Share Posted December 1, 2013 I'm guessing you figured out, but in the screenshots you posted the post that is hidden should be the post that is warned, not the one after it. No problem. Admin/Mod view: User view: Link to comment Share on other sites More sharing options...
Makoto Posted December 1, 2013 Share Posted December 1, 2013 Awesome, thanks. Link to comment Share on other sites More sharing options...
Timur Tskhovrebov Posted December 5, 2013 Share Posted December 5, 2013 I for some reason does not work ((( " alt="43b9138651c9.png"> Link to comment Share on other sites More sharing options...
Adriano Faria Posted December 5, 2013 Author Share Posted December 5, 2013 Well, can't understand your language but it seems that you are REPORTING a post. This hook was made to work on WARNING, not REPORTS. So, warn the post author and you'll see the warn reason on post content. Link to comment Share on other sites More sharing options...
Timur Tskhovrebov Posted December 5, 2013 Share Posted December 5, 2013 Well, can't understand your language but it seems that you are REPORTING a post. This hook was made to work on WARNING, not REPORTS. So, warn the post author and you'll see the warn reason on post content. my mistake I apologize. everything works fine))) Link to comment Share on other sites More sharing options...
Gangleider Posted November 20, 2014 Share Posted November 20, 2014 Getting this message on every topic view:Fatal error: Method warnMessage does not exist in warnMessagePosts_display in /usr/www/taconbanana/public/forums/admin/sources/classes/output/publicOutput.php on line 4051Our forum is a vBulletin 4 migration and infractions were converted to warnings, not sure if that could be related. Link to comment Share on other sites More sharing options...
Adriano Faria Posted November 20, 2014 Author Share Posted November 20, 2014 Please, recache your skin. Probably will resolve it. Link to comment Share on other sites More sharing options...
Gangleider Posted November 22, 2014 Share Posted November 22, 2014 Ah...That worked, sorry! Link to comment Share on other sites More sharing options...
Cabola Posted November 23, 2014 Share Posted November 23, 2014 gotta write this one behind me ears, could be useful! Link to comment Share on other sites More sharing options...
Piomar Posted March 14, 2015 Share Posted March 14, 2015 Doesn't work on 3.4.7 Link to comment Share on other sites More sharing options...
Adriano Faria Posted March 14, 2015 Author Share Posted March 14, 2015 Doesn't work on 3.4.7 The settings are alright ? Just made a quick test and it works fine: Link to comment Share on other sites More sharing options...
Piomar Posted March 14, 2015 Share Posted March 14, 2015 Now is ok - sorry, my mistake ;-) Link to comment Share on other sites More sharing options...
Ibragim Pupkevich Posted January 24, 2016 Share Posted January 24, 2016 Hi Adriano, Do you plan to work-out similar plugin for 4.1? Really suffering without such plugin in 4.1 Thanks! Link to comment Share on other sites More sharing options...
Adriano Faria Posted January 24, 2016 Author Share Posted January 24, 2016 Just now, Ibragim Pupkevich said: Hi Adriano, Do you plan to work-out similar plugin for 4.1? Really suffering without such plugin in 4.1 Thanks! This is a feature on IPS4. Link to comment Share on other sites More sharing options...
Ibragim Pupkevich Posted January 24, 2016 Share Posted January 24, 2016 Mmm? I can't even figure out how to add warning to particular post in 4.1 Could you help to find this magic button in post view? Link to comment Share on other sites More sharing options...
Adriano Faria Posted January 24, 2016 Author Share Posted January 24, 2016 I'm on a mobile device now... Can't show you how it looks like Link to comment Share on other sites More sharing options...
Ibragim Pupkevich Posted January 24, 2016 Share Posted January 24, 2016 Found this button finally... damn it, they put it so not obvious and hard to reach. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.