Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 31, 200915 yr 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.
May 31, 200915 yr 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.
May 31, 200915 yr What tag would you use? I just tested a generic span and div with bg colors of red and neither filled the entire post pane.
May 31, 200915 yr This is not tested btw... Just use [postcol=color] and the post background color will change. :)
May 31, 200915 yr Of course, an inline style :). Good job Putzy. Is there a way for the color not to extend to the Author Pane?
May 31, 200915 yr Not without actually modifying the main template html... It just inherits the color from the post background.
May 31, 200915 yr That's what I figured since Rikki changed it. Anyway, the style affects all posts in the topic, not just those using the tag.
May 31, 200915 yr 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.
May 31, 200915 yr I made this for my previous board. If there are any interests in it, I can probably port it to 3.0.
May 31, 200915 yr 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.
May 31, 200915 yr Author 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.
June 1, 200915 yr I made this for my previous board. If there are any interests in it, I can probably port it to 3.0. looks great :D would love to get a copy of it :)
June 1, 200915 yr This is not tested btw... Just use [postcol=color] and the post background color will change. :) this makes the background of all the posts green ;)
June 1, 200915 yr Author M4rtin has informed me that he's going to work on importing it for IPB3. This would definitely be a useful tool for everyone using the new version of IPB. :D
June 1, 200915 yr 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.
June 1, 200915 yr 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?
June 1, 200915 yr 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
June 1, 200915 yr 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.
June 14, 200915 yr 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.
June 14, 200915 yr 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. 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.
June 14, 200915 yr So You want a Pink outline basically? Edit: Let me try something real fast. 1 second. Is this what you wanted? <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]
June 14, 200915 yr 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. :)
Archived
This topic is now archived and is closed to further replies.