vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What do you use for moderator comments? (https://vborg.vbsupport.ru/showthread.php?t=105747)

simalert 01-19-2006 08:49 PM

What do you use for moderator comments?
 
Hi,

I have just moved from PHPBB to vBulletin (or am in the process of moving data now).

On my old board I had [mod] tags that made moderator comments stand out by putting a large red exclamation before the comment. This was a mod for PHPBB and I can't find one for vBulletin, does anyone know of anything similar that I can use?

The problem is that what ever BBCode I add for this must only be usable by mods or admins, not general users. On PHPBB it wouldn't allow users to post with that code, is it possible to do this on vBulletin or does anyone know a hack or mod for this?

(or any other suggestions for a moderator comments system)

Thanks

Paul M 01-19-2006 08:57 PM

We generally just use bold text, sometimes prefixed with "Admin Edit: " or "Mod Edit: ".

Darat 01-20-2006 10:56 AM

We use a table box (via a bbcode) and tell members that they can't use it since it seems no one has been able to (or has the inclination to ;) ) come up with a hack that prevents some usergroups from using some custom bbcodes. :(

The bbcode we use:

Code:

<table bgcolor=#666699><tr><td bgcolor=#666699><font color=white size=1><b>Posted by {option}:</b></font></td></tr><tr><td bgcolor=white><font color=black size=2>{param}<p></font></td></tr></table>

simalert 01-20-2006 11:42 AM

Quote:

Originally Posted by Darat
We use a table box (via a bbcode) and tell members that they can't use it since it seems no one has been able to (or has the inclination to ;) ) come up with a hack that prevents some usergroups from using some custom bbcodes. :(

The bbcode we use:

Code:

<table bgcolor=#666699><tr><td bgcolor=#666699><font color=white size=1><b>Posted by {option}:</b></font></td></tr><tr><td bgcolor=white><font color=black size=2>{param}<p></font></td></tr></table>

Thanks, that should give me something to go on. I'll match the colours with my board and have a play with it.

I'm not that advanced on here to work out how to limit this to moderators and above yet though.

Darat 01-20-2006 12:00 PM

Quote:

Originally Posted by simalert
Thanks, that should give me something to go on. I'll match the colours with my board and have a play with it.

I'm not that advanced on here to work out how to limit this to moderators and above yet though.

Well if you do work it out - you'll be a very popular person around here - many. many people want to be able to do that.

Marco van Herwaarden 01-20-2006 12:02 PM

You could use my Post Background Color to give Staff posts a background color.

simalert 01-20-2006 01:03 PM

Thanks, but that's not quite what I was looking for.

I want my moderators to post as normal, as they currently do when they are involved in day to day posting as a user, but when they have to edit someone's post I want the part they enter to be stood out compared to what the user's typed.

The above idea will work fine, apart from users will be able to use it if they wish. I will put a warning on the BBCode that it's against the rules to do so and hopeful no one will, but it would be better if that was BBCode that only people I gave permission to use it could use it.

It was an excellent mod on PHPBB, just a shame that I can't convert it to work on vBulletin.

Zachariah 01-20-2006 01:41 PM

I have not looked yet, but perhaps BBcode per usergroup ? :squareeyed:

simalert 01-20-2006 02:20 PM

Quote:

Originally Posted by Zachariah
I have not looked yet, but perhaps BBcode per usergroup ? :squareeyed:

I've found something like that, but it only limits all BBCode per usergroup, not invididual ones.

Marco van Herwaarden 01-20-2006 03:19 PM

Limiting BB-Codes to Usergroups is extremely difficult, and if done correct would add a lot of processing to parsing a post.

Think about the following:
- A BB-code to wich a user don't have permission, is like a non-existant bb-code, ie. just plain text. It should just turn up as plain text.
- BB-Codes are parsed when a post is first time shown (and again if not in post_parsed anymore). This means that parsing the post and evaluating the bb-codes might be done by a member who is in a different usergroup then the original poster. Retrieving the usergroup permissions of the poster might add a lot of processing.
- What if a Staff member edit the original post, and uses a bb-code that only a few usergroups have permission to? Are the permissions of the original poster used when parsing the post? The permissions of that Staff member (what if the original poster edits his post afterwards, can he then suddenly use staff bb-codes)?
..............

Probably 100 more caveats to think of.

simalert 01-20-2006 03:58 PM

Quote:

Originally Posted by MarcoH64
Limiting BB-Codes to Usergroups is extremely difficult, and if done correct would add a lot of processing to parsing a post.

Think about the following:
- A BB-code to wich a user don't have permission, is like a non-existant bb-code, ie. just plain text. It should just turn up as plain text.
- BB-Codes are parsed when a post is first time shown (and again if not in post_parsed anymore). This means that parsing the post and evaluating the bb-codes might be done by a member who is in a different usergroup then the original poster. Retrieving the usergroup permissions of the poster might add a lot of processing.
- What if a Staff member edit the original post, and uses a bb-code that only a few usergroups have permission to? Are the permissions of the original poster used when parsing the post? The permissions of that Staff member (what if the original poster edits his post afterwards, can he then suddenly use staff bb-codes)?
..............

Probably 100 more caveats to think of.

Or there's an easier way to handle this.

Instead of handling it as mentioned above, why not just add a check when a post is posted?

vBulletin already supports a minimum character posting rule i.e. if there aren't enough characters in the post it won't let it be posted and instead shows a warning message. I reckon this is the way to tackle it. If the post has a flagged BBCode in it (set in ACP) then it could refuse to post it.

So if someone posted [mod]blah blah blah[/mod] then it would give an error message saying "you aren't permitted to post with that BBCode" or something similar.

That would make more sense, be less resource hungry and shouldn't be as tricky to implement.

Only problem is that I can't do it :( any takers out there???

Ben? 01-28-2006 07:54 PM

Hmm .. is that not the searched hack?
--> https://vborg.vbsupport.ru/showthread.php?t=105160

Please correct if I am wrong ..

simalert 01-28-2006 08:11 PM

Quote:

Originally Posted by Ben?
Hmm .. is that not the searched hack?
--> https://vborg.vbsupport.ru/showthread.php?t=105160

Please correct if I am wrong ..

No. That hack stops the BBCode being parsed for which ever users you select, it doesn't stop them being able to use certain BBCode tags.

I do have this hack already installed, but it's for a different use and doesn't do any of the above that I was after. I use this hack to stop unregistered users from just visiting the forum and grabbing URLs without registering.

Ben? 01-28-2006 08:13 PM

Ah, okay .. thank you :)

Jimandbob 04-25-2006 07:49 PM

Quote:

Originally Posted by Darat
We use a table box (via a bbcode) and tell members that they can't use it since it seems no one has been able to (or has the inclination to ;) ) come up with a hack that prevents some usergroups from using some custom bbcodes. :(

The bbcode we use:

Code:

<table bgcolor=#666699><tr><td bgcolor=#666699><font color=white size=1><b>Posted by {option}:</b></font></td></tr><tr><td bgcolor=white><font color=black size=2>{param}<p></font></td></tr></table>

Could anybody tell me how to use this code or how to insert it please?

Gaskell 04-26-2006 04:04 PM

To the original poster, is this the kind of thing?

https://vborg.vbsupport.ru/showthread.php?t=105253

You can limit who can use it by usergroup using this Modification :)

labrocca 08-13-2006 01:19 AM

I use this

Code:

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
        <tr>
      <td style="background-color:#FF0000;" rowspan="2" align="middle" vAlign="center" width="1%">       
<span style="font-weight:bold; font-family:Times New Roman, Verdana; font-size: 32px; color: #FFFF00;" title="">&nbsp;!&nbsp;</span>
      </td>
      <td><span style="color:#FFFF00; line-height:125%; background-color:#FF0000;"><b>This is a moderator message from: {option}</b></span></td>
  </tr>
  <tr>
      <td style="color:#FFFF00; line-height:125%; background-color:#FF0000;">{param}</td>
    </tr>
</table>

I enable option so that the moderator can also place their name. This is red background with yellow text. Which makes it stand out on ANY Forums. It also uses a large exclamation text font vs an image.

provedel 09-04-2006 08:01 PM

Quote:

Originally Posted by labrocca
I use this

Code:

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
        <tr>
      <td style="background-color:#FF0000;" rowspan="2" align="middle" vAlign="center" width="1%">       
<span style="font-weight:bold; font-family:Times New Roman, Verdana; font-size: 32px; color: #FFFF00;" title="">&nbsp;!&nbsp;</span>
      </td>
      <td><span style="color:#FFFF00; line-height:125%; background-color:#FF0000;"><b>This is a moderator message from: {option}</b></span></td>
  </tr>
  <tr>
      <td style="color:#FFFF00; line-height:125%; background-color:#FF0000;">{param}</td>
    </tr>
</table>

I enable option so that the moderator can also place their name. This is red background with yellow text. Which makes it stand out on ANY Forums. It also uses a large exclamation text font vs an image.

Can you tell me how to use this code or how to insert it please?

I create a new BBcode, but seens no effect. :hurt:

powerful_rogue 10-10-2007 09:08 PM

Quote:

Originally Posted by labrocca (Post 1050890)
I use this

Code:

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
        <tr>
      <td style="background-color:#FF0000;" rowspan="2" align="middle" vAlign="center" width="1%">       
<span style="font-weight:bold; font-family:Times New Roman, Verdana; font-size: 32px; color: #FFFF00;" title="">&nbsp;!&nbsp;</span>
      </td>
      <td><span style="color:#FFFF00; line-height:125%; background-color:#FF0000;"><b>This is a moderator message from: {option}</b></span></td>
  </tr>
  <tr>
      <td style="color:#FFFF00; line-height:125%; background-color:#FF0000;">{param}</td>
    </tr>
</table>

I enable option so that the moderator can also place their name. This is red background with yellow text. Which makes it stand out on ANY Forums. It also uses a large exclamation text font vs an image.

Theres a BB code somewhere which allows you to enter your name eg:

[mod=Powerful_Rogue] No swearing [/mod]

Can anyone point me in the right direction? Ive searched high a low!


All times are GMT. The time now is 04:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01327 seconds
  • Memory Usage 1,797KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete