PDA

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


pooffck1
07-10-2008, 10:00 PM
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://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. (https://vborg.vbsupport.ru/showthread.php?t=122942&highlight=BBCode+permissions)

Enjoy

Blackheart_72
07-11-2008, 06:11 PM
Nice.

Thanks

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

MobileBros
07-11-2008, 10:10 PM
demo???

xixxon
07-12-2008, 01: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, 07:19 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 ?

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. (https://vborg.vbsupport.ru/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://vborg.vbsupport.ru/external/2008/07/61.jpg

^this is being used in my board.

Tulsa
07-12-2008, 09: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, 09:59 AM
Abe's mod won't hide the output from this to everyone, just limit their usergroup from using this bbcode.

https://vborg.vbsupport.ru/showthread.php?t=122942&highlight=BBCode+permissions <<CLICK! and INSTALL!

Tulsa
07-12-2008, 10:57 AM
https://vborg.vbsupport.ru/showthread.php?t=122942&highlight=BBCode+permissions <<CLICK! and INSTALL!

https://vborg.vbsupport.ru/showpost.php?p=1045516&postcount=13

vampireus
07-12-2008, 11:27 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 ?

It don't hide a message to anyone.

Blackheart_72
07-12-2008, 11:54 AM
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, 08: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, 08:51 PM
me too?

vampireus
07-15-2008, 02:03 AM
None of them hide the message

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

vampireus
07-15-2008, 03:01 AM
You got the point :D Congratz

Delphiprogrammi
09-04-2008, 07:57 PM
this is not verry secure ....

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

RobbieZ
09-04-2008, 08:45 PM
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
09-04-2008, 08:52 PM
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, 02:02 PM
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 (https://vborg.vbsupport.ru/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
09-14-2008, 12:18 AM
Installed thanks!

Keesa
08-19-2009, 07: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?