Jump to content

Show Warn Reason on Warned Posts


Adriano Faria
 Share

Recommended Posts

%7Boption%7D



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

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

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

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

  • 11 months later...

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 4051

Our 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

  • 3 months later...
  • 10 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...