[BBCode] Dotted Underline

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

Previous topic - Next topic

C4G-TK

I don't think you updated it correctly.  It still gives a TEST FAILED for the Subs-Editor.php edit for RC2.  I looked at the parse for it and it still shows the wrong thing to look for as well.  Is this going to be updated to work correctly?

-img removed-

Arantor

If you grab the 2RC2 package it looks right at a glance.

C4G-TK

I'm obviously not doing something right then.  I can't find:

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


in my Subs-Editor.php file in RC2.  In the parse of it for the RC2 package, it says to find that piece of code. ????

-img removed-

Arantor

Ah. I didn't actually look at what it said - just literally glanced at it to ensure it was 2.0 RC2 format not the previous one-line format.

* Arantor would remind all mod authors that packages should be tested on a fresh RC2 installation prior to updating their mod on this site.

C4G-TK

Overline is his other mod.  Somehow, that code is in this mod according to the parser which it wouldn't be.  I think he may have saved the file and mixed up the packages after working on the two mods or something.

-img removed-

Liam.

Ahh, I may have gotten mixed up. Sorry, I'll fix it ASAP!

Liam.

Fixed and tested. It should all work now.

C4G-TK

THANK YOU!!!!

It now install and works perfectly!

-img removed-

Liam.

No problem! I guess I should've checked it before uploading, I checked the others but I knew I missed one ^_^
Thanks for using the Dotted Underline mod!

dougiefresh

Thank you for the wonderful mod!  I thought I'd let everybody know that when I updated my forum from 2.0 RC5 to 2.0 Gold, I had to reinstall all my mods.  This mod installed without issues and using 2.0 RC5 emulation.  Hope this info helps someone!

Rain Forest

It's not working for me on 2.0 Final

Suki

giovannie_1 please define "not working"  do you installed it properly? does it gave you errors on install?  what happen when you try to use it?

you must provide more info so we can help you, otherwise it is extremely difficult to assist you.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Rain Forest

Hi Miss All Sunday,

For 2.0 Final the manual says:

in: /Themes/default/languages/Modifications.english.php

find
?>
add before
$txt['dot'] = 'Dotted Underline';

in ./Themes/default/languages/Modifications.english-utf8.php

find
[code?>[/code]
add before
$txt['blink'] = 'Dotted Underline';

Code
add_remove_hooks.php

This file should be able to execute standalone.

File Operations
Move the included file "Subs-Dottedunderlinebbc.php" to "./Sources".
Move the included file "dot.gif" to "./Themes/default/images/bbc".

Just that...

But now it works.

I added manually:

in Sources/Subs.php
afterarray(
'tag' => 'u',
'before' => '<span class="bbc_u">',
'after' => '</span>',
         ),

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


and in Sources/Subs-Editor.php
find
array(
'image' => 'underline',
'code' => 'u',
'before' => '[u]',
'after' => '[/u]',
'description' => $txt['underline']
),

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


Suki

This mod uses hooks, which means theres no need to edit your  Sources/Subs.php.

You still do not say if you install it with the packager manager or you installed it manually.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Rain Forest

Quote from: Miss All Sunday on September 19, 2011, 06:05:29 PM
This mod uses hooks, which means theres no need to edit your  Sources/Subs.php.

You still do not say if you install it with the packager manager or you installed it manually.

I installed it first with the packager manager.

But after that the dotted where not visible. After my manual editting it was visible.

Suki

so, is the mod working or do you still need assistant?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Rain Forest


Apllicmz

Good Work
When Update dont forget portuguese file




Shambles

Just a FYI...

In the package file english.xml,

Code (Find) Select
         <add><![CDATA[$txt['blink'] = 'Dotted Underline';]]></add>

Code (Amend To Read) Select
         <add><![CDATA[$txt['dot'] = 'Dotted Underline';]]></add>

margarett

Thanks.

The package was fixed. Not only that wrong string, but also an issue with hooks that prevent the MOD from working as expected (as indicated by Soft Drink above)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Advertisement: