Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2006, 08:49 PM
simalert simalert is offline
 
Join Date: Jan 2006
Location: UK
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 01-19-2006, 08:57 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We generally just use bold text, sometimes prefixed with "Admin Edit: " or "Mod Edit: ".
Reply With Quote
  #3  
Old 01-20-2006, 10:56 AM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #4  
Old 01-20-2006, 11:42 AM
simalert simalert is offline
 
Join Date: Jan 2006
Location: UK
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-20-2006, 12:00 PM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 01-20-2006, 12:02 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could use my Post Background Color to give Staff posts a background color.
Reply With Quote
  #7  
Old 01-20-2006, 01:03 PM
simalert simalert is offline
 
Join Date: Jan 2006
Location: UK
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 01-20-2006, 01:41 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have not looked yet, but perhaps BBcode per usergroup ? :squareeyed:
Reply With Quote
  #9  
Old 01-20-2006, 02:20 PM
simalert simalert is offline
 
Join Date: Jan 2006
Location: UK
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 01-20-2006, 03:19 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:01 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.04674 seconds
  • Memory Usage 2,259KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete