News:

Wondering if this will always be free?  See why free is better.

Main Menu

BBCode with style

Started by davidhs, May 02, 2010, 02:40:59 AM

Previous topic - Next topic

davidhs

New version:

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

davidhs

New version:

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


davidhs

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

Apllicmz

Good work
when Update dont forget

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end"></search>
            <add><![CDATA[
// BEGIN MOD BBCodeWithStyle
$txt['style_paragraph'] = 'Estilo de par&aacute;grafo';
$txt['style_character'] = 'Estilo de caracteres';
// END MOD BBCodeWithStyle
]]></add>
        </operation>
    </file>

<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end"></search>
            <add><![CDATA[
// BEGIN MOD BBCodeWithStyle
$txt['style_paragraph'] = 'Estilo de par&aacute;grafo';
$txt['style_character'] = 'Estilo de caracteres';
// END MOD BBCodeWithStyle
]]></add>
        </operation>
    </file>

<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
        <operation>
            <search position="end"></search>
            <add><![CDATA[
// BEGIN MOD BBCodeWithStyle
$txt['style_paragraph'] = 'Estilo de par&aacute;grafo';
$txt['style_character'] = 'Estilo de caracteres';
// END MOD BBCodeWithStyle
]]></add>
        </operation>
    </file>

<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
        <operation>
            <search position="end"></search>
            <add><![CDATA[
// BEGIN MOD BBCodeWithStyle
$txt['style_paragraph'] = 'Estilo de par&aacute;grafo';
$txt['style_character'] = 'Estilo de caracteres';
// END MOD BBCodeWithStyle
]]></add>
        </operation>
    </file>





aniraangel

I just wanted to reply to this and say thank you for this mod! :D It's saved me a lot of frustration on organizing and prettifying a couple of tables for my new site.

natasa (NT)

Hello!
I have question about links:

Links in posts are, by default, underlined, and css for that part is:

.bbc_link:link, .bbc_link:visited
{
border-bottom: 1px solid #A8B6CF;
}


I would like for some of links not to be underlined, and do not know is it possible to do that with this mod?
I tried, but no luck so far.

Thanks.


davidhs

Quote from: natasa on December 20, 2012, 03:30:39 AM
Hello!
I have question about links:

Links in posts are, by default, underlined, and css for that part is:

.bbc_link:link, .bbc_link:visited
{
border-bottom: 1px solid #A8B6CF;
}


I would like for some of links not to be underlined, and do not know is it possible to do that with this mod?
I tried, but no luck so far.

Thanks.


You can not use attribute class/style on BBC url/iurl, and if you use BCC span you can modify color/width of underline but no hide underline:
Work:
[iurl=http://www.simplemachines.org][span style="border-bottom: 1px solid yellow;"]http://www.simplemachines.org[/span][/iurl]
Not work:
[iurl=http://www.simplemachines.org][span style="border-bottom-style: none;"]http://www.simplemachines.org[/span][/iurl]


You must use HTML code:
With style
[html]<a href="http://www.simplemachines.org/" class="bbc_link" style="border-bottom-style: none;">http://www.simplemachines.org/</a>[/html]

or with CSS class ( .nounderline { border-bottom-style: none; } )

[html]<a href="http://www.simplemachines.org/" class="bbc_link nounderline">http://www.simplemachines.org/</a>[/html]

You can not use this MOD.

natasa (NT)


davidhs

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

davidhs

New version:
1.4.5   2013-04-10
------------------
+ SMF compatibility: Adds 1.1.18.
+ SMF compatibility: Adds 2.0.4.
- SMF compatibility: Removes support to obsolete series 1.0.x and Beta and RC versions.

DeroZ


davidhs

Quote from: Snoopix on June 26, 2013, 08:03:00 PM
how can add cellspacing?
You can use class or style attribute on table.

Perhaps border-spacing:10px; ?

DeroZ

#74
[table border=1]
[tr]
[td style="border-spacing: 10px"][/td]
[/tr]
[/table]



no works.

davidhs

Quote from: Snoopix on July 10, 2013, 04:30:13 AM
[table border=1]
[tr]
[td style="border-spacing: 10px"][/td]
[/tr]
[/table]



no works.
border-spacing only works in tag table
[table border=1 style="border-spacing: 10px"]
[tr]
[td]...[/td]
[td]...[/td]
[/tr]
[tr]
[td]...[/td]
[td]...[/td]
[/tr]
[/table]

But it depends about whatever you want get. You can find more CSS properties in online manuals.

davidhs

New version:
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: Adds 2.0.5.

davidhs

This MOD can be installed before or after MOD nCode Image Resizer 1.4.

davidhs

New version:
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.

recursiveMAX

I have a couple of questions. I was designing a template on my site with an image hosted at imgur as the background of the div. On preview, it looked great, but every time I would actually post the template, the external url would automatically turn into bbcode and screw up my template.

I turned off "automatically turn links into bbcode links", but then that screwed with another one of my mods, and I would really like to turn the links into bbcode again...

Is there any way to use a background image in a div:
1. without the link automatically turning into a click-able link
2. without uploading the background-image to my server (my members also make templates that have background images that are external links and I don't want to have to force them to upload all their background images to my server).

Advertisement: