vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   BB Code Enhancements - Moderator / Administrator BBCode (https://vborg.vbsupport.ru/showthread.php?t=185032)

pooffck1 07-10-2008 09:00 PM

Moderator / Administrator BBCode
 
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)
https://vborg.vbsupport.ru/external/2008/07/21.gif

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

Blackheart_72 07-11-2008 05:11 PM

Nice.

Thanks

cheat-master30 07-11-2008 05:17 PM

Installed and in use on my forum (I love custom BB code).

MobileBros 07-11-2008 09:10 PM

demo???

xixxon 07-12-2008 12:16 AM

is it gonna hide the message so that only mod and admin can see it? how about smod? and can i set it up for other usergroups as well ?

pooffck1 07-12-2008 06:19 AM

Quote:

Originally Posted by xixxon (Post 1573225)
is it gonna hide the message so that only mod and admin can see it? how about smod? and can i set it up for other usergroups as well ?

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.

^^Try that mod up there it is fantisitc and it works for 3.7.x

__________________________________________________ __

and as for a demo

https://vborg.vbsupport.ru/external/2008/07/61.jpg

^this is being used in my board.

Tulsa 07-12-2008 08:53 AM

Abe's mod won't hide the output from this to everyone, just limit their usergroup from using this bbcode.

pooffck1 07-12-2008 08:59 AM

Quote:

Originally Posted by Tulsa (Post 1573470)
Abe's mod won't hide the output from this to everyone, just limit their usergroup from using this bbcode.

https://vborg.vbsupport.ru/showthrea...de+permissions <<CLICK! and INSTALL!

Tulsa 07-12-2008 09:57 AM

Quote:

Originally Posted by pooffck1 (Post 1573472)

https://vborg.vbsupport.ru/showpost....6&postcount=13

vampireus 07-12-2008 10:27 AM

Quote:

Originally Posted by xixxon (Post 1573225)
is it gonna hide the message so that only mod and admin can see it? how about smod? and can i set it up for other usergroups as well ?

It don't hide a message to anyone.

Blackheart_72 07-12-2008 10:54 AM

Quote:

Originally Posted by Tulsa (Post 1573470)
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.

EagleNick 07-14-2008 07:40 PM

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

I'm quite confused.

esperone 07-14-2008 07:51 PM

me too?

vampireus 07-15-2008 01:03 AM

None of them hide the message

EagleNick 07-15-2008 01:26 AM

Then what's the point of this BB code?
Just to make the Moderator/Admin comments stand out?

vampireus 07-15-2008 02:01 AM

You got the point :D Congratz

Delphiprogrammi 09-04-2008 06:57 PM

this is not verry secure ....

http://www.yourvbulletinurl.com/foru....php?do=bbcode and anybody could could use admin / moderator bbcode ...

RobbieZ 09-04-2008 07:45 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1614600)
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..

Delphiprogrammi 09-04-2008 07:52 PM

Quote:

Originally Posted by RobbieZ (Post 1614643)
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

RobbieZ 09-05-2008 01:02 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1614645)
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..

:-\

Chris Sotier 09-13-2008 11:18 PM

Installed thanks!

Keesa 08-19-2009 06:19 PM

This confuses me. It does not understand the font code and I cannot get it to change width to match my codeblockwidth style var. Is anyone still using this and can assist?


All times are GMT. The time now is 04:41 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.01773 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete