PDA

View Full Version : BB Code Enhancements - Moderator / Administrator BBCode


pooffck1
11 Jul 2008, 18:31
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


/* ***** 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: <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: http://www.yoursite.com

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://www.vbulletin.org/forum/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. (http://www.vbulletin.org/forum/showthread.php?t=122942&highlight=BBCode+permissions)

Enjoy

Blackheart_72
11 Jul 2008, 19:11
Nice.

Thanks

cheat-master30
11 Jul 2008, 19:17
Installed and in use on my forum (I love custom BB code).

MobileBros
11 Jul 2008, 23:10
demo???

xixxon
12 Jul 2008, 02:16
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
12 Jul 2008, 08:19
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. (http://www.vbulletin.org/forum/showthread.php?t=122942&highlight=BBCode+permissions)

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

____________________________________________________

and as for a demo

https://www.vbulletin.org/forum/external/2008/07/61.jpg

^this is being used in my board.

Tulsa
12 Jul 2008, 10:53
Abe's mod won't hide the output from this to everyone, just limit their usergroup from using this bbcode.

pooffck1
12 Jul 2008, 10:59
Abe's mod won't hide the output from this to everyone, just limit their usergroup from using this bbcode.

http://www.vbulletin.org/forum/showthread.php?t=122942&highlight=BBCode+permissions <<CLICK! and INSTALL!

Tulsa
12 Jul 2008, 11:57
http://www.vbulletin.org/forum/showthread.php?t=122942&highlight=BBCode+permissions <<CLICK! and INSTALL!

http://www.vbulletin.org/forum/showpost.php?p=1045516&postcount=13

vampireus
12 Jul 2008, 12:27
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
12 Jul 2008, 12:54
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
14 Jul 2008, 21:40
Which mod hides the output of a message used inside this BB Code?
Yours or Abe's?

I'm quite confused.

esperone
14 Jul 2008, 21:51
me too?

vampireus
15 Jul 2008, 03:03
None of them hide the message

EagleNick
15 Jul 2008, 03:26
Then what's the point of this BB code?
Just to make the Moderator/Admin comments stand out?

vampireus
15 Jul 2008, 04:01
You got the point :D Congratz

Delphiprogrammi
04 Sep 2008, 20:57
this is not verry secure ....

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

RobbieZ
04 Sep 2008, 21:45
this is not verry secure ....

http://www.yourvbulletinurl.com/forums/msic.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
04 Sep 2008, 21:52
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
05 Sep 2008, 15:02
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 (http://www.vbulletin.org/forum/showthread.php?t=122942&highlight=BBCode+permissions) 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
14 Sep 2008, 01:18
Installed thanks!

Keesa
19 Aug 2009, 20:19
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?