Spoiler Tag

Started by AzaToth, September 20, 2005, 11:37:42 PM

Previous topic - Next topic

青山 素子

For 2.0:

Global Style: Admin -> Configuration -> Features and Options -> General -> Spoiler Mode
Per-Theme: Admin -> Configuration -> Themes and Layout -> Theme Settings -> Theme Name -> Spoiler Mode
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Kat9119

I'm confused as to which version to download for 1.1.11...when I try to search on the site at all tonight I get "Unable to access the search daemon" so sorry if its been asked before, I can't currently search

青山 素子

0.7.2 should support 1.1.11 as indicated in the modification description.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Noiz

I'm trying to install this on my forum running 1.1.11 but both the 0.7.1 and 0.7.2 packages produce the error:

Quote
The package you tried to upload either is not a valid package or has become corrupted.

I can open the package just fine on my local PC and have tried using Firefox and Chrome to upload with the same results. I even tried repackaging as a zip file to no avail. Any ideas?

青山 素子

Have you been able to install other modifications without problem?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Noiz

Yeah, I've just now installed the latest Tapatalk plugin, and when I couldn't get yours working I installed an alternate spoiler mod. But I prefer the functionality of yours!

I was previously using a much older version of your mod, 0.38 I think but that recently vanished, which is why I've been trying to update it.

青山 素子

I'll try and do some tests as soon as I can to see if there is some reason it won't install correctly.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


kaitenkid

Is a cool spoiler.. 

in 2.0 rc3 was amazing..

now I need this again but for RC4 .... pleaaaaaseeee  :'( :'( :'( :'(

青山 素子

Crying won't give me the free time I need to check compatibility and update if needed. I'll be updating my modifications as soon as I am able.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


busterone

Quote from: kaitenkid on November 03, 2010, 12:27:20 PM
Is a cool spoiler.. 

in 2.0 rc3 was amazing..

now I need this again but for RC4 .... pleaaaaaseeee  :'( :'( :'( :'(
Use version emulation, it installed with no errors for me.

Neo_TE

Quote from: kaitenkid on November 03, 2010, 12:27:20 PM
Is a cool spoiler.. 

in 2.0 rc3 was amazing..

now I need this again but for RC4 .... pleaaaaaseeee  :'( :'( :'( :'(

To get rc4 support, open package-info.xml and replace it with the following code.

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">

<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
        <id>azatoth:spoiler</id>
        <name>Spoiler Tag</name>
        <version>0.7.2</version>
        <type>modification</type>
        <install for="1.1.*">
                <readme>README</readme>
                <modification>install.xml</modification>
                <modification>themes/core.xml</modification>
                <modification>themes/classic.xml</modification>
                <modification>languages/english.xml</modification>
                <modification>languages/portuguese.xml</modification>
                <modification>languages/german.xml</modification>
                <modification>languages/french.xml</modification>
                <modification>languages/spanish.xml</modification>
                <require-file name="files/spoiler.gif" destination="$boarddir/Themes/default/images/bbc" />
        </install>
    <install for="2.0 RC2, 2.0 RC3, 2.0 RC4">
        <readme>README</readme>
        <modification>install-20.xml</modification>
        <modification>languages-20/english.xml</modification>
        <modification>themes-20/curve.xml</modification>
        <modification>themes-20/core.xml</modification>
        <require-file name="files/spoiler.gif" destination="$themedir/images/bbc" />
        <require-file name="files/spoiler.gif" destination="$boarddir/Themes/core/images/bbc" />
    </install>
    <install>
        <readme type="inline">This package doesn't appear to support your SMF version.</readme>
    </install>
        <uninstall for="1.1.*">
                <modification reverse="true">install.xml</modification>
                <modification reverse="true">themes/core.xml</modification>
                <modification reverse="true">themes/classic.xml</modification>
                <modification reverse="true">languages/english.xml</modification>
                <modification reverse="true">languages/portuguese.xml</modification>
                <modification reverse="true">languages/german.xml</modification>
                <modification reverse="true">languages/french.xml</modification>
                <modification reverse="true">languages/spanish.xml</modification>
                <remove-file name="$boarddir/Themes/default/images/bbc/spoiler.gif" />
        </uninstall>
    <uninstall for="2.0 RC2, 2.0 RC3, 2.0 RC4">
        <modification reverse="true">install-20.xml</modification>
        <modification reverse="true">languages-20/english.xml</modification>
        <modification reverse="true">themes-20/curve.xml</modification>
        <modification reverse="true">themes-20/core.xml</modification>
        <remove-file name="$themedir/images/bbc/spoiler.gif" />
        <remove-file name="$boarddir/Themes/core/images/bbc/spoiler.gif" />
    </uninstall>
</package-info>

青山 素子

Quote from: Neo_TE on November 05, 2010, 07:46:46 AM
To get rc4 support, open package-info.xml and replace it with the following code.

Or, if the modification doesn't need actual changes, just use the version emulation option. Saves a bunch of repackaging and is easier to handle.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


nax

Thanks Motoko that worked for me. I will remove it and apply the RC4 version when it comes out.
I'm getting too old for this!

neverfox

Quote from: Noiz on October 21, 2010, 09:56:21 AM
I'm trying to install this on my forum running 1.1.11 but both the 0.7.1 and 0.7.2 packages produce the error:

Quote
The package you tried to upload either is not a valid package or has become corrupted.

I can open the package just fine on my local PC and have tried using Firefox and Chrome to upload with the same results. I even tried repackaging as a zip file to no avail. Any ideas?

Ditto for me. Any solutions yet?

keiner

we could need that support, too

Robin1989

does this work on rc5?


CodeMonkey76

Is there a way to get it so that the button itself says "Show Spoiler" and "Hide Spoiler", instead of the text next to it?  That would be a bit cleaner interface.

青山 素子

Sure, it's possible. Set the value of the button to the phrase.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


dembow

Quote from: poolhall on March 02, 2011, 07:45:35 AM
Quote from: Robin1989 on March 01, 2011, 10:04:07 PM
does this work on rc5?
yes

so how should i install it then? parse it for rc3 even though is rc5 and follow the same steps?

Advertisement: