Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
Admin/Mod BB Codes Details »»
Admin/Mod BB Codes
Version: 1.00, by mac-warez mac-warez is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.x Rating:
Released: 01-26-2009 Last Update: Never Installs: 14
Re-useable Code Translations  
No support by the author.


Admin BB Code:

Code:
<center><table width="75%" cellpadding="0" cellspacing="0" border="0">
<tr>
	<td width="250" valign="top" style="padding-right: 15px;">
		<table cellpadding="8" cellspacing="0" border="0" width="100%" align="center" style="border: 1px solid #000000;">
		<thead>
			<tr>
				<td class="tcat" colspan="2">Admin Message</td>
			</tr>
		</thead>
		</table>


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top: 0px;">
		<tr>
			<td class="alt1">
{param}
<br><br>
</td>
		</tr>
		</table>
</table>
</center>
These form to match your style:
Installation:
OK go to admin cp>Custom Bb Codes> Add New bb code

For the Admin code
Title:Admin Message
BB Code Tag Name:ADMIN
Replacement:Place the code i put on your thread there

Example:[admin]test[/admin]
Description:Put your message between the tags to give a adminr message.

Moderator BB code:
Code:
<center><table width="75%" cellpadding="0" cellspacing="0" border="0">
<tr>
	<td width="250" valign="top" style="padding-right: 15px;">
		<table cellpadding="8" cellspacing="0" border="0" width="100%" align="center" style="border: 1px solid #000000;">
		<thead>
			<tr>
				<td class="tcat" colspan="2">Moderator Message</td>
			</tr>
		</thead>
		</table>


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top: 0px;">
		<tr>
			<td class="alt1">
{param}
<br><br>
</td>
		</tr>
		</table>
</table>
</center>
Installation:
OK, go to Admin CP>Custom BB Codes> Add New BB code

For the mod code
Title:Moderator Message
BB Code Tag Name:MOD
Replacement:Place the code i put on your thread there

Example:[mod]test[/mod]
Description:Put your message between the tags to give a moderator message..


If you use these BB codes combined with the Advanced BB code permissions hack it works great on sites.

Advanced BB code Permissions Hack
https://vborg.vbsupport.ru/showthread.php?t=122942

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-28-2009, 09:21 AM
NGUYENDUCTRUONG NGUYENDUCTRUONG is offline
 
Join Date: May 2008
Location: Deutschland
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for share
Reply With Quote
  #3  
Old 01-28-2009, 12:09 PM
mac-warez mac-warez is offline
 
Join Date: Oct 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problemo
Reply With Quote
  #4  
Old 01-28-2009, 12:23 PM
pollutioN pollutioN is offline
 
Join Date: Mar 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting :P

Nice bbcode
Reply With Quote
  #5  
Old 01-28-2009, 04:34 PM
mac-warez mac-warez is offline
 
Join Date: Oct 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #6  
Old 11-13-2010, 02:18 AM
Eplexx Eplexx is offline
 
Join Date: Nov 2010
Location: Toronto
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice thanks!
Reply With Quote
  #7  
Old 11-13-2010, 01:55 PM
shzad1 shzad1 is offline
 
Join Date: Jul 2008
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

intersting 1
Reply With Quote
  #8  
Old 11-14-2010, 12:00 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks for this... something basic however something I hadn't even thought off thanks for taking the time to do it and with some customising think it can be useful to many websites.
Reply With Quote
  #9  
Old 11-10-2012, 12:28 PM
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks for this
Reply With Quote
  #10  
Old 09-19-2014, 10:32 AM
Tibiaspy Tibiaspy is offline
 
Join Date: May 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anything like this but for 4.x?

I only found this: https://vborg.vbsupport.ru/showthread.php?t=266744
And it's almost what I would like to have
Reply With Quote
Reply

Thread Tools

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 02:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04722 seconds
  • Memory Usage 2,293KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete