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
Moderator / Administrator BBCode Details »»
Moderator / Administrator BBCode
Version: 1.00, by pooffck1 pooffck1 is offline
Developer Last Online: Jul 2009 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.x Rating:
Released: 07-10-2008 Last Update: Never Installs: 22
Template Edits
 
No support by the author.

This is my first bbcode or first template edit or first anything actually.

So Please install

First of all
Admincp >> STYLE MANAGER >> YOUR STYLE >> MAIN CSS >> Place the following in Additional CSS Definitions

Code:
/* ***** Mods Message ***** */
.bbcmods{
 background: #FFF;
 border: 1px dotted #000000;
 border-top: 4px solid #000000;
 border-bottom: 4px solid #000000;
 color: #000000;
 font-weight: bold;
 padding: 5px;
 font-size: 11px;
}
.bbcmodstitle{
 font-weight: bold;
 font-size: 10px;
 border: 0px;
 border-bottom: 1px dashed #003366;
 color: #003366;
 padding-bottom: 3px;
 margin-bottom: 5px;
}

And THEN

Admincp >> Custom BB Codes >> Add New BB Code
Title: Mods/Admins Message

BB Code Tag Name: mods

Replacement:
Code:
<div class="bbcmods">
 <div class="bbcmodstitle">Mod/Admins Message</div>
 <pre style="margin:0px; padding:$stylevar[cellpadding]px; width:$stylevar[codeblockwidth]; overflow:auto">{param}</div>
Example: [mods]http://www.yoursite.com[/mods]

Description: Only for mods or admins to place there messages inside

Use {option}: NO

Button Image: (optional, and can be changed for your style)


Remove Tag If Empty: YES

Disable BB Code Within This BB Code: NO

Disable Smilies Within This BB Code: NO

Disable Word Wrapping Within This BB Code: NO


If you want to make this for Mods and admins only then i advise you to install this mod as it gives you advance bbcode hidding options for members who are not admins or mods.

Enjoy

Show Your Support

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

Comments
  #12  
Old 07-12-2008, 11:54 AM
Blackheart_72 Blackheart_72 is offline
 
Join Date: Dec 2007
Location: UK
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa View Post
Abe's mod won't hide the output from this to everyone, just limit their usergroup from using this bbcode.
I just left out the image and then posted the bbcode in my admin/mod lounge.
Reply With Quote
  #13  
Old 07-14-2008, 08:40 PM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which mod hides the output of a message used inside this BB Code?
Yours or Abe's?

I'm quite confused.
Reply With Quote
  #14  
Old 07-14-2008, 08:51 PM
esperone esperone is offline
 
Join Date: Feb 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me too?
Reply With Quote
  #15  
Old 07-15-2008, 02:03 AM
vampireus vampireus is offline
 
Join Date: Jan 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

None of them hide the message
Reply With Quote
  #16  
Old 07-15-2008, 02:26 AM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then what's the point of this BB code?
Just to make the Moderator/Admin comments stand out?
Reply With Quote
  #17  
Old 07-15-2008, 03:01 AM
vampireus vampireus is offline
 
Join Date: Jan 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You got the point Congratz
Reply With Quote
  #18  
Old 09-04-2008, 07:57 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is not verry secure ....

http://www.yourvbulletinurl.com/foru....php?do=bbcode and anybody could could use admin / moderator bbcode ...
Reply With Quote
  #19  
Old 09-04-2008, 08:45 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
this is not verry secure ....

http://www.yourvbulletinurl.com/foru....php?do=bbcode and anybody could could use admin / moderator bbcode ...
If you use the Advanced BB Code permissions you can set who can use the BB code..
Reply With Quote
  #20  
Old 09-04-2008, 08:52 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobbieZ View Post
If you use the Advanced BB Code permissions you can set who can use the BB code..
on custom bbcode ? i though that hack didn't worked with custom bbcode
Reply With Quote
  #21  
Old 09-05-2008, 02:02 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
on custom bbcode ? i though that hack didn't worked with custom bbcode
Please correct me if im wrong..

I thought.. If you install this Advanced BB code permisions and then install the above hack..

Then goto AdminCP>Usergroup>admin> and set the advanced code to yes and then click which bbcodes and custom ones the admin can use (or mod)

If you leave the advanced bbcode set to no.. you can only use the normal bb codes..

:-\
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:44 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.04714 seconds
  • Memory Usage 2,307KB
  • 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
  • (4)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