Advertisement:

Navigation

SMF Mod Site

Mod Name:
BBCode with style
Created By:
davidhs
Type:
BBC
First Created:
March 26, 2010, 11:35:42 AM
Last Modified:
October 01, 2015, 04:51:02 PM
Latest Version:
1.5.1
Compatible With:
1.1.13, 1.1.14, 1.1.15, 1.1.16, 1.1.17, 1.1.18, 1.1.19, 1.1.20, 1.1.21, 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11
Total Downloads:
5029

Download this mod

BBCodeWithStyle_1.5.tar.gz (12kB) [304]
BBCodeWithStyle_1.5.1.tar.gz (13kB) [341]
Manual Install Instructions for SMF

Description:

BBCode with style

ABOUT...

BBCode with style, 1.5.1
© 2010-2015 by davidhs
© Italian language 2011 by Sages
© Portuguese for Brazil and Portugal language 2012 by Joomlamz
© Russian language 2010-2011 by Bugo


This work is licensed under a Creative Commons Attribution 3.0 Unported License.

DESCRIPTION

Adds the possibility to use CSS styles, CSS classes and attributes like HTML in BBC tags.

New optional attributes of style:
  • style, whose value, quoted, are style rules inline.
  • class, whose value, quoted, are class names of style.
These attributes are added to the following BBC tags:
  • Horizontal rule (hr).
  • Image (img).
  • List (li, list).
  • Table (table, td, tr).
Code: [Select]
[tag class="class_of_style" style="rules"]text[/tag]
New optional attributes in BBC tags:
  • img:
    • rotateangle, rotatebgcolor. Rotate an image with a given angle in degree and using a background color for the uncovered zone after the rotation. The background color is an hexadecimal with 3 or 6 digits (#rgb or #rrggbb), a RGB color (r,g,b) or a color name of these:
      aqua=#00ffff=#0ff=0,255,255
      black=#000000=#000=0,0,0
      blue=#0000ff=#00f=0,0,255
      fuchsia=#ff00ff=#f0f=255,0,255
      gray=#808080=128,128,128
      green=#008000=0,128,0
      lime=#00ff00=#0f0=0,255,0
      maroon=#800000=128,0,0
      navy=#000080=0,0,128
      olive=#808000=128,128,0
      orange=#ffa500=255,165,0
      purple=#800080=128,0,128
      red=#ff0000=#f00=255,0,0
      silver=#c0c0c0=192,192,192
      teal=#008080=0,128,128
      white=#ffffff=#fff=255,255,255
      yellow=#ffff00=#ff0=255,255,0
      If the color does not exist in the image and can not be added, is used the closest color. Default value is 0 (rotateangle) and black (rotatebgcolor). Values without quotes.
    • flip. Flip an image in a direction. Permitted values are: horizontal, vertical. Value without quotes.
  • table: border. Width (in pixels) of the border around a table. Value without quotes.
  • td: colspan, rowspan. Span columns and rows in a table cell. Value without quotes.
Code: [Select]
[img rotateangle=degree rotatebgcolor=color flip=direction]image[/img]
[table border=number]table content[/table]
[td colspan=number rowspan=number]table cell[/td]

New BBC tags:
  • Paragraph style (div): Adds class or style inline to one or more paragraph.
  • Character style (span): Adds class or style inline to text within a paragraph.
Code: [Select]
[div class="class_of_style" style="rules"]paragraph with style[/div]
[span class="class_of_style" style="rules"]text with style[/span]

For these new BBC tags are added buttons in the editing box.


EXAMPLE


SMF COMPATIBILITY

  • SMF 1.1 to 1.1.21.
  • SMF 2.0 to 2.0.11.

Can be installed before or after "nCode Image Resizer" MOD 1.3-1.4.

PHP configuration option "allow_url_fopen" must be activated in php.ini or .htaccess file.

LANGUAGES

  • english, english_british.
  • italian.
  • portuguese_brazilian, brazilian, portuguese_pt.
  • russian.
  • spanish, spanish_es, spanish_latin.

If you want help translating it into other languages, you can add the translation in http://www.simplemachines.org/community/index.php?topic=379283.0

DOWNLOAD

Link to MOD

MANUAL INSTALLATION

See http://wiki.simplemachines.org/smf/Manual_installation_of_mods

SUPPORT AND COMMENTS

In English: http://www.simplemachines.org/community/index.php?topic=379283.0
In Spanish: http://www.simplemachines.org/community/index.php?topic=372850.0

CHANGE LOG

Code: [Select]
Legend:   ! Fixed   + Added   - Removed   * Changed   @ Note

1.5.1   2015-08-26
------------------
! When img tag is disabled only URL is displayed.

1.5     2015-05-23
------------------
@ PHP configuration option "allow_url_fopen" must be activated in php.ini or .htaccess file.
* If rotate or flip of image fail, the original image is shown.
+ SMF compatibility: 1.1.21 and 2.0.10.

1.4.10  2014-10-07
------------------
+ SMF compatibility: 1.1.20 and 2.0.9.

1.4.9   2014-06-23
------------------
! Use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.8.

1.4.8   2014-01-25
------------------
+ SMF compatibility: 2.0.7.

1.4.7   2013-10-25
------------------
@ Can be installed before or after "nCode Image Resizer" MOD 1.3-1.4.
+ SMF compatibility: 1.1.19 and 2.0.6.

1.4.6   2013-08-18
------------------
@ This work is licensed under a Creative Commons Attribution 3.0 Unported License http://creativecommons.org/licenses/by/3.0/
+ SMF compatibility: 2.0.5.

1.4.5   2013-04-10
------------------
+ SMF compatibility: 1.1.18.
+ SMF compatibility: 2.0.4.
- SMF compatibility: Support to obsolete series 1.0.x and Beta and RC versions.

1.4.4   2012-12-22
------------------
+ SMF compatibility: 1.0.23.
+ SMF compatibility: 1.1.17.
+ SMF compatibility: 2.0.3.
+ Languages: portuguese_brazilian, portuguese_brazilian-utf8, brazilian, brazilian-utf8, portuguese_pt, portuguese_pt-utf8, thanks to Joomlamz.

1.4.3   2011-12-25
------------------
+ SMF compatibility: 1.0.22.
+ SMF compatibility: 1.1.16.
+ SMF compatibility: 2.0.2.

1.4.2   2011-09-21
------------------
+ SMF compatibility: 1.1.15.
+ SMF compatibility: 2.0.1.

1.4.1   2011-06-23
------------------
+ SMF compatibility: 1.1.14.
+ SMF compatibility: 2.0.
* Uses integration hooks in SMF 2.0 RC4 and next.

1.4     2011-04-09
------------------
+ Optional attribute class in BBC tags: hr, img, li, list, table, td, tr.

1.3.2   2011-04-03
------------------
+ Languages: italian, italian-utf8, thanks to Sages.

1.3.1   2011-03-04
------------------
+ SMF compatibility: 1.0 RC1 to RC2 and 1.0 to 1.0.21.
+ SMF compatibility: 1.1 Beta 3 Public, RC1 to RC3 and 1.1 to 1.1.13.

1.3     2011-02-17
------------------
+ Optional attribute class in BBC tags: div, span.
+ Optional attribute in table BBC tag: border.
+ SMF compatibility: 2.0 Beta 3.1 Public and RC5.
* Join in one package the normal version and the version that is installed after "nCode Image Resizer" MOD 1.3-1.3.1.

1.2.2   2010-11-08
------------------
! Regular expressions of mistake fixes in SMF 2.0 RC2 and RC3.
+ SMF compatibility: 2.0 Beta 4, RC1 to RC1.2 and RC4.
+ Languages: english_british, english_british-utf8 (copy of english).
+ Languages: spanish, spanish-utf8 (copy of spanish_es).
@ There is a version to be installed after "nCode Image Resizer" MOD 1.3-1.3.1.

1.2.1   2010-06-17
------------------
! Source code of img BBC tag.
@ There is a version to be installed after "nCode Image Resizer" MOD 1.3-1.3.1.

1.2     2010-06-14
------------------
+ Optional attributes in img BBC tag: rotateangle, rotatebgcolor, flip.

1.1     2010-05-11
------------------
+ Optional attributes in td BBC tag: colspan, rowspan.

1.0.1   2010-05-09
------------------
+ Languages: russian, russian-utf8, thanks to Bugo.

1.0     2010-04-29
------------------
+ Optional attribute style in BBC tags: hr, img, li, list, table, td, tr.
+ BBC tags (and buttons in the editing box) with style attribute: div, span.
+ SMF compatibility: 2.0 RC2 to RC3.
+ Languages: english, english-utf8, spanish_es, spanish_es-utf8, spanish_latin, spanish_latin-utf8.