Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

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
  #12  
Old 10-23-2008, 05:05 PM
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UKBusinessLive View Post
If people are that good at guessing then i'll be changing my adminCP password everyday
If they hover over a thread with the [admin] bbcode at the start it will give it away. I had this issue with a bbcode before Everyone started using it! (The [YOU] bbcode btw) Or maybe they guessed it!

They don't have to guess your admin password to post your admin bbcode - Or have I got the wrong end of the stick completely (AGAIN!)
Reply With Quote
  #13  
Old 10-23-2008, 05:18 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
If they hover over a thread with the [admin] bbcode at the start it will give it away. I had this issue with a bbcode before Everyone started using it! (The [YOU] bbcode btw) Or maybe they guessed it!

They don't have to guess your admin password to post your admin bbcode - Or have I got the wrong end of the stick completely (AGAIN!)
Hi Punchbowl

If you use a password, whatever it may be for your admin BBcode there will not be a way any member can just hover over the final message to get the code. i've used a password made up of my old army number, I doubt anyone would be able to guess that

The reason I like this mod is that it fits in with the same style as your forum, so you'll be making a statement but keeping it clean and friendly and in a form that compliments your forum.

Like many mods on here, some may suit some folk more than others but for my site it works a treat and just what i was looking for.

At the end of the day if its no good just delete the bbcode, simple, but for me its great

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

I'm not complaining. I like the code a lot.

I was wrong about the hover. Sorry about that! And thanks again to mac for sharing
Reply With Quote
  #15  
Old 10-23-2008, 05:33 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool
Reply With Quote
  #16  
Old 10-23-2008, 06:34 PM
mac-warez mac-warez is offline
 
Join Date: Oct 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your werlcome everyone. I will update the thread with the Advanced BB code permissions mod. That is what i use to keep members and mods from using my ADMIN code. Then with the mod code you can make it so only moderators can use it.

https://vborg.vbsupport.ru/showthread.php?t=122942
Advanced BB code permissions.
Reply With Quote
  #17  
Old 10-24-2008, 03:41 AM
lazydesis lazydesis is offline
 
Join Date: Sep 2006
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mac-warez thanks for this all i was trying to say before was that if advanced BBcode permissions will be included within .. then it will be much more worth
Reply With Quote
  #18  
Old 10-24-2008, 06:36 PM
mac-warez mac-warez is offline
 
Join Date: Oct 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome. I hope you all like. I will be releasing some more BB codes here soon. And they are good.
Reply With Quote
  #19  
Old 10-28-2008, 01:20 AM
proudgreenyin proudgreenyin is offline
 
Join Date: Jun 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great m8 thanks
Reply With Quote
  #20  
Old 10-28-2008, 06:13 PM
mac-warez mac-warez is offline
 
Join Date: Oct 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem.
Reply With Quote
  #21  
Old 11-15-2008, 10:40 PM
iPod Hacker iPod Hacker is offline
 
Join Date: Jun 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey! This code was stolen from when you were a moderator on my site!!
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 04:06 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.04582 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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