Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Anguz on November 13, 2004, 06:56:09 PM

Title: Spoiler Tag
Post by: Anguz on November 13, 2004, 06:56:09 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=50)

Requires FasterParsecode to be installed first.
http://mods.simplemachines.org/index.php?mod=39

This mod adds a new bbcode tag that'll hide what you wrap with it. It works with text and images. Clicking on the spoiler link, reveals the block. You can optionally add a text to the link too, ie: [spoiler=My Title]Spoiler goes here[/spoiler].

This tag can also be used for content that not everyone may want to see, like a nasty picture, for example. I thought of naming it [hide], but since many already have a spoiler tag, I decided I'd leave it at that for backwards compatibility.

Copyright 2004 by Cristian Lavaque. http://anguz.net
Title: Re: Spoiler Tag
Post by: codenaught on November 13, 2004, 07:14:20 PM
Very nice! Just what I wanted. Great way of presenting it too!

Thank you.  :)
Title: Re: Spoiler Tag
Post by: Anguz on November 13, 2004, 07:18:00 PM
Quote from: akabugeyes on November 13, 2004, 07:14:20 PM
Very nice! Just what I wanted. Great way of presenting it too!

Thank you. :)

:)

Here's a couple of small screenshots: before/after clicking on the link.
Title: Re: Spoiler Tag
Post by: ANARCH¥ on November 14, 2004, 10:52:56 AM
this look a look tag addon, but in fact, its not the hide tag....
how i can insert hide tag for my forum ?
Title: Re: Spoiler Tag
Post by: Anguz on November 14, 2004, 04:23:55 PM
What does the hide tag you know do?
Title: Re: Spoiler Tag
Post by: ANARCH¥ on November 14, 2004, 04:53:24 PM
well...first my english is bad..ok ? lol
the hide tag is: i post a link but if you can see the text posted, you have to answer for see the link inside the post. hmm, dont know if its clear. sry for that.
spoiler is very cool indeed. but i thought it was the hide code tag.
Title: Re: Spoiler Tag
Post by: Gobalopper on November 15, 2004, 01:12:35 AM
This might be more what you are looking for. I did something similar for YaBB SE and your request sounds like that mod...

http://www.simplemachines.org/community/index.php?topic=19920
Title: Re: Spoiler Tag
Post by: ANARCH¥ on November 15, 2004, 08:11:31 PM
i want to use the spoiler code, but how can i create a button in the edit message for see it ?
Title: Re: Spoiler Tag
Post by: Mad on December 03, 2004, 07:16:30 PM
I think adding a button to the post form would be a great idea myself. Not all of my member will remember how to use it and I would like to encourage them to use it when revealing stuff about the game.
Title: Re: Spoiler Tag
Post by: Anguz on December 11, 2004, 08:30:27 AM
Quote from: Mad on December 03, 2004, 07:16:30 PM
I think adding a button to the post form would be a great idea myself. Not all of my member will remember how to use it and I would like to encourage them to use it when revealing stuff about the game.

True. I'll probably add buttons for my tags in future versions. Thanks for the suggestion. :)
Title: Re: Spoiler Tag
Post by: omgwtf on December 30, 2004, 01:45:16 PM
Does this work with 1.0?  :)
Title: Re: Spoiler Tag
Post by: Kindred on December 30, 2004, 01:54:54 PM
Since Faster=Parse code has not been updated for v1.0, I'd say not...

Anguz,  are you going to update The FasterParse Code, Table form CSV and any of the tag mods for v1.0?
Title: Re: Spoiler Tag
Post by: Anguz on December 30, 2004, 06:02:38 PM
Quote from: omgwtf on December 30, 2004, 01:45:16 PM
Does this work with 1.0? :)

Not tested, so I haven't released it for 1.0 yet.

Quote from: kindred on December 30, 2004, 01:54:54 PM
Anguz, are you going to update The FasterParse Code, Table form CSV and any of the tag mods for v1.0?

Of course, those and more. :)
Title: Re: Spoiler Tag
Post by: GeeKay on January 07, 2005, 03:32:29 PM
Quote from: Anguz on December 30, 2004, 06:02:38 PMOf course, those and more. :)
... hope you find some spare time for that soon, can't wait for it  ;)
Title: Re: Spoiler Tag
Post by: syn on January 08, 2005, 07:23:55 PM
very good mod, but "we" have waiting for a  button for us users (sorry for my english), directly tags is ok for me and my moderators, but for my members... an icon wil be the best
Title: Re: Spoiler Tag
Post by: Anguz on January 08, 2005, 07:59:07 PM
I will add buttons for my tag mods.
Title: Re: Spoiler Tag
Post by: Nyx on January 20, 2005, 08:02:38 AM
doesnt works on smf 1.0.1
Title: Re: Spoiler Tag
Post by: Kindred on January 20, 2005, 08:44:47 AM
Nyx...

it requires the "faster parse code" mod to be installed first.
Since Anguz has not yet updated the faster parse code mod... this one will not install correctly yet, either.
Title: Re: Spoiler Tag
Post by: Nyx on January 20, 2005, 09:50:12 AM
oh, thanx

*EDIT*

Install Actions for archive FasterParsecode104.tar.gz:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

same spoiler tag  :(
Title: Re: Spoiler Tag
Post by: Mad on January 20, 2005, 12:10:47 PM
Like Kindred said, it hasn't been updated for this version of SMF yet ;)
Title: Re: Spoiler Tag
Post by: trenchteam on January 21, 2005, 12:42:44 AM
fasterparse code needs to be updated, to use all of these wonderful mods!  Im sure he is working on it! I want it too!~
Title: Re: Spoiler Tag
Post by: Anguz on January 29, 2005, 07:56:44 AM
1.01

Title: Re: Spoiler Tag
Post by: ping on February 06, 2005, 11:29:14 AM
This is a great mod! I've been needing it for a long time. Thanks! I'll be anxious to see the image added to the other BB options. My users are also not quite all there sometimes. :D
Title: Re: Spoiler Tag
Post by: Anguz on February 22, 2005, 09:14:21 PM
1.02

Title: Re: Spoiler Tag
Post by: FaSan on February 28, 2005, 07:17:55 PM
Hi Anguz,
little problem with CSS.

The line : "background-position:    right 50%;" is not correct. It's not validate with W3C and have some problem with opera and mozilla.

See that :

http://www.quirksmode.org/css/backgroundposition.html


Thanks, FaSan
Title: Re: Spoiler Tag
Post by: Anguz on February 28, 2005, 07:39:14 PM
Hi FaSan, I don't use that style in this mod. :P
Title: Re: Spoiler Tag
Post by: FaSan on March 01, 2005, 09:41:36 AM
Opsssss  8) 8) 8)


I've the old version of CSS file.... excuse me, but i don't see that.  :P


FaSan
Title: Re: Spoiler Tag
Post by: Anguz on March 01, 2005, 04:23:15 PM
No problem. :)
Title: Re: Spoiler Tag
Post by: static421 on March 08, 2005, 02:27:01 PM
Just installed the spoiler tag mod.  Now my board won't even work.  I might have messed something up in the process of installing it, but now all I get is:

Parse error: parse error, unexpected T_IF, expecting ')' in /home/kack/public_html/smf/Sources/Subs.php on line 847

Since I can't get back into my AdminCP, I can't unistall the mod.  Is there any way to fix this or uninstall the mod without going into the AdminCP?
Title: Re: Spoiler Tag
Post by: Anguz on March 08, 2005, 03:04:40 PM
You can go to the Sources dir with an FTP client and if you had the option to create a backup file when installing mods, the Subs.php file will have a copy ending in a tilda (~), that's the file before installation, remove the other Subs.php and rename the tilda one without it.
Title: Re: Spoiler Tag
Post by: Anguz on March 08, 2005, 03:38:50 PM
Quote from: static421 on March 08, 2005, 02:27:01 PM
Parse error: parse error, unexpected T_IF, expecting ')' in /home/kack/public_html/smf/Sources/Subs.php on line 847

Are you sure it was this mod and not another one? cause the line number, if your Subs.php is like mine, is previous to the function that the mod touches.
Title: Re: Spoiler Tag
Post by: sneeks on March 10, 2005, 04:32:48 AM
Yeah i received the same error message on my forum after installing this mod.
Title: Re: Spoiler Tag
Post by: Anguz on March 10, 2005, 07:49:24 AM
Quote from: sneeks on March 10, 2005, 04:32:48 AM
Yeah i received the same error message on my forum after installing this mod.

I just installed FasterParsecode and SpoilerTag mods and it was without a problem. What versions of those mods were you using? Also, did you have other mods installed before these and which were they?
Title: Re: Spoiler Tag
Post by: Miraenda on March 10, 2005, 08:08:46 AM
Note that if you install Custom BB Code mod and then this mod, this mod will not work at all.  I had to uninstall Custom BB Code mod to get this one to work.  I guess it makes sense that the 2 mods will not play nice together considering the spoiler tag is creating a custom code, which custom bb code is trying to override...
Title: Re: Spoiler Tag
Post by: Anguz on March 10, 2005, 05:08:58 PM
Miraenda, thanks for the feedback. Was it one of your custom tags that had the conflict with the spoiler one or simply having the mod caused the problem? Did you try installing them first Spoiler and then Custom? Let me know how it goes. :)
Title: Re: Spoiler Tag
Post by: Miraenda on March 10, 2005, 08:32:54 PM
Hi Anguz, I installed custom tag first, then spoiler tag immediately afterward.  At that point, I was then unable to use the spoiler tag (no custom tags created at all).  Since I wasn't yet fully certain how to use the custom tags, I chose to remove it to see if the spoiler tag would work, and then it did.  I did wonder if installing the custom tag after the spoiler would have let it work, but didn't try reinstalling it yet to see what would happen.
Title: Re: Spoiler Tag
Post by: VCRulez on March 31, 2005, 08:28:45 PM
Hi,
is this mod (+faster parse) compatible with 1.0.3?
Title: Re: Spoiler Tag
Post by: Anguz on March 31, 2005, 10:43:31 PM
I still haven't tested it, so I won't say yes, but you can try. I haven't updated the package yet for SMF 1.0.3.
Title: Re: Spoiler Tag
Post by: VCRulez on April 01, 2005, 08:36:58 AM
Just tested it. It works with 1.0.3! :)
Title: Re: Spoiler Tag
Post by: 3fifty on April 19, 2005, 08:08:20 PM
Im using 1.0.3

I try to install the package and it tells me

Package Manager - Install Actions
Install Actions for archive SpoilerTag102.tar.gz:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.


I have these mods installed.  I tried to install the ModTextArea and CustomBBcode and got the same errors.

1.  Visual Warning / Post Moderation  1.21    [ Uninstall ]  [ List Files ]  [ Delete ]
2. Message Icon Manager (Quick Reply) 1.2 [ Uninstall ] [ List Files ] [ Delete ]
3. OnLine Users Today 1.3 [ Uninstall ] [ List Files ] [ Delete ]
4. Unreplied Topics 1.02 [ List Files ] [ Delete ]
5. Excess Blank Lines 1.02 [ List Files ] [ Delete ]
6. Buddy List 1.21 [ Uninstall ] [ List Files ] [ Delete ]
7. Hide Tag 1.0 [ Uninstall ] [ List Files ] [ Delete ]
8. Donations_Mod 1.1 [ Uninstall ] [ List Files ] [ Delete ]
9. G&S_Sticky 1.1 [ Uninstall ] [ List Files ] [ Delete ]
10. Topic Ratings 1.02 [ Uninstall ] [ List Files ] [ Delete ]
11. Faster Parsecode 1.07 [ List Files ] [ Delete ]
12. Member Color Link 1.10 [ Uninstall ] [ List Files ] [ Delete ]
13. Inactive Members Groups Mover 0.5 [ Uninstall ] [ List Files ] [ Delete ]
14. Streaming 3 3.0 [ Uninstall ] [ List Files ] [ Delete ]
15. Location Mod 1.1.1 [ Uninstall ] [ List Files ] [ Delete ]

Thank you
Title: Re: Spoiler Tag
Post by: Anguz on April 19, 2005, 08:17:45 PM
I apologize for the lack of update to my mods, they're specified for SMF 1.0.2 still. I'll do a few for 1.0.3 now and later probably the rest. BTW, 3fifty, Streaming 3 may give you an error when trying to install FasterParsecode, since they both modify the same function, so you will need to do some manual editing most probably. VCRulez, thx for letting me know.
Title: Re: Spoiler Tag
Post by: 3fifty on April 19, 2005, 08:40:09 PM
Quote from: Anguz on April 19, 2005, 08:17:45 PM
BTW, 3fifty, Streaming 3 may give you an error when trying to install FasterParsecode, since they both modify the same function, so you will need to do some manual editing most probably. VCRulez, thx for letting me know.

Sorry didnt mean to rush you, Im in no hurry.  I just though maybe I was doing something wrong. :) Thanks for the tip on that!
Title: Re: Spoiler Tag
Post by: Anguz on April 19, 2005, 11:49:59 PM
1.03

Title: Re: Spoiler Tag
Post by: 3fifty on April 19, 2005, 11:55:54 PM
I installed.  Said it installed with success now I get this when I goto my forums



Parse error: parse error, unexpected T_IF, expecting ')' in /home/content/n/c/t/nctuners/html/forum/Sources/Subs.php on line 891



I removed this and the forums came back up.

// Spoiler tag.
if(isset($add['[spoiler]'])){
static $id_spoiler = 0;
$arr1[] = '~\[spoiler\](.+?)\[/spoiler\](?:<br />)?~ie';
$arr2[] = '\'<span class="spoilerheader"><a href="javascript:spoiler(\\\'spoiler\' . $id_spoiler . \'\\\');">\' . $txt[\'spoilerheader\'] . \'</a></span><div id="spoiler\' . $id_spoiler++ . \'" class="spoiler" style="display: none;">$1</div>\'';
}
if(isset($add['[spoiler='])){
static $id_spoiler = 0;
$arr1[] = '~\[spoiler=(.+?)\](.+?)\[/spoiler\](?:<br />)?~ie';
$arr2[] = '\'<span class="spoilerheader"><a href="javascript:spoiler(\\\'spoiler\' . $id_spoiler . \'\\\');">\' . $txt[\'spoilerheader\'] . \': $1</a></span><div id="spoiler\' . $id_spoiler++ . \'" class="spoiler" style="display: none;">$2</div>\'';
}


Title: Re: Spoiler Tag
Post by: Anguz on April 20, 2005, 03:13:22 AM
Did you install FasterParsecode first?
Title: Re: Spoiler Tag
Post by: thunderbolt on April 21, 2005, 07:02:51 AM
Parse error: parse error, unexpected T_IF, expecting ')' in yadda, yadda/Sources/Subs.php on line 891

I get the same error because I was in such a hurry and DIDN'T install the faster Parse code first.  How do I manually reverve this installation so I can get into the board and install the faster parser code.

me = dumb-as*

Title: Re: Spoiler Tag
Post by: thunderbolt on April 21, 2005, 07:18:00 AM
I got it.  Thanks..  I deleted the Subs.php file and renamed the Subs.php~ to Subs.php.
Title: Re: Spoiler Tag
Post by: Anguz on April 21, 2005, 07:53:26 AM
Glad you were able to fix it. :)
Title: Re: Spoiler Tag
Post by: azuregenesis on April 26, 2005, 10:50:25 AM
how do you get it to work with other themes?
Title: Re: Spoiler Tag
Post by: Anguz on April 26, 2005, 02:26:16 PM
Look at the .mod file in the package and look for the modification done to index.template.php, iirc, and do that to your other theme too. Also copy the JavaScript file to your theme's dir as well.
Title: Re: Spoiler Tag
Post by: azuregenesis on April 27, 2005, 05:03:56 AM
so, just the index.template and copy the js file?

easy now (hopefully) thanks :)
Title: Re: Spoiler Tag
Post by: dadann on April 28, 2005, 05:38:32 AM
Quote from: Anguz on April 26, 2005, 02:26:16 PM
Look at the .mod file in the package and look for the modification done to index.template.php, iirc, and do that to your other theme too. Also copy the JavaScript file to your theme's dir as well.
Sorry, but your mod doesn't modify index.template.php, does it ? ;)

Great mod, BTW
Title: Re: Spoiler Tag
Post by: Anguz on April 28, 2005, 08:09:19 AM
Ah, you're right. Well, if your theme doesn't have a script.js file, it'll use the default one I think. And then you'd need to add the styles to your styles.css file. Sorry about the mistake and glad you like the mod.
Title: Re: Spoiler Tag
Post by: azuregenesis on April 29, 2005, 09:51:39 AM
checked the mod and it seems it does nothing to the index.template file

it does changes to style.css, script.js, modifications.english, and subs.php
Title: Re: Spoiler Tag
Post by: Kilocron on May 07, 2005, 02:46:01 AM
You'll have to forgive me sinc eI'm not THAT good at this stuff.

I installed it on my forum and it works great and installed fine. There is a problem. It seems that all my users that are running off of Firefox can't get it to work. Whereas if you are running on Internet Explorer, there is no problems... any idea what might be causing this? Some kind of setting in Firefox maybe?


One of my users said he got this error...
<bravejaf> Error: spoiler is not definedSource File: javascript:spoiler('spoiler0');Line: 1

Title: Re: Spoiler Tag
Post by: Anguz on May 07, 2005, 03:40:20 AM
Hmm... I hadn't seen that error before, it always worked fine in FF for me. So I went and tried it in a 1.0.3 install again and it actually gave me that error. After some search, I went to the FF Tools/Options.../Web Features. There's a pref to "Enable JavaScript" there with an Advanced button. I had all exept the last option there disabled, so I enabled them to see if it had something to do with the error, and after saving the settings and refreshing the page, the spoiler worked. Then I went back to the JS options and set them as they were before, saved and refreshed and spoiler still works. I don't know what the problem could be, but you can try telling your users having that problem, to try that.
Title: Re: Spoiler Tag
Post by: Kilocron on May 07, 2005, 04:16:50 AM
Thanks for your help. I'll let the guys know what you said and see if that takes care of it. I'm still in the stoneage of IE. ^ ^;  If they continue having problems, I'll let you know. Otherwise, great mod. Something my forum needed badly.
Title: Re: Spoiler Tag
Post by: Anguz on May 07, 2005, 02:38:08 PM
:)
Title: Re: Spoiler Tag
Post by: Emilie on May 24, 2005, 08:24:36 AM
I have just installed th emod so I could get "Spoiler Tags" for my forum, but here's the problem.

How can I get a button above the textfield,, so the members can just click there to get the code. Because I don't think people will remember the code, and I don't think all members even will realize that there's is such a function.
So I would like a button that creates the code, just like codes and such :)

And when I use the spoilertag - [*spoiler=LinkText]My Spoilerinfo[/spoiler]
the link is shown up as ": LinkText". Is there anyway I can replace the ":" with "Spoiler: "

I hope I made any sense, I'm swedish so my english isn't much to brag about.
Title: Re: Spoiler Tag
Post by: Anguz on May 24, 2005, 06:12:23 PM
You're right. I just haven't bothered adding the buttons for any of my bbcode tag mods so far. In Post.template.php you look for the function template_postbox and it'll be pretty plain to see where you add the button. Don't forget to have an image ready for it. ;)
Title: Re: Spoiler Tag
Post by: Emilie on May 26, 2005, 09:41:24 AM
Quote from: Anguz on May 24, 2005, 06:12:23 PM
You're right. I just haven't bothered adding the buttons for any of my bbcode tag mods so far. In Post.template.php you look for the function template_postbox and it'll be pretty plain to see where you add the button. Don't forget to have an image ready for it. ;)

Oh, thank you :)

And do you know how I can replace the ": my text" with "Spoiler: my text" after the code has been used?
Title: Re: Spoiler Tag
Post by: Anguz on May 26, 2005, 08:48:13 PM
If you're using a language other than english, you'll need to copy the language strings that the mod adds to your language's Modifications.language.php file as well.
Title: Re: Spoiler Tag
Post by: DBUFile on May 26, 2005, 11:53:12 PM
I just installed this mod, and I have the current version of Faster Parse Code installed.

I am using SMF 1.0.3.

When I make the tag [spoiler=Test]this is a test[/spoiler]

The poast looks like Spoiler: Test but when I click the link, nothing is happening. Looking at my java errors it says:

Error: spoiler is not defined
Source File: javascript:spoiler('spoiler0');
Line: 1
Title: Re: Spoiler Tag
Post by: Anguz on May 27, 2005, 01:32:20 AM
That problem came up a while ago, did you read the posts in this topic regarding it? I'm afraid I'm not a JavaScript genius, so if someone else has an idea why this could be happening--other than the reason I found that other time it came up--the help would be really welcome.
Title: Re: Spoiler Tag
Post by: DBUFile on May 27, 2005, 01:54:00 AM
I tried what you said to try and I came up with the same error.
Title: Re: Spoiler Tag
Post by: azuregenesis on June 27, 2005, 07:42:56 AM
doesn't work in 1.0.5 yet...

:) i await patiently.
Title: Re: Spoiler Tag
Post by: azuregenesis on July 01, 2005, 11:15:36 AM
yeah! spoiler tag for 1.0.5 is up!

still requires fasterparsecode, but that's done already for 1.0.5! here's the link:

http://www.simplemachines.org/community/index.php?topic=18659.msg294991#msg294991

go thank sheepy!


and here is spoiler tag for 1.0.5: (in my own webspace)

http://azuregenesis.com/share_files/SpoilerTag103_SMF105.zip

just use package manager to install :)

enjoy!
Title: Re: Spoiler Tag
Post by: Anguz on July 02, 2005, 06:03:40 AM
Updated Faster Parsecode, please go read about it.
http://www.simplemachines.org/community/index.php?topic=18659.msg295887#msg295887
Title: Re: Spoiler Tag
Post by: azuregenesis on July 03, 2005, 06:08:19 AM
^^ ah. :) i see. thank you for updating your mod anguz! :)

i shall remove the updated spoiler tags from myserver as well. my apologies to you. *bows*

take care and good luck! :)
Title: Re: Spoiler Tag
Post by: Anguz on July 03, 2005, 06:26:47 AM
NP. Thanks Azuregenesis. I'll post the updated Spoiler Tag in a moment if nothing stops me first.
Title: Re: Spoiler Tag
Post by: Anguz on July 03, 2005, 06:52:15 AM
1.04

Title: Re: Spoiler Tag
Post by: Superschaapje on July 07, 2005, 09:01:31 AM
oke it might be a dump question but i red al the post on this tread and i have got this question:


i use smf 1.05 and would like to use the spoiler tag but when i try to run the install of the fasterparasec code i get this "error" afther pressing apply mod - if i press proceed i do get a installed with succes but it doesn't work






and i get the same error if i try to install the spoilertag with or without parasec installed


does anybody know what to do, or what i am doing wrong



Title: Re: Spoiler Tag
Post by: Anguz on July 07, 2005, 11:42:15 AM
Spoiler Tag won't install cause Faster Parsecode wasn't installed before. I don't know why people insist on doing it, but if you get an error when previewing the install, and you don't know well why that is and the consequences it'll have, then don't proceed! :)

The reason why Faster Parsecode is not installing is most probably because you previously installed a mod that modified the function parsecode() in Subs.php so now my mod can't find the exact code to replace. What mods do you have installed?
Title: Re: Spoiler Tag
Post by: Minsc on July 08, 2005, 09:13:15 PM
Quote from: Anguz on May 07, 2005, 03:40:20 AM
Hmm... I hadn't seen that error before, it always worked fine in FF for me. So I went and tried it in a 1.0.3 install again and it actually gave me that error. After some search, I went to the FF Tools/Options.../Web Features. There's a pref to "Enable JavaScript" there with an Advanced button. I had all exept the last option there disabled, so I enabled them to see if it had something to do with the error, and after saving the settings and refreshing the page, the spoiler worked. Then I went back to the JS options and set them as they were before, saved and refreshed and spoiler still works. I don't know what the problem could be, but you can try telling your users having that problem, to try that.
Did what you said and it fixed that problem. :)
Title: Re: Spoiler Tag
Post by: Anguz on July 09, 2005, 12:09:28 AM
Quote from: Minsc on July 08, 2005, 09:13:15 PM
Did what you said and it fixed that problem. :)

Great. :)
Title: Re: Spoiler Tag
Post by: Superschaapje on July 13, 2005, 03:53:33 AM
Quote from: Anguz on July 07, 2005, 11:42:15 AM
Spoiler Tag won't install cause Faster Parsecode wasn't installed before. I don't know why people insist on doing it, but if you get an error when previewing the install, and you don't know well why that is and the consequences it'll have, then don't proceed! :)

The reason why Faster Parsecode is not installing is most probably because you previously installed a mod that modified the function parsecode() in Subs.php so now my mod can't find the exact code to replace. What mods do you have installed?

I can't remeber installing a mod that modified subs.php

These mods i have got installed:

Enhanced Quick Reply
Download Center
SMF 1.0.5 Update Package      1.0.5      
OnLine Users Today    1.2    
SMF 1.0.4 Update Package    1.0.4    
SMF 1.0.3 Update Package
Title: Re: Spoiler Tag
Post by: Anguz on July 14, 2005, 11:08:31 PM
I don't know then. Could you compare the files Subs.php from 1.0.5 with the one you have in your server and see if you find any difference in the parsecode function?

Is anyone else having trouble installing this mod? Just checking.
Title: Re: Spoiler Tag
Post by: ArkServer on July 27, 2005, 03:54:30 PM
i have trouble with the style..
hope you can help me this is my css:


/* Normal,standard links. */
a:hover{color:#C16100;text-decoration:underline}
/* Navigation links - for the link tree. */
.nav,.nav:link,.nav:visited{color:#000000;text-decoration:none}
a.nav:hover{font-weight:bold;color:#cc3333;text-decoration:underline}
/* Tables should show empty cells. */
table{empty-cells:show}
/* By default (td,body..) use Tahoma in black. */
body,td{color:#000000;font-size:small;font-family:Verdana,arial,helvetica,serif}
/* The main body of the entire forum. */
body{background-color:#838383;margin:0px;padding:0px;background-image:url(images/bg.gif)}
/* Input boxes - just a bit smaller than normal so they align well. */
input,textarea,button{font-size:9pt;color:#000000;font-family:Verdana,arial,helvetica,serif}
/* All input elements that are checkboxes or radio buttons. */
input.check{}
/* Selects are a bit smaller,because it makes them look even better 8). */
select{font-size:8pt;font-weight:normal;color:#000000;font-family:Verdana,arial,helvetica,serif}
/* Standard horizontal rule.. ([hr],etc.) */
hr,.hrcolor{height:1px;border:0;color:#666666;background-color:#9B0000}
/* A quote, perhaps from another post. */
.quote, .spoiler
{
     width: 95%;
     background-color: #dcd8eb;
     border-left: #808080 0px solid;
     border-right: #808080 0px solid;
     border-bottom: #808080 1px solid;
     padding: 4px;
     margin: 0px auto 8px;
     color: #000000;
     font-weight: bold;
}

/* Nested quotes alternating color. */
.quote .quote, .quote .quote .quote .quote, .quote .quote .quote .quote .quote .quote, .spoiler
{
     background-color: #EBEBEB;
}
.quote .quote .quote, .quote .quote .quote .quote .quote, .spoiler
{
     background-color: #dcd8eb;
}


/* The "Quote:" header parts... */
.quoteheader
{
     width: 95%;
     border-left: 0;
     border-right: 0;
     border-top: #808080 1px solid;
     padding: 3px;
     font-style: italic;
     font-weight: bold;
     font-size: x-small;
     font-color: #4D4D4D;
     margin: 8px auto 0px;
     background-position: center right;
     background-image: url(images/quote1.gif);
     background-repeat: no-repeat;
     background-color: #C5BEE3;
}

/* Nested quoteheaders alternating color. */
.quote .quoteheader, .quote .quote .quote .quoteheader, .quote .quote .quote .quote .quote .quoteheader
{
     background-color: #B9B9BA;
     background-position: center right;
     background-image: url(images/quote2.gif);
     background-repeat: no-repeat;
}
.quote .quote .quoteheader, .quote .quote .quote .quote .quoteheader
{
     background-color: #C5BEE3;
}
/* A code block - maybe even PHP;). */
.code{color:#000000;background-color:#cccccc;border:1px solid #000000;padding:1px;font-family:"courier new",helvetica,"times new roman",serif;font-size:x-small;width:99%;margin:1px auto 1px auto;white-space:nowrap;overflow:auto}
/* The "Quote:" and "Code:" header parts... */
.quoteheader,.codeheader{color:#000000;text-decoration:none;font-style:normal;font-weight:bold;font-size:x-small}
/* Generally,those [?] icons.  This makes your cursor a help icon. */
.help{cursor:help}
/* /me uses this a lot. (emote,try typing /me in a post.) */
.meaction{color:red}
/* The main post box - this makes it as wide as possible. */
.editor{width:96%}
/* Highlighted text - such as search results;). */
.highlight{background-color:yellow;font-weight:bold;color:black}
/* Alternating backgrounds for posts,and several other sections of the forum. */
.windowbg{color:#000000;background-color:#E1E1E1}
.windowbg2{color:#000000;background-color:#F0F0F0}
/* All the signatures used in the forum.  If your forum users use Mozilla,Opera,or Safari,you might add max-height here;). */
.signature{}
/* These are used primarily for titles,but also for headers (the row that says what everything in the table is.) */
.titlebg,tr.titlebg td,.titlebg a:link,.titlebg a:visited{color:white;font-style:normal;background-color:#898989}
.titlebg a:hover{color:#dfdfdf}
/* This is used for categories,page indexes,and several other areas in the forum. */
.catbg{background-image:url(images/catbg.jpg)}
/* This is used for a category that has new posts in it... to make it light up. */
.catbg2{background-image:url(images/catbg2.jpg)}
.catbg,.catbg2{font-weight:bold;background-color:silver;color:#000000}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor{background-color:#828181}
/* This is used on tables that should just have a border around them. */
.tborder{border:1px solid #828181;background-color:#FFFFFF;padding:2px}
/* Default font sizes:small (8pt),normal (10pt),and large (14pt). */
.smalltext{font-size:x-small;font-family:Tahoma,arial,helvetica,serif}
.normaltext{font-size:small}
.largetext{font-size:large}
/* This is the main area of the forum,the part that's gray. */
/* And this is the bottom,where the copyright is,etc. */
#footerarea{color:black;background-color:white}
/* This is for the special header boxes on the top (user info,key stats,news box.) */
.headertitles{border:0px solid #00CC00}
.headerbodies{border:1px solid #7A7777;background-color:#EFEFEF}
.navigation{background-color:#C60000;padding-top:3px;padding-left:8px;border-bottom:1px solid Black;background-repeat:repeat-x;background-position:top;background-image:url(images/topbar_bg.gif)}
.logo{background-color:#9B0000;padding-top:3px;padding-left:8px;border-bottom:1px solid #131313}
.welcome{color:#D2D2D2;font-size:11px;text-align:right;text-transform:uppercase;padding-right:8px}
a:link,a:visited{color:#B90000;text-decoration:none}
#bodyarea,.okvir{background-color:White}
.border{background-color:#898989;border-bottom:1px solid #3F3F3F;padding:2px;padding-left:10px;color:White;font-size:11px}
.search{background-color:#A5A5A5;border:1px inset #898989;color:White}
.foot{background-color:#860000;border-bottom:1px solid #0F0F0F;color:White;font-size:10px;padding-left:2px;padding-left:10px;padding-right:10px}
#adv,.foot a,.foot a:visited{color:White}


Edit: Put code inside code tags, it's better than using the quote ones. ;) -Anguz
Title: Re: Spoiler Tag
Post by: Anguz on July 27, 2005, 04:32:21 PM
If you mean the nesting alternating colors, then the problem would be that you're not writting the nested spoiler selectors as you did with the quotes.
Title: Re: Spoiler Tag
Post by: ArkServer on July 28, 2005, 06:34:01 AM
Quote from: Anguz on July 27, 2005, 04:32:21 PM
If you mean the nesting alternating colors, then the problem would be that you're not writting the nested spoiler selectors as you did with the quotes.

uhm, i have trouble adding spoiler tag in the stylesheet.
Title: Re: Spoiler Tag
Post by: Miraenda on July 28, 2005, 08:25:45 AM
Will there be a version for 1.1 Beta 3 for both this mod and fast parsercode one? I had spoiler tag on my site when it was 1.0.5 and then when I upgraded to 1.1 Beta 3, now it isn't working (as would be expected).  A few other mods have been updated even though the 1.1 series is beta as well as most the themes, so just wondered about this mod being updated too for it.
Title: Re: Spoiler Tag
Post by: Anguz on July 28, 2005, 12:47:22 PM
I honestly don't think I'll be updating any of my mods to 1.1 until it reaches Final. The parsecode function was re-written and so will my tags need to be to work with it, so I want the code to be as final as possible to avoid unnecessary re-writes. :-\
Title: Re: Spoiler Tag
Post by: trenchteam on August 04, 2005, 03:41:43 AM
Does, this only work on InTERnet Explorer?  I see the spoiler in IE but not in Firefox. Please advise..
Title: Re: Spoiler Tag
Post by: Anguz on August 04, 2005, 05:11:47 AM
It works fine for me in Firefox.
Title: Re: Spoiler Tag
Post by: ArkServer on August 04, 2005, 07:37:46 AM
I know it may sound unfriendly but can ANYONE help me add the spoiler code in my css file?
i tried to fix it but failed several times.  :( its only the css style that i cant fix.
Title: Re: Spoiler Tag
Post by: Anguz on August 04, 2005, 03:26:04 PM
You could be a bit more clear about how you want it to look and what is the problem you're having with it?
Title: Re: Spoiler Tag
Post by: ArkServer on August 04, 2005, 04:26:18 PM
i cant find the lines i need to edit with the css file.
Title: Re: Spoiler Tag
Post by: Anguz on August 04, 2005, 08:25:37 PM
IIRC, I used the same styles as the quote classes, but you can create your own styles using the spoiler classes.
Title: Re: Spoiler Tag
Post by: azuregenesis on August 26, 2005, 08:03:37 AM
hey anguz, if you have a minute or so, could you help me fix this one? ;)

i keep getting a lot of the same kind of error. it's this one. i have around 300 pages of it :(

8: Undefined index: spoilerheader
File: Sources/Subs.php(1241) : regexp code
Line: 1

do you know what could be causing it and/or a fix?

thanks in advance! ;)
Title: Re: Spoiler Tag
Post by: Anguz on August 26, 2005, 02:19:34 PM
I've looked into this before, IIRC, but haven't figured it out yet, I'm sorry to say. I'll give it another go, maybe now I'll find it. :)
Title: Re: Spoiler Tag
Post by: Anguz on August 26, 2005, 03:08:54 PM
I think I found it. You seem to be missing the language line in your custom theme or extra language. Try this: add the following to your Modifications.language.php file


// Spoiler Tag.
$txt['spoilerheader'] = 'Spoiler';
Title: Re: Spoiler Tag
Post by: azuregenesis on August 26, 2005, 05:57:48 PM
Quote from: Anguz on August 26, 2005, 03:08:54 PM
I think I found it. You seem to be missing the language line in your custom theme or extra language. Try this: add the following to your Modifications.language.php file


// Spoiler Tag.
$txt['spoilerheader'] = 'Spoiler';


ah. perfect! that's it! one of my themes had it's own modifications.language.php. :)

thank you! :)
Title: Re: Spoiler Tag
Post by: Anguz on August 26, 2005, 10:01:41 PM
:)
Title: Re: Spoiler Tag
Post by: Yonkey on September 20, 2005, 11:02:26 AM
Hi Anguz and everyone! :D

I'm trying to make a Spoiler Tag mod for 1.1 Beta 3, but I'm stumped on increasing the spoiler ID for each <div>.  Do you know how I can get it to do that in 1.1? ???

Here is my code so far: http://www.simplemachines.org/community/index.php?topic=49556.0

It's kinda messy cuz originally I wasn't planning on making it public.  It also says fade because eventually I want to have the spoilers fade in, rather than just appear/disappear.  8)

Thanks  :)
Title: Re: Spoiler Tag
Post by: Anguz on September 20, 2005, 01:02:09 PM
QuoteI'm stumped on increasing the spoiler ID for each <div>

IIRC, I used something like $i++.
Title: Re: Spoiler Tag
Post by: AzaToth on September 20, 2005, 01:15:36 PM
Quote from: Yonkey on September 20, 2005, 11:02:26 AM
Hi Anguz and everyone! :D

I'm trying to make a Spoiler Tag mod for 1.1 Beta 3, but I'm stumped on increasing the spoiler ID for each <div>.  Do you know how I can get it to do that in 1.1? ???

Here is my code so far: http://www.simplemachines.org/community/index.php?topic=49556.0

It's kinda messy cuz originally I wasn't planning on making it public.  It also says fade because eventually I want to have the spoilers fade in, rather than just appear/disappear.  8)

Thanks  :)
Hehe, somehow I have alredy made a spoiler tag for 1.1b3  :-[ it's at http://mods.simplemachines.org/index.php?mod=195
Title: Re: Spoiler Tag
Post by: Yonkey on September 20, 2005, 01:17:34 PM
Quote from: Anguz on September 20, 2005, 01:02:09 PM
IIRC, I used something like $i++.
Yeah, but 1.1 does its tags kind of weird. :P  They're defined in an array called $codes[], so even though I have a $fseed++; in the before => it seems to never increase the variable, and always keeps it at 0.  :(

Quote from: azatoth on September 20, 2005, 01:15:36 PM
Hehe, somehow I have alredy made a spoiler tag for 1.1b3  :-[ it's at http://mods.simplemachines.org/index.php?mod=195
Cool azatoth! ;D  Does it work with images too, or only text?  ???

EDIT: Azatoth, the download link for it doesn't work. :-\
Title: Re: Spoiler Tag
Post by: AzaToth on September 20, 2005, 01:21:34 PM
Quote from: Yonkey on September 20, 2005, 01:17:34 PM
Cool azatoth! ;D  Does it work with images too, or only text?  ???
It's a basic block, so why not? the mod is as follow (if you not want to download the mod  :-X):
<?xml version="1.1"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>azatoth:spoiler</id>


    <file name="$sourcedir/Subs.php">
        <operation>
            <search position="before"><![CDATA[
function parse_bbc($message, $smileys = true, $cache_id = '')
{
global $txt, $scripturl, $context, $modSettings;
static $bbc_codes = array(), $itemcodes = array(), $disabled;
]]></search>
            <add><![CDATA[
global $settings;
]]></add>
        </operation>
        <operation>
            <search position="before"><![CDATA[
array(
'tag' => 'white',
'before' => '<span style="color: white;">',
'after' => '</span>',
),
]]></search>
            <add><![CDATA[
            array(
                'tag'               => 'spoiler',
                'before'            =>  (
                    $settings['spoiler_tag'] == 2 ? '<div class="spoiler"><div class="spoilerheader"><input type="button" class="spoilerbutton" value="Spoiler" onClick="n = this.parentNode.parentNode.lastChild; if(n.style.display == \'none\') { n.style.display = \'block\'; } else { n.style.display = \'none\';} return false;" /> (click to show/hide)</div><div class="spoilerbody" style="display: none">' :  (
                        $settings['spoiler_tag'] == 1 ? '<div class="spoiler"><div class="spoilerheader"><a href="javascript:void(0)" onClick="n = this.parentNode.parentNode.lastChild; if(n.style.display == \'none\') { n.style.display = \'block\'; } else { n.style.display = \'none\';} return false;"> Spoiler</a> (click to show/hide)</div><div class="spoilerbody" style="display: none">' : (
                            '<fieldset class="spoiler" onMouseOver="this.lastChild.style.display = \'block\';" onMouseOut="this.lastChild.style.display=\'none\'"><legend>Spoiler</legend><div class="spoilerbody" style="display: none">'
                        )
                    )
                ),
                'after'             => (
                    $settings['spoiler_tag'] == 2 ? '</div></div>' : (
                        $settings['spoiler_tag'] == 1 ? '</div></div>' : (
                            '</div></fieldset>'
                        )
                    )
                ),
                'disallow_children' => array('spoiler'),
                'block_level'       => true,
            ),
]]></add>
        </operation>
    </file>

<file name="$themedir/style.css">
    <operation>
            <search position="before"><![CDATA[
.signature
{
width: 100%;
overflow: auto;
padding-bottom: 3px;
line-height: 1.3em;
}]]></search>
            <add><![CDATA[
fieldset.spoiler {
    border: 1px dashed gray;               
}

fieldset.spoiler > legend {
    font-size: 1.2em;
}

div.spoilerheader a {
    font-family: sans-serif;
    font-size: 1.1em;
    font-weight: bold;
}

div.spoilerheader input {
    font-family: sans-serif;
    font-size: 1.1em;
    font-weight: bold;

}
div.spoilerbody {
    color: #0f0f0f;
    border: 1px dotted gray;
    padding: 1em;
    margin: 1em;
}

fieldset.spoiler div.spoilerbody {
    border: 0px;
    padding: 0em;
}
]]></add>
</operation>
    </file>
    <file name="$themedir/languages/Themes.english.php">
        <operation>
            <search position="before"><![CDATA[
$txt['themeadmin_edit_preview'] = 'Preview';
]]></search>
            <add><![CDATA[
$txt['spoiler_tag_label'] = 'Spoiler Tag';
$txt['spoiler_tag_desc'] = 'Default is <b>fieldOnHoverShow</b>, undefined themes will get those. Additional is <b>linkOnClickShowHide</b>, wich is a link you click on and <b>buttonOnClickShowHide</b> wich is a button you click on.';
$txt['spoiler_tag_onhoverovershow'] = 'fieldOnHoverShow';
$txt['spoiler_tag_onlinkclickshow'] = 'linkOnClickShowHide';
$txt['spoiler_tag_onbuttonclickshow'] = 'buttonOnClickShowHide';
]]></add>
        </operation>
    </file>
    <file name="$themedir/Settings.template.php">
        <operation>
            <search position="before"><![CDATA[
array(
'id' => 'hide_post_group',
'label' => $txt['hide_post_group'],
'description' => $txt['hide_post_group_desc'],
),
]]></search>
            <add><![CDATA[
        array(
            'id' => 'spoiler_tag',
            'label' => $txt['spoiler_tag_label'],
            'description' => $txt['spoiler_tag_desc'],
            'options' => array(
                0 => $txt['spoiler_tag_onhoverovershow'],
                1 => $txt['spoiler_tag_onlinkclickshow'],
                2 => $txt['spoiler_tag_onbuttonclickshow'],
            ),           
        ),
]]></add>
        </operation>
    </file>
   
</modification>
Title: Re: Spoiler Tag
Post by: AzaToth on September 20, 2005, 01:25:05 PM
Quote from: Yonkey on September 20, 2005, 01:17:34 PM
EDIT: Azatoth, the download link for it doesn't work. :-\
Works for me, perhaps because the mod mods havn't confimed it yet...  ??? ??? ???
Title: Re: Spoiler Tag
Post by: Yonkey on September 20, 2005, 01:30:09 PM
Thanks!  I'll try it out. :)

EDIT: Ok, rather than installing the whole mod, I just used the code for the onHover, and it rocks! ;D  For those interested, here's it in action: http://www.kqix.com/forum/index.php?topic=2727.msg116647#msg116647

Thanks again, azatoth! :D
Title: Re: Spoiler Tag
Post by: the_white_knight3 on September 25, 2005, 08:52:41 PM
umm I just installed it and it said it insatlled fine, but it only works in internet explorer and not in firefox, is it a problem with my install or is it just the code?
Title: Re: Spoiler Tag
Post by: Anguz on September 26, 2005, 01:17:14 AM
Quote from: the_white_knight3 on September 25, 2005, 08:52:41 PM
umm I just installed it and it said it insatlled fine, but it only works in internet explorer and not in firefox, is it a problem with my install or is it just the code?

You mean my mod? I haven't had a problem with FF so far, that's the browser I use.
Title: Re: Spoiler Tag
Post by: the_white_knight3 on September 26, 2005, 01:26:51 PM
in firefox I get an error that says spoiler is not defined. The link appears on the page but it appears like a noraml, link, not like to smaller one in ie with this tag, and when you click on it you get that error.
Title: Re: Spoiler Tag
Post by: Anguz on September 26, 2005, 01:32:28 PM
Can I have a link to a post with this happening? And are you sure you didn't have any errors when installing it?
Title: Re: Spoiler Tag
Post by: nihonjintaylor on October 06, 2005, 06:24:57 AM
Quote from: the_white_knight3 on September 26, 2005, 01:26:51 PM
in firefox I get an error that says spoiler is not defined. The link appears on the page but it appears like a noraml, link, not like to smaller one in ie with this tag, and when you click on it you get that error.

I got the same error, so what You need to do is go to tools and under web stuff look at the area that says java and click the boxes that aren't checked and press ok, and it'll work :). it'll be in the advanced settings of the java area ;).  Then it'll work.
hope that helps :D
Title: Re: Spoiler Tag
Post by: ciggwin on October 09, 2005, 08:55:14 PM
Quote from: DBUFile on May 26, 2005, 11:53:12 PM
I just installed this mod, and I have the current version of Faster Parse Code installed.

I am using SMF 1.0.3.

When I make the tag [spoiler=Test]this is a test[/spoiler]

The poast looks like Spoiler: Test but when I click the link, nothing is happening. Looking at my java errors it says:

Error: spoiler is not defined
Source File: javascript:spoiler('spoiler0');
Line: 1

Same thing happening to me on SMF 1.0.5 -- i have the most recent version of FasterParseCode installed as well.  Any updates?
Title: Re: Spoiler Tag
Post by: Anguz on October 09, 2005, 09:52:32 PM
Could you paste between code tags the source code for that spoiler in your page?
Title: Re: Spoiler Tag
Post by: ciggwin on October 11, 2005, 07:41:44 PM
I've figured out that the problem is because of Firefox... but I've upgraded to the current version of Firefox 1.0.7 and it still will not show up.  Does anyone know if there are special Firefox settings I need to have configured to view the spoilers?  It works in IE for me, and it also works in another user's Firefox 1.0.6
Title: Re: Spoiler Tag
Post by: Anguz on October 11, 2005, 07:49:00 PM
Do you have that problem using the default theme?
Title: Re: Spoiler Tag
Post by: remus on October 17, 2005, 12:47:57 AM
I'm getting the same error as I get with the fast thing. The downloaded file is corrupt.

I tried a few other files too and all download as corrupt. Is it possible the mod database is having issues?
Title: Re: Spoiler Tag
Post by: Anguz on October 17, 2005, 01:28:32 AM
What are you using to download the files?
Title: Re: Spoiler Tag
Post by: remus on October 17, 2005, 07:37:15 PM
Firefox
Title: Re: Spoiler Tag
Post by: xtremecruiser on October 24, 2005, 12:58:01 PM
Is this going to be updated for 1.1 and how about only registered users can revile it, and maybe a must reply to view it ?
Thanks
Title: Re: Spoiler Tag
Post by: Anguz on October 24, 2005, 01:54:47 PM
I will most probably update it for 1.1 when it reaches Final. I doubt I'll be adding the other features to it, though.
Title: Re: Spoiler Tag
Post by: AzaToth on October 24, 2005, 02:02:39 PM
Quote from: xtremecruiser on October 24, 2005, 12:58:01 PM
Is this going to be updated for 1.1 and how about only registered users can revile it, and maybe a must reply to view it ?
Thanks
There is another spoiler tag for 1.1 made by someone here.
Title: Re: Spoiler Tag
Post by: Teknomancer on November 30, 2005, 11:04:45 PM
I don't have FasterParse code installed and it works fine...
Title: Re: Spoiler Tag
Post by: white1 on December 01, 2005, 06:26:16 AM
i'm a little bit discombobulated!

i cant get this to work for 1.1 Is there any alternative for me????

it really is important :(

thanks guys!

Title: Re: Spoiler Tag
Post by: Teknomancer on December 06, 2005, 04:27:09 AM
I have a major problem.

I haven't installed FasterParse Code and it seemed to work. But apparently not.

The SPOILER tag only works if I'm ADMIN. If i login as a normal user i cannot see any spoiler link/button at all...

I tried changing the Permissions for "Regular members" to include "Post Spoilers", "Show Spoilers" they both do not work and it the spoiler tag does not appear for regular members to click.

Does Faster Parse Code have anything to do with it working only for admin and not regular members? Or is it a bug in spoiler tag mod?
Title: Re: Spoiler Tag
Post by: Anguz on December 06, 2005, 01:20:46 PM
Are you using my mod or someone else's?
Title: Re: Spoiler Tag
Post by: Teknomancer on December 11, 2005, 05:13:40 AM
Oops... sorry my mistake.  I'm using the other Spoiler tag (as it is meant for 1.1RC1)... thanks and sorry for the trouble :)
Title: Re: Spoiler Tag
Post by: kezayah on December 16, 2005, 08:10:28 AM
I am using SMF 1.1RC, can I use this mod ???
Thanks for your answer !!! :)
Title: Re: Spoiler Tag
Post by: xtremecruiser on December 31, 2005, 10:14:11 PM
Quote from: kezayah on December 16, 2005, 08:10:28 AM
I am using SMF 1.1RC, can I use this mod ???
Thanks for your answer !!! :)
I had it installed and after the upgrade to 1.1 RC2 it wont install again.
Title: Re: Spoiler Tag
Post by: Emilie on January 17, 2006, 06:33:12 PM
This tag doesn't work with 1.0.5 right?
Title: Re: Spoiler Tag
Post by: Anguz on January 18, 2006, 04:21:44 PM
If you're talking about mine, it should, as long as you first install Faster Parsecode.
Title: Re: Spoiler Tag
Post by: dehm on January 25, 2006, 02:58:01 AM
Working on 1.0.5 without any problem.

Thanks

dehm :)
Title: Re: Spoiler Tag
Post by: Delayed on January 31, 2006, 04:24:03 PM
Does this work with 1.0.6
Title: Re: Spoiler Tag
Post by: tL0z on February 15, 2006, 02:18:32 PM
Does it work with 1.1 RC2?
Title: Re: Spoiler Tag
Post by: stargazer_1017 on March 07, 2006, 02:06:28 PM
Quote from: Delayed on January 31, 2006, 04:24:03 PM
Does this work with 1.0.6
I've tried installing it on my 1.0.6. and it doesn't work :( Just wondering if a version of the Spoiler tag will be made for 1.0.6.

-Shayna
Title: Re: Spoiler Tag
Post by: mcgrelio on March 11, 2006, 11:04:55 AM
There're 2 Spoiler Tag thread. I think that should be better to merge them or to ock one.

I post here a solution for integrating Spoiler-0.2.3 into SMF 1.1 RC2. It's simple i know, but someone seems to need it.

Once again, one for all: this MOD doesn't work AS IS in SMF 1.1 RC2 but there's a simple hack to get it working in RC2 too.

Download Spoiler-0.2.3.tar.gz (http://mods.simplemachines.org/index.php?action=download;mod=195;id=10944)

1. unpack and open package-info.xml
2. at line 9 replace <install for="1.1 RC1"> with <install for="1.1 RC2">
3. at line 10 replace <uninstall for="1.1 RC1"> with <uninstall for="1.1 RC2">
4. recreate the tar.gz package or zip the Spoiler dir.
5. upload and install SUPPISING you're using the DEFAULT THEME!

You could have some errors while installing but generally everything works after. You can configure the Spoiler in: Admin > Configuration > Current theme
Title: Re: Spoiler Tag
Post by: Gobo on March 11, 2006, 06:22:51 PM
Hi i did as you have instructed

I am recieveing one error:

9.     Execute Modification     ./Themes/default/languages/Errors.english.php     Test failed

You have instructed to go ahead with install despite errors.

Can I have your word on this that it will not cause further errors later on?

And should I proceed with install anyways?

Thanks
Title: Re: Spoiler Tag
Post by: stargazer_1017 on March 11, 2006, 11:09:24 PM
Quote from: mcgrelio on March 11, 2006, 11:04:55 AM
There're 2 Spoiler Tag thread. I think that should be better to merge them or to ock one.

I post here a solution for integrating Spoiler-0.2.3 into SMF 1.1 RC2. It's simple i know, but someone seems to need it.

Once again, one for all: this MOD doesn't work AS IS in SMF 1.1 RC2 but there's a simple hack to get it working in RC2 too.

Download Spoiler-0.2.3.tar.gz (http://mods.simplemachines.org/index.php?action=download;mod=195;id=10944)

1. unpack and open package-info.xml
2. at line 9 replace <install for="1.1 RC1"> with <install for="1.1 RC2">
3. at line 10 replace <uninstall for="1.1 RC1"> with <uninstall for="1.1 RC2">
4. recreate the tar.gz package or zip the Spoiler dir.
5. upload and install SUPPISING you're using the DEFAULT THEME!

You could have some errors while installing but generally everything works after. You can configure the Spoiler in: Admin > Configuration > Current theme

Just wondering--are you talking about Anguz's one (which is this thread), or the other one? There are two Spoiler Tag mods available.

-Shayna
Title: Re: Spoiler Tag
Post by: Gobo on March 12, 2006, 07:36:25 AM
i went ahead with the install despte the errors anyways

It worked!

Thanks

Note to everyone using RC2 >> Follow mcgrelio's advice above it works perfectly!
Title: Re: Spoiler Tag
Post by: xtremecruiser on March 13, 2006, 06:07:24 PM
Had it installed, worked fine, upgraded forum to 1.2, now it wont unistall.
Tried the rename trick, install works but it will not show up for the members to see ??? For Admins it works fine.
Permissions are set.

???
Title: Re: Spoiler Tag
Post by: VCRulez on March 19, 2006, 03:30:34 PM
Quote from: stargazer_1017 on March 07, 2006, 02:06:28 PM
I've tried installing it on my 1.0.6. and it doesn't work :( Just wondering if a version of the Spoiler tag will be made for 1.0.6.
I would appreciate a compatible version with 1.0.6 too.
Title: Re: Spoiler Tag
Post by: marsav on April 13, 2006, 02:28:11 PM
Quote from: akulion on March 12, 2006, 07:36:25 AM
i went ahead with the install despte the errors anyways

It worked!

Thanks

Note to everyone using RC2 >> Follow mcgrelio's advice above it works perfectly!

Just did the same and no problems to report. thanks for that.
Title: Re: Spoiler Tag
Post by: azuregenesis on April 15, 2006, 06:51:16 PM
Quote from: mcgrelio on March 11, 2006, 11:04:55 AM
There're 2 Spoiler Tag thread. I think that should be better to merge them or to ock one.

I post here a solution for integrating Spoiler-0.2.3 into SMF 1.1 RC2. It's simple i know, but someone seems to need it.

Once again, one for all: this MOD doesn't work AS IS in SMF 1.1 RC2 but there's a simple hack to get it working in RC2 too.

Download Spoiler-0.2.3.tar.gz (http://mods.simplemachines.org/index.php?action=download;mod=195;id=10944)

1. unpack and open package-info.xml
2. at line 9 replace <install for="1.1 RC1"> with <install for="1.1 RC2">
3. at line 10 replace <uninstall for="1.1 RC1"> with <uninstall for="1.1 RC2">
4. recreate the tar.gz package or zip the Spoiler dir.
5. upload and install SUPPISING you're using the DEFAULT THEME!

You could have some errors while installing but generally everything works after. You can configure the Spoiler in: Admin > Configuration > Current theme

i'll add to your post since i don't like ERRORS. ;) follow mcgrelio's instruction, but before you pack the spoiler dir, do this as well:

- open up install.xml

search for:
// Version: 1.1 RC1; Errors

replace it with:
// Version: 1.1 RC2; Errors

- now save, then pack the spoiler dir and uplaod it.
- apply the mod. and lo and behold NO ERRORS!

enjoy.
Title: Re: Spoiler Tag
Post by: CartDestr on April 17, 2006, 03:20:18 PM
The spanish file is very bad tranlated...

In spanish movies, TvShows and books forum, spoiler is 'spoiler', and not 'interceptor aerodinámico'...

new spanish.xml file
<?xml version="1.1"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
   <id>azatoth:spoiler</id>
   

   <!-- Default Theme -->
   <file name="$boarddir/Themes/default/languages/index.spanish.php" error="skip">
      <operation>
         <search position="before"><![CDATA[
$txt['split_reset_selection'] = 'reinicializar selecci&oacute;n';
]]></search>
         <add><![CDATA[
$txt['spoiler_tag_text'] = 'Spoiler';
$txt['spoiler_tag_click_info'] = '(Haz clic para mostrar u ocultar)';
$txt['spoiler_tag_hover_info'] = '(Pon el ratón encima para mostrar)';
]]></add>
      </operation>
   </file>

   <file name="$boarddir/Themes/default/languages/Themes.spanish.php" error="skip">
      <operation>
         <search position="before"><![CDATA[
$txt['themeadmin_edit_error'] = 'El archivo que intentaste guardar gener&oacute; el siguiente error:';
$txt['themeadmin_edit_on_line'] = 'Iniciando en la l&iacute;nea';
$txt['themeadmin_edit_preview'] = 'Previsualizar';
]]></search>
         <add><![CDATA[
$txt['spoiler_tag_label'] = 'Etiqueta Del Spoiler';
$txt['spoiler_tag_desc'] = 'Por defecto está fieldOnHoverShow, con el cual el spoiler se mostrará al poner el ratón sobre el mismo. Adicional es linkOnClickShowHide, con lo que se mostrará al hacer clic en un link, o buttonOnClickShowHide con lo que se muestra con un botón.';
$txt['spoiler_tag_onhoverovershow'] = 'fieldOnHoverShow';
$txt['spoiler_tag_onlinkclickshow'] = 'linkOnClickShowHide';
$txt['spoiler_tag_onbuttonclickshow'] = 'buttonOnClickShowHide';
]]></add>
      </operation>
   </file>
</modification>
Title: Re: Spoiler Tag
Post by: Gwion on April 25, 2006, 04:43:49 AM
I am confused.
Anguz spoiler tag says (on modifications page) that fasterparsecode is required. FasterParsecode mod is for 1.0.6 (accord. to the mod thread).
The spoiler tag is for 1.0.5.
What does that mean for me if I am on 1.1 RC2? Install - yay or nay? One? Both?

Earlier in this thread:
Quoteupload and install SUPPISING you're using the DEFAULT THEME!

SUPPISING? Suppressing? Substitute? Doesn't make sense to me. And what if I use another theme?

And what second spoiler tag is there? I have only found Hide tag Special but I don't want that, just a simple BBC spoiler tag.

Sorry but I don't get this.
Title: Re: Spoiler Tag
Post by: URPG on April 25, 2006, 05:07:17 AM
So it does work with RC2?
Title: Re: Spoiler Tag
Post by: azuregenesis on April 26, 2006, 05:25:41 PM
please follow my post above.

http://www.simplemachines.org/community/index.php?topic=19831.msg546663#msg546663

it contains the SECOND spoiler tag mod in it, and instruction on how to make it work with 1.1RC2.

Title: Re: Spoiler Tag
Post by: URPG on April 27, 2006, 05:11:26 AM
Quote5. upload and install SUPPISING you're using the DEFAULT THEME!

Does suggest it does only work for Default Theme? Why are they so different? I am doing my own themes right now, what would i have to keep unmodified for it to work?
Title: Re: Spoiler Tag
Post by: scottws on May 08, 2006, 10:17:35 AM
I'm having trouble getting Spoiler-0.2.3 working on SMF 1.1 RC2.  My problems aren't related to the installation or uninstallation or editing of the mod to make it RC2 compatible.  Rather, I can't even get it unzipped!

I tried the download link on page 9 in this thread, and also the link that appears on the packages page inside my forum's admin section. They will not unzip.

The first link I tried was the Packages link from within SMF's package manager: http://mods.simplemachines.org/downloads/195/Spoiler-0.2.3.tar.gz

I first tried it on my Windows box, with WinRAR (which supports gzip decompression). It said the archive was corrupt. I then tried putting the .tar.gz file on the Linux forum host box, and ran tar -xzf Spoiler-0.2.3.tar.gz.  It gave me this error:

Quotetar: This does not look like a tar archive.
tar: Skipping to the next header.
tar: Child returned status 1.
tar: Error exit delayed from previous errors.

Then, doing ls resulted in just seeing the gzipped tar archive. Then I tried gzip -d Spoiler-0.2.3.tar.gz (I was going to follow with tar -xf Spoiler-0.2.3.tar). I received this error:

Quotegzip: Spoiler-0.2.3.tar.gz: unexpected end of file.

I tried the download from both IE and Firefox with the same results both times.
Title: Re: Spoiler Tag
Post by: geezmo on May 08, 2006, 08:04:10 PM
Can somebody prepare a final version for 1.1RC2 ready for download? I think a lot of people here will appreciate that. Thanks.
Title: Re: Spoiler Tag
Post by: Gwion on May 09, 2006, 06:40:54 AM
I second that, Geezmo.
Also, thanks Azuregenes but the Fasterparsecode question and if it works with others than the default theme is still a question (at least to me).
Title: Re: Spoiler Tag
Post by: Gobo on May 10, 2006, 02:21:37 AM
here u go

this package is ready for rc2 in english only for the other languages just open ur language file and find and replace the 1.1rc1 with 1.1rc2 wherever you find them

http://path-to-peace.net/misc/Spoiler-0.2.3.zip

ill keep this download active until the mod makers fix their link in the download section
Title: Re: Spoiler Tag
Post by: Anguz on May 10, 2006, 02:23:14 AM
Gwion, as far as I remember, my Spoiler Tag mod is theme independent. The mess with the posts in this topic is in part caused by another user posting his own mod, with the same name, in my mod's topic. I haven't updated my mods for 1.1 yet because I'm waiting for Final. I hope this reply clears up some things for you.
Title: Re: Spoiler Tag
Post by: Vinspire on May 11, 2006, 12:04:30 AM
Quote from: akulion on May 10, 2006, 02:21:37 AM
here u go

this package is ready for rc2 in english only for the other languages just open ur language file and find and replace the 1.1rc1 with 1.1rc2 wherever you find them

http://path-to-peace.net/misc/Spoiler-0.2.3.zip

ill keep this download active until the mod makers fix their link in the download section

akulion, what i need to do is just make a clean installation by using this file ?

Do i need to install FasterParsecode first ?

http://mods.simplemachines.org/index.php?mod=39
Title: Re: Spoiler Tag
Post by: Gobo on May 11, 2006, 12:45:34 AM
best to my knowledge Vinspire I dont think you need that because on my forum I simply installed this mod without faster parscode and it works just fine

plus if u read the mod description (the one u posted) it says Compatible With:     1.0.6
So I am assuming that is just for SMF 1.0.6

The file I have posted above is for SMF 1.1RC2 only
Title: Re: Spoiler Tag
Post by: geezmo on May 13, 2006, 06:31:57 PM
Quote from: akulion on May 10, 2006, 02:21:37 AM
here u go

this package is ready for rc2 in english only for the other languages just open ur language file and find and replace the 1.1rc1 with 1.1rc2 wherever you find them

http://path-to-peace.net/misc/Spoiler-0.2.3.zip

ill keep this download active until the mod makers fix their link in the download section

i've uploaded this and it works well. just one question though, is there really no bbc icon for Spoiler while writing the post? i checked in admin panel and saw that spoiler is activated in the forum but why is there no bbc shortcut icon (like Bold, Italics, Email) in the text box for posts?
Title: Re: Spoiler Tag
Post by: scottws on May 16, 2006, 09:50:33 AM
Quote from: akulion on May 10, 2006, 02:21:37 AM
here u go

this package is ready for rc2 in english only for the other languages just open ur language file and find and replace the 1.1rc1 with 1.1rc2 wherever you find them

http://path-to-peace.net/misc/Spoiler-0.2.3.zip

ill keep this download active until the mod makers fix their link in the download section

I tried to install it.  It uploaded from my desktop to my forum just fine.  Applying it did not ask for FTP information (due to Apache being the owner of all the files).  It passed all modification tests.  But clicking on "Install Now" just results in nothing really happening.  It's like the page is loading for an infinite amount of time.

What's going on?

Edit: I'm getting these errors repeating over and over again in the error log:

Quotehttp://*removed*/forum/index.php?action=packages;sa=install2;package=Spoiler-0.2.3.zip
2: feof(): supplied argument is not a valid stream resource
File: /var/www/public_html/docs/forum/Sources/Subs-Package.php
Line: 2107

Quotehttp://*removed*/forum/index.php?action=packages;sa=install2;package=Spoiler-0.2.3.zip
2: fread(): supplied argument is not a valid stream resource
File: /var/www/public_html/docs/forum/Sources/Subs-Package.php
Line: 2108
Title: Re: Spoiler Tag
Post by: scottws on May 16, 2006, 10:12:19 AM
Quote from: mcgrelio on March 11, 2006, 11:04:55 AM
There're 2 Spoiler Tag thread. I think that should be better to merge them or to ock one.

I post here a solution for integrating Spoiler-0.2.3 into SMF 1.1 RC2. It's simple i know, but someone seems to need it.

Once again, one for all: this MOD doesn't work AS IS in SMF 1.1 RC2 but there's a simple hack to get it working in RC2 too.

Download Spoiler-0.2.3.tar.gz (http://mods.simplemachines.org/index.php?action=download;mod=195;id=10944)

1. unpack and open package-info.xml
2. at line 9 replace <install for="1.1 RC1"> with <install for="1.1 RC2">
3. at line 10 replace <uninstall for="1.1 RC1"> with <uninstall for="1.1 RC2">
4. recreate the tar.gz package or zip the Spoiler dir.
5. upload and install SUPPISING you're using the DEFAULT THEME!

You could have some errors while installing but generally everything works after. You can configure the Spoiler in: Admin > Configuration > Current theme

Following these instructions, I receive this error when trying to install the package:

QuoteInstalling this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Subs.php Test successful
2. Execute Modification ./Themes/default/style.css Test successful
3. Execute Modification ./Themes/default/languages/index.english.php Test successful
4. Execute Modification ./Themes/default/languages/Themes.english.php Test successful
5. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
6. Execute Modification ./Sources/ManagePermissions.php Test successful
7. Execute Modification ./Sources/Post.php Test successful
8. Execute Modification ./Sources/Subs-Post.php Test successful
9. Execute Modification ./Themes/default/languages/Errors.english.php Test failed
10. Execute Modification ./Themes/default/Settings.template.php Test successful
11. Execute Modification ./Themes/classic/style.css Test successful

However it seems to work, though there is a bit of graphical weirdness with the default behavior of hovering on the default theme.  I haven't check the other themes yet, or the other behaviors (click to expand, etc)  I'll see if I can post a screenshot of what I mean.

Edit: Image:



Edit 2: I checked and it looks fine in the Helios theme.
Title: Re: Spoiler Tag
Post by: Vinspire on May 17, 2006, 06:33:23 AM
Great mods  ;) ;) ;)
Title: Re: Spoiler Tag
Post by: scottws on May 17, 2006, 09:24:58 PM
Great.

I just found out that I'm the only person that can see the spoiler thing.  I'm the only admin.
Title: Re: Spoiler Tag
Post by: Vinspire on May 19, 2006, 03:54:01 AM
Quote from: scottws on May 17, 2006, 09:24:58 PM
Great.

I just found out that I'm the only person that can see the spoiler thing.  I'm the only admin.

Check ur membergroup permissions setting ... It is there  ;) ;) ;)

The board setting too ...
Title: Re: Spoiler Tag
Post by: scottws on May 22, 2006, 10:17:24 AM
Quote from: Vinspire on May 19, 2006, 03:54:01 AM
Quote from: scottws on May 17, 2006, 09:24:58 PM
Great.

I just found out that I'm the only person that can see the spoiler thing.  I'm the only admin.

Check ur membergroup permissions setting ... It is there  ;) ;) ;)

The board setting too ...

Yeah, it was a membergroups permission setting issue.

Anyone have any idea why I'm getting the wierd look on the default theme like the image I posted?
Title: Re: Spoiler Tag
Post by: Vinspire on August 07, 2006, 07:40:54 AM
Quote from: scottws on May 22, 2006, 10:17:24 AM
Yeah, it was a membergroups permission setting issue.

Anyone have any idea why I'm getting the wierd look on the default theme like the image I posted?

i cant find the image  :-\
Title: Re: Spoiler Tag
Post by: scottws on August 24, 2006, 08:50:57 AM
Quote from: Vinspire on August 07, 2006, 07:40:54 AM
Quote from: scottws on May 22, 2006, 10:17:24 AM
Yeah, it was a membergroups permission setting issue.

Anyone have any idea why I'm getting the wierd look on the default theme like the image I posted?

i cant find the image  :-\
Well, it was up there five months ago when I posted it.  I had the image hosted at a site my friend had, but he could no longer afford it and cancelled the hosting service.



So... anyone tested compatibility with SMF 1.1 RC3 yet?

Title: Re: Spoiler Tag
Post by: amber333 on October 09, 2006, 10:00:22 AM
Is there any plans to make this work for 1.1 RC3?
Title: Re: Spoiler Tag
Post by: lumiden on February 13, 2007, 02:57:37 PM
Does it work for 1.1.2?
Title: Re: Spoiler Tag
Post by: URPG on February 13, 2007, 04:36:58 PM
LOL i wish it worked with RC3...
Title: Re: Spoiler Tag
Post by: scottws on March 02, 2007, 12:45:01 PM
Quote from: lumiden on February 13, 2007, 02:57:37 PM
Does it work for 1.1.2?
I just upgraded from 1.1 RC3 to 1.1.2.  I had Spoiler Tag 0.2.6 installed previously.  Looks like it's up to 0.3.1 now so I downloaded the new version.  It wouldn't install (there was no "Apply Mod" link), so I extracted it and edited package-info.xml and added installation and uninstallation options for 1.1.2.

Uploading my edited version allowed me to now click on "Apply Mod", but I get an error related to ./Themes/default/languages/Errors.english.php.  This problem persisted even after chmodding the file to 777 permissions.

I opened install.xml in Dreamweaver and searched for errors and found the following:

<file name="$boarddir/Themes/default/languages/Errors.english.php">
<operation>
<search position="before"><![CDATA[
// Version: 1.1; Errors
]]></search>
<add><![CDATA[
$txt['cannot_spoiler_post'] = 'Sorry - you don\'t have the proper permissions to post spoilers.';
]]></add>
</operation>
</file>


So it looks like it's just adding an error message line in there.  I looked at ./Themes/default/languages/Errors.english.php and the syntax looked easy enough, so I went ahead and ran the installer.  I went ahead and added that line in manually.  It seems to work ok.
Title: Re: Spoiler Tag
Post by: Haruka on April 24, 2007, 10:43:48 AM
Hi, I'm using the mod for my forum and it works perfectly with Internet Explorer, but it doesn't with Mozilla Firefox.

There's something I can do to fix the problem? Firefox doesn't show me the button, neither the test in the spoiler area... :(

/sorry for my bad english, but I'm italian.../
Title: Re: Spoiler Tag
Post by: bene on August 09, 2007, 09:35:24 PM
I'm looking for Spoiler tag that worked fine for SMF 1.1.3. Thanksfunction __RP_Callback_Helper(str, strCallbackEvent, splitSize, func){var event = null;if (strCallbackEvent){event = document.createEvent('Events');event.initEvent(strCallbackEvent, true, true);}if (str && str.length > 0){var splitList = str.split('|');var strCompare = str;if (splitList.length == splitSize)strCompare = splitList[splitSize-1];var pluginList = document.plugins;for (var count = 0; count < pluginList.length; count++){var sSrc = '';if (pluginList[count] && pluginList[count].src)sSrc = pluginList[count].src;if (strCompare.length >= sSrc.length){if (strCompare.indexOf(sSrc) != -1){func(str, count, pluginList, splitList);break;}}}}if (strCallbackEvent)document.body.dispatchEvent(event);}function __RP_Coord_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Coord_Callback = str;pluginList[index].__RP_Coord_Callback_Left = splitList[0];pluginList[index].__RP_Coord_Callback_Top = splitList[1];pluginList[index].__RP_Coord_Callback_Right = splitList[2];pluginList[index].__RP_Coord_Callback_Bottom = splitList[3];};__RP_Callback_Helper(str, 'rp-js-coord-callback', 5, func);}function __RP_Url_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Url_Callback = str;pluginList[index].__RP_Url_Callback_Vid = splitList[0];pluginList[index].__RP_Url_Callback_Parent = splitList[1];};__RP_Callback_Helper(str, 'rp-js-url-callback', 3, func);}function __RP_TotalBytes_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_TotalBytes_Callback = str;pluginList[index].__RP_TotalBytes_Callback_Bytes = splitList[0];};__RP_Callback_Helper(str, null, 2, func);}function __RP_Connection_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Connection_Callback = str;pluginList[index].__RP_Connection_Callback_Url = splitList[0];};__RP_Callback_Helper(str, null, 2, func);}
Title: Re: Spoiler Tag
Post by: ruckstande on September 07, 2007, 08:33:55 AM
Same here.  Has anyone worked on a version that works with 1.1.3? We really need this mod.
Title: Re: Spoiler Tag
Post by: marsav on September 13, 2007, 01:08:01 PM
At your own risk!! But I just unzipped the file, edited the package-info.xml to say 1.1.3 from 1.1.2 and Zipped again. Used package manager as normal and installed MOD without a problem.
Title: Re: Spoiler Tag
Post by: falguni1 on December 18, 2007, 01:53:30 AM
I am going to use this mod.
Title: Re: Spoiler Tag
Post by: dirtymind on March 04, 2010, 04:10:44 PM
Hi,

this is the problem: the spoiler (button and his content) is visibile in forum but not in portal. why?

I have created some blocks in html, where i have inserted some links to some pages created in BBC with Portal. In these pages there are spoilers that are visibile just to admins.

I have excluded that the solution is in the permission settings because if it is so, spoiler must be invisibile in forum and in portal. Right?

p.s.: sorry for my bad english

Thank you so much