1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XenFacil Spoiler Tag 4

Spoiler tag with effect that overwrite BBCode Manager Spoiler

  1. lms

    lms Well-Known Member

    Tize, ManuTdi and Fuhrmann like this.
  2. Claudio

    Claudio Well-Known Member

    please add an screenshot
     
    Tize likes this.
  3. lms

    lms Well-Known Member

    Tize likes this.
  4. Shinjiru

    Shinjiru Member

    This dont work for me, something with "Callback Method" Error Message. And i have uploaded all Files.
     
    Tize likes this.
  5. lms

    lms Well-Known Member

    Today I can not watch this. Tomorrow afternoon I will. Sorry.
    There are two folders /js/ and library. Review the files are uploaded to the right path.

    Put a screenshot of the error, please.

    Salud2
     
    Tize likes this.
  6. intradox

    intradox Well-Known Member

    Any possibility to get a button added so it's easier to use for the users who are new or just not good with bbcode?
     
    Tize likes this.
  7. lms

    lms Well-Known Member

    Unfortunately, no. Depends on the editor and manager does not put BBcode button images. At least I have not found another way to place buttons than manually.

    Salud2
     
    Tize likes this.
  8. zett

    zett Member

    It's a nice add on but the spoiler tag is in Spanish (or whatever)
    and I do not understand Spanish! There is no option to change it either :/
    If you post one spoiler, it creates 3.
    I noticed that with all your addons....
    Their all in Spanish! Please make them English!
     
    Tize likes this.
  9. Sheldon

    Sheldon Well-Known Member

    Instead of making demands, possibly you could ask? They were nice enough to release this addon (regardless of who uses it or not), the least you could do is be respectful and ASK.

    Maybe you should just translate it yourself (although I have a feeling it is user-error, all the addons I have installed from this dev were in English).

    Some people...
     
    Tize and Rob Fritz like this.
  10. zett

    zett Member

    Yeah... I have that 3 spoiler issue also with the Custom BB Code Manager.
    I really didn't wanna be disrespectful but in spanish - it's useless for me.

    Besides: I DID ASK. I asked if he can make his plugins in English - I asked him, not you.
     
    Tize likes this.
  11. Sheldon

    Sheldon Well-Known Member


    Simple... Uninstall add-on. Don't blast his work.
     
    Tize likes this.
  12. zett

    zett Member

    I didn't blast anyone's work.
    I appreciate his addons.

    edit: Solved the 3 spoiler problem, apparently that only happens if I put spoilers in posts that existed before I installed the addon.
    edit2: damn 3 spoiler problem again for all posts -.-
    edit3: now it seems to work xD
     
    Tize likes this.
  13. boban

    boban Well-Known Member

    Tize likes this.
  14. lms

    lms Well-Known Member

    The add has only one phrase. ACP -> Appareance -> Search in phrases ->
    Select your language​
    Content Title: put lms_toggle_spoilerM​
    search​
    Translate it: Show/Hide​
    Enjoy​

    Salud2
     
    Tize likes this.
  15. lms

    lms Well-Known Member

    Oops. I'll fix soon.
    To fix it, change for:
    background: @primaryLighter url('@imagePath/xenforo/gradients/form-button-white-25px.png') repeat-x top;

    Salud2
     
    Tize likes this.
  16. zett

    zett Member

    Thanks lms! :D
     
    Tize likes this.
  17. boban

    boban Well-Known Member

    No worries, thanks :)


    Just a few suggestions:

    Formatter.php

    $name = '<div>' . new XenForo_Phrase('toggle_spoilerO') . ($spoiler ? ': '.$spoiler : '') . '</div>';
    return '<blockquote>' . $name . $content . '</blockquote>';

    Replace with:

    PHP:
                $name = new XenForo_Phrase('toggle_spoilerO') . ($spoiler $spoiler '');
                return 
    $name $content;

    Template: lms_Spoiler

    Hardcoded style :(

    Also:


    <div class="lmsAttribution lmsType">
    <div style="float: left;">
    <a href="#" class="lmsSpoilerCambio"> <div class="lmsButton">{xen:phrase lms_toggle_spoilerM}</div></a>
    </div>
    <b>: </b><span style="font-size: 11px;"><xen:if is="{$spoiler}">{$spoiler}</xen:if></span>
    </div>


    a better option?


    Code:
    <div class="lmsAttribution lmsType">
                <div style="float: left;">
                    <a href="#" class="lmsSpoilerCambio"> <div class="lmsButton">{xen:phrase lms_toggle_spoilerM}</div></a>
                </div>
                <span style="font-size: 11px;">
                    <xen:if is="{$spoiler}"> &nbsp; : {$spoiler}
                        <xen:else/>&nbsp;
                    </xen:if>
     
            </span>
            </div>

    Thanks again :)
     
    Tize likes this.
  18. lms

    lms Well-Known Member

    Tize likes this.
  19. lms

    lms Well-Known Member

    Tize likes this.
  20. lms

    lms Well-Known Member

    Ah! Add-on is in english and supports translation (phrased). Switch between show/hide and maintains the label text.

    Salud2
     
    Tize likes this.

Share This Page