News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[BBCode] Dotted Underline

Started by SMF Customization Team, October 31, 2009, 06:45:18 PM

Previous topic - Next topic

SMF Customization Team

Link to the mod

[BBCode] Dotted Underline



Original Author: iKiller
Supported Languages: English
Link To Mod | Mod Discussion | Other SMF Customization Team Mods



Compatibility
SMF 2.0.x, SMF 2.1.x

Introduction
This modification adds a BBCode button next to the "Underline" button on the post page. You can use the [dot] BBCode to place a dotted line underneath the selected text. Instead of being a plain underline, this makes an underline of dots.

Installation Information
The Package Manager should work in most cases, if you have problems installing please use the discussion thread as well as Manual Installation of Mods

Support
Please use the modification thread for support with this modification.

Changelog
Version 1.1.1 - March 20 2022
- Added support for SMF 2.1

Version 1.1 - March 20 2014
- Fixed wrong language string
- Fixed issue with hooks

Version 1.0 - October 30 2009
- Initial release


Copyright (c) 2022, Simple Machines, under BSD 3-Clause License.
All rights reserved.


Liam.

Thanks ^_^ Just something random that I thought might aswell be done./

Arantor

Mod site cannot parse it for 2.0 RC2 and it won't work properly anyway due to a number of changes in the code.

C4G-TK

I should have looked at this before trying to install on my site.

I get the "The package you are trying to download or install is either corrupt or not compatible with this version of SMF." when I tried to install it on RC2.

-img removed-

Arantor

This hasn't been made compatible with RC2 yet as far as I could tell when I looked.

Even if the package-info.xml is updated to include RC2, it won't actually work properly anyway; the image will be broken in the editor due to changes in RC2.

C4G-TK

I only tried to install because it said Compatible With: 2.0 RC1.2, 2.0 RC2 on the mod site

-img removed-

Arantor

As far as I could tell it hasn't been tested on RC2, it won't work properly unless something seriously changed between Charter and Public releases of RC2.

7s-1k

For SMF 2.0 RC2

in sourcedir/Subs.php find:

array(
'tag' => 'u',
'before' => '<span class="bbc_u">',
'after' => '</span>',



after add:

         array(
            'tag' => 'dot',
            'before' => '<span style="border-bottom:1px dotted;">',
            'after' => '</span>',
         ),



in posts use [dot] [/dot]
One Day, Two Many

Arantor

The Subs edit doesn't change between 2.0 RC1.2 and 2.0 RC2. It's only the Subs-Editor.php edit that should need to change.

iKorp, please either update this mod to be compatible with 2.0 RC2 properly, or I can remove the 2.0 RC2 compatibility tag from it, since right now it isn't compatible.

7s-1k

in Subs-Editor.php find:

array(
'image' => 'underline',
'code' => 'u',
'before' => '[u]',
'after' => '[/u]',
'description' => $txt['underline']
),


after add:

array(
'image' => 'dot',
'code' => 'd',
'before' => '[dot]',
'after' => '[/dot]',
'description' => $txt['dot_desc']
),


upload dot.gif to /Themes/default/images/bbc/
One Day, Two Many

Arantor

Thank you 7s-1k.

iKorp, please roll these changes in as soon as possible (I note I already advised you a week ago that you needed to update your mods) otherwise unmark this mod as 2.0 RC2 compatible.

7s-1k

One Day, Two Many

Arantor

It's more iKorp that this helps. I wouldn't mind but I already gave him two mods that have these changes applied.

flamechica

I take it iKorp still hasn't fixed this as I got the not compatible error too....which is frustrating cuz it says on the download page that it is compatible with RC2

Arantor

It isn't, as I pointed out over a week ago.

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Arantor

Eclipse, I'm guessing you did the manual edits mentioned above? The mod won't work properly without those.

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Liam.

This has now been updated to work with SMF 2.0 RC2.

Advertisement: