Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
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.7.3 Rating:
Released: 10-22-2008 Last Update: Never Installs: 27
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 10-22-2008, 11:24 PM
mac-warez mac-warez is offline
 
Join Date: Oct 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved
Reply With Quote
  #3  
Old 10-23-2008, 12:01 AM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can u give examples of what this could be used for please.

And a screenshot would be handy
Reply With Quote
  #4  
Old 10-23-2008, 12:02 AM
mac-warez mac-warez is offline
 
Join Date: Oct 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes hold on
Reply With Quote
  #5  
Old 10-23-2008, 12:11 AM
mac-warez mac-warez is offline
 
Join Date: Oct 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This will conform to your style...
Reply With Quote
  #6  
Old 10-23-2008, 05:23 AM
lazydesis lazydesis is offline
 
Join Date: Sep 2006
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats the use if any registered user can use the [ admin ] message [ /admin ] BBcode .. wouldn't that defeat the purpose?
Reply With Quote
  #7  
Old 10-23-2008, 04:07 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this mac-warez, Just what i was looking for and compliments my forum a treat.

Cheers buddy
Reply With Quote
  #8  
Old 10-23-2008, 04:14 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lazyindian View Post
whats the use if any registered user can use the [ admin ] message [ /admin ] BBcode .. wouldn't that defeat the purpose?

The BB tags can be custom made to what you want, Yes members will try and use the tags if you leave them like that, but most admin will rename this in the Admin CP as something else ie. its almost like a password that only admins will know, same as the mod code, change it to something only you would be able to remember. ( Just change the BB Code Tag Name: MOD , to a word or password of your choice!! Easy )

On the whole this is a brilliant code and one that compliments your forum style completely

Marked Installed
Reply With Quote
  #9  
Old 10-23-2008, 04:21 PM
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They'll guess it in no time!

This mod https://vborg.vbsupport.ru/showthread.php?t=194156 restricts it to specified usergroups.

All the same I really appreciate anyone who goes to the trouble of sharing expertise as mac has.

Cheers
Reply With Quote
  #10  
Old 10-23-2008, 04:36 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by punchbowl View Post
They'll guess it in no time!

This mod https://vborg.vbsupport.ru/showthread.php?t=194156 restricts it to specified usergroups.

All the same I really appreciate anyone who goes to the trouble of sharing expertise as mac has.

Cheers
If people are that good at guessing then i'll be changing my adminCP password everyday
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 04:13 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.04237 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete