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.


All times are GMT. The time now is 12:57 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.01237 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete