vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   BB Code Enhancements - [BB Code] Moderated Message: (Admins/Mods Message)[Like W-BB] (https://vborg.vbsupport.ru/showthread.php?t=208128)

adultbb 03-11-2009 10:00 PM

[BB Code] Moderated Message: (Admins/Mods Message)[Like W-BB]
 
1 Attachment(s)
Hello Guys

Many of you are searching this BBCode for years now... there was a code like this in phpBB's site but it was braking the forum theme when you were using it... But this one doesn't :)

What about it?
It's used in some Famous Warez sites... mostly by Staff...
It's Based on the code posted in phpBB by ghetto_man with a few changes in it :)

Here's the Preview:
<!Removed - See Attachments!>

Installation:
Log in to your ACP>.>Custom BB Codes>.>Add New BB Code

Title: Staff BBCode
BB Code Tag Name: mod
Replacement:
Code:

<style>
.moderator{color: #465584;
  background-color: #FAFCFE;
  border-left: 4px solid #b28383;
  border-right: 1px dotted #000;
  border-top: 1px dotted #000;
  border-bottom: 1px dotted #000;
  padding: 4px;
  padding-left: 25px;
  background: #FAFCFE url(http://s5.tinypic.com/2pzguf5.jpg) center left no-repeat;
  margin: 0px auto 8px auto;}
</style>
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td><span class="smallfont"><strong>Moderated Message:</strong></span></td>
</tr>
<tr>
<td class="moderator"><span style="font-weight: bold;"><span style="font-style: italic;"><span style="color: orange;">{param}</span></span></span></td>
</tr>
</table>

Example:
Code:

[mod]Please Code your Links![/mod]
Enjoy :D:D:D

Jasem 03-12-2009 04:26 PM

Good work, thank you

adultbb 03-12-2009 04:27 PM

No Problem :D

Doug Nelson 03-12-2009 05:00 PM

Can only mods and admins use this code?

adultbb 03-12-2009 05:09 PM

Nope... All members can... unless you install any modification like Advanced BBCode Permisions and prevent users from using it :)

ry215 03-12-2009 06:22 PM

Quote:

Originally Posted by Doug Nelson (Post 1766588)
Can only mods and admins use this code?

https://vborg.vbsupport.ru/showthread.php?t=194156

enjoy :D

adultbb 03-12-2009 06:28 PM

1st. You think your BB Code is better than this? lol!!!!
2nd. Most people like this BB Code as it's used in Famous Warez (Evo & W-BB)
3rd. You are Hi-Jacking my topic so I did reported you.

puertoblack2003 03-12-2009 07:14 PM

Quote:

Originally Posted by ry215 (Post 1766646)

your codes is messy and wouldn't consider using it.

Quote:

Originally Posted by adultbb (Post 1766650)
1st. You think your BB Code is better than this? lol!!!!
2nd. Most people like this BB Code as it's used in Famous Warez (Evo & W-BB)
3rd. You are Hi-Jacking my topic so I did reported you.

i tried this one here and the other i like this one here alot better and cleaner. installed :up:

adultbb 03-12-2009 07:32 PM

Quote:

Originally Posted by puertoblack2003 (Post 1766690)
your codes is messy and wouldn't consider using it.



i tried this one here and the other i like this one here alot better and cleaner. installed :up:

Thank you mate :)

Just to inform that this BB Code is full customized. You can change the colours/font of text or add any decoration on it very easy...

Andyrew 03-12-2009 08:16 PM

How do i remove that little green and brown line.

adultbb 03-12-2009 08:27 PM

Quote:

Originally Posted by Andyrew (Post 1766741)
How do i remove that little green and brown line.



Very Simple :)

This is the original Style
Code:

<style>
.moderator{color: #465584;
  background-color: #FAFCFE;
  border-left: 4px solid #b28383;
  border-right: 1px dotted #000;
  border-top: 1px dotted #000;
  border-bottom: 1px dotted #000;
  padding: 4px;
  padding-left: 25px;
  background: #FAFCFE url(http://s5.tinypic.com/2pzguf5.jpg) center left no-repeat;
  margin: 0px auto 8px auto;}
</style>

Find:
Code:

background: #FAFCFE url(http://s5.tinypic.com/2pzguf5.jpg) center left no-repeat;
Replace it with:
Code:

background: #FAFCFE
Find:
Code:

border-left: 4px solid #b28383;
Replace it with:
Code:

border-left: 1px dotted #000;
This will make the BB Code very poor... :erm::erm: but as you requested... :rolleyes:

Andyrew 03-12-2009 08:36 PM

Why will it make it poor just by removing the strange colour stripes that would look odd on my forum. I dont run a barbie pink forum. :D

adultbb 03-12-2009 08:49 PM

hahahahahahahahah lol it's not a Barbie Pink Forum

Pm'ed you...

Here's another Preview in better quality and in the default blue theme.. xD

<!Removed - See Attachments!>

ahmed-samara 03-13-2009 01:01 PM

great man .. thanks:)

adultbb 03-13-2009 01:10 PM

No Problem :) You're welcome :)

booher 03-15-2009 11:15 AM

I would suggest using this: https://vborg.vbsupport.ru/showthrea...ghlight=BBcode with it :)

adultbb 03-15-2009 02:35 PM

Well I don't as the modification you said is for vBulletin Boards with 3.6x and now almost 80% of the vBulletin boards are not in 3.6.x anymore..

supLaditOz 04-08-2009 01:49 AM

Great thanks for this:)

adultbb 04-08-2009 11:17 AM

No Problem :)

akonze 04-10-2009 06:00 PM

Sorry, forgive me my question, but I do not understand, why you posted this here. This isn't a mod, it's just a simple bb code, isn't it? And it isn't even a good one, as you use tables for the layout.

*confused*

freewilley 04-23-2009 09:21 AM

nice work dude!! just love it!!

thanks

esperone 05-20-2009 02:32 PM

Quote:

Originally Posted by akonze (Post 1788369)
Sorry, forgive me my question, but I do not understand, why you posted this here. This isn't a mod, it's just a simple bb code, isn't it? And it isn't even a good one, as you use tables for the layout.

*confused*

Don't use it then

kyrenator 06-17-2009 09:44 AM

thanks!

ubcforums 06-26-2009 01:04 PM

thanks :)

SirHappy 06-29-2009 02:04 PM

Nice work, Thanks.

ShadowStalker 10-17-2009 09:39 PM

Thanks for the code, I need to find advanced bbcode permissions for 3.8.x since the other is for 3.6

Eq4bits 10-29-2009 04:31 PM

I'm a bit confused... =S
*who* sees the 'moderated message'? everyone? only moderators? only the person that started the thread?

ZEHH 03-04-2010 05:10 PM

Ă“timo BBCode...instalado com sucesso

exyuteam 09-24-2010 12:21 AM

Not show correctly on vB 4.xx? Any suggestion?

R0L3X 02-17-2011 01:56 PM

image is dead. have some one a backup url?

ricardoNJ 02-21-2011 04:29 PM

Thanks!
Gracias!

Simon Lloyd 02-25-2011 02:37 AM

For those of you who want an easy way of hiding this bbcode and you DONT use any other custom bbcode follow this:
Goto your editor_toolbar_on template and look for
HTML Code:

<if condition="$vBeditTemplate['extrabuttons'] != '' ">
                                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td><td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td><td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>       
                                $vBeditTemplate[extrabuttons]
                        </if></if></tr></div>
                        </tr>
                        </table>

and replace that whole section with this
HTML Code:

<if condition="is_member_of($bbuserinfo,5,6,7)"><if condition="$vBeditTemplate['extrabuttons'] != '' ">
                                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td><td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td><td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>       
                                $vBeditTemplate[extrabuttons]
                        </if></if></tr></div>
                        </tr>
                        </table>
                        </if>

It's just wrapped in an IF conditional that allows mods and admins to see the custom bbcode buttons. I have added (some time ago) extra bbcode buttons to the original ones like #, you can use an IF conditional for them this way too and still allows you to have custom bbcode.

PM me if you're interested :)

Gato 05-19-2011 02:24 PM

image is dead. have some one a backup url? Yes, i need the image again please!! Someone have the image or a replacement?? thanks in advance!!!

BirdOPrey5 05-21-2011 12:08 PM

1 Attachment(s)
I never saw the original graphic but I reconstructed this from the screen shot if it helps.

Save it to your server and change the URL in the BB Code from: http://s5.tinypic.com/2pzguf5.jpg to whatever you set/save this image as.


All times are GMT. The time now is 05:50 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.01327 seconds
  • Memory Usage 1,793KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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