Jump to content

Highlighting Official "Moderator" Posts on IPB


Rheddy

Recommended Posts

Recently, I had never thought to ask about this before and I'm wondering if it's been addressed, but, does IPS have any plans on implementing a feature that would allow Moderators to post System/Moderator highlighted messages in a given topic?

What I mean is that, say, a member violates a forum rule or a Moderator sees that a problem is developing. Rather than a standard message, like every other posted message, if a Moderator decides to post a 'system message' in that topic, that Moderator could check a box before 'finalizing' that posted message that would highlight the border around the message with a chosen color, whether that be a 'colorized' red border, blue border, or whatever color that Moderator chooses, depending on the severity. This would highlight the message, indicating that members posting in that topic would be required to read that message. It would add a special feature for Moderators to use

Mostly, if a Moderator posts a warning message in a topic, that I've discovered most members will skip right over the message and not pay attention to it. I think this would be a great feature for the forum software and enhance Moderators with the option to 'flag' their message with a special colorized border, indicating that the message is serious.

Link to comment
Share on other sites

  • Replies 52
  • Created
  • Last Reply

The new BBCode engine allows you to specify which groups can and cannot use certain BBCodes.

You could achieve what you're suggesting simply by creating a BBCode that highlights the post, and only allowing admins/mods to use it.

Link to comment
Share on other sites


Anyway, the style affects all posts in the topic, not just those using the tag.



Oops. That's what I get for not testing things. :lol:

Hmm, I wonder if post IDs can be used in BBcodes.....

I'll try a couple of things out.
Link to comment
Share on other sites

If you want to hilight every moderator post, that would be easy to do... go into the template editor, find the topic view template bit. There are already conditions in there for checking whether the person is a moderator for the mod controls; copy one of those and use it to add a class to the post_block div. Go into the CSS, make that class a different background color.


Of course, I expect it could also be done with a hook... I don't exactly have the resources for figuring those out available right now.

Link to comment
Share on other sites

No1 1000, I don't want to highlight every Moderator posted message, but, only those that are posted as an official warning.

For instance, say someone starts posting porn images in a topic on your forums. Then, the Moderator would be able to post a warning in that topic, choose an option to highlight his/her (Moderator) posted message as an official warning in that topic, that way members would be required to read it as the posted message would stand out.

M4rtin, could you port it to 3.0? That's exactly what I've been looking for.

Link to comment
Share on other sites



For instance, say someone starts posting porn images in a topic on your forums. Then, the Moderator would be able to post a warning in that topic, choose an option to highlight his/her (Moderator) posted message as an official warning in that topic, that way members would be required to read it as the posted message would stand out.





I would delete porn spam, just me maybe...

I just had to bring that up, lol. I'll leave. I like those tiny images you placed on yours martin that represent error and notification. They looked good.
Link to comment
Share on other sites

Couldn't you just do something like this?

<div class='post_wrap<if test="$this->memberData['is_mod']"> mod_post</if>'


And then make a new 'mod_post' CSS class that defines whatever background colors or whatever you wanted?

Link to comment
Share on other sites


The new BBCode engine allows you to specify which groups can and cannot use certain BBCodes.



You could achieve what you're suggesting simply by creating a BBCode that highlights the post, and only allowing admins/mods to use it.




A few questions since I'm too lazy to test this myself. :P

  • Does the BBcode system check the permissions of the poster or the editor (mod/admin) of the post? (As in, can you make it so mods can put mod/admin only BBcode into members' posts?)
  • If someone's a former mod, when you rebuild posts would it break all the uses of the mod/admin only BBcode in all of their posts since they no longer have permission to use it?


Mod/admin only BBcodes sound like a really good idea to me, but I want to make sure they won't get wiped if I rebuild posts after a mod is gone before I add any. Broken BBcodes are a pain to correct you know. :P
Link to comment
Share on other sites


Couldn't you just do something like this?



<div class='post_wrap<if test="$this->memberData['is_mod']"> mod_post</if>'


And then make a new 'mod_post' CSS class that defines whatever background colors or whatever you wanted?


That's just what I had suggested doing, but he only wants posts hilighted selectively.


Kotonoha, since the bbcodes are parsed on view now, I BELIEVE it would change immediately... I don't know how the post cache factors into that, though.
Link to comment
Share on other sites

  • 2 weeks later...

You could make a BBCcode using the defualt Error background things that Ip Board 3 usues. I have one that makes the post look like it has an error message in it, although I can make it bigger I think. Ill test it out. But you could try this code:

<div class="message error">{option}! {content} <br /><br /> <br /><br /> <br /><br /> <br /><br /></div>



Ofcoruse you can add or remove the <br />'s as needed.

Edit: Yea this works well.

picture2dxx.png

Link to comment
Share on other sites


You could make a BBCcode using the defualt Error background things that Ip Board 3 usues. I have one that makes the post look like it has an error message in it, although I can make it bigger I think. Ill test it out. But you could try this code:



<div class="message error">{option}! {content} <br /><br /> <br /><br /> <br /><br /> <br /><br /></div>



Ofcoruse you can add or remove the <br />'s as needed.

Edit: Yea this works well.

picture2dxx.png


Could you make it so that there are two 'boxes', one inside the other? Have the inner box using the 'correct' background color, with the outer box using the pink color, with the "warning" message, where the warning message could be the option within the tag. Something like:

[warning=warning title here]warning message here[/warning]



Would definitely help it to stand out, if there's a pink bubble border to get the attention and then an inner bubble with the actual message.

Link to comment
Share on other sites

So You want a Pink outline basically?

Edit: Let me try something real fast. 1 second.

Is this what you wanted?
picture1yjd.png

<div class="general_box"><h3><img src="http://forums.invisionpower.com/public/style_images/master/exclamation.png" /> {option}</h3> {content} </div> <br /> </div>

<div class="message error"><b>Moderator Warning!</b><br />






[warning='Last Chance']This is your last chance.[/warning]

Link to comment
Share on other sites

Oh yeah that's awesome. I was thinking that the 'title' would be in the pink box but what you did is even better, because then it can have "Official Board Message" or something else that's preset with the inner box having all the title/message. Perfect, thank you. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...