Page 1 of 2

Forum :: Spoiler

Posted: Tue Jun 05, 2012 10:38 pm
by cyberpunk
Can we have spoiler the bbcode Spoiler?

Re: Forum :: Spoiler

Posted: Tue Jun 05, 2012 11:05 pm
by uakf.b
Spoiler!
hello

[spoiler=hello]hello
hello
hello[/spoiler]

Just installed it. Seems to be working now. The version without = sign is a bit weird though :O

Re: Forum :: Spoiler

Posted: Wed Jun 06, 2012 1:16 am
by cyberpunk
Did you load the .js?

It should be like this one

Remember, make changes according to your style.
prosilver is the default

Re: Forum :: Spoiler

Posted: Wed Jun 06, 2012 1:32 am
by uakf.b
What do you mean? It's working fine for me... I can reveal it by either clicking Reveal for the spoiler= version or clicking on the text for the regular version.
Maybe you need to use ctrl+f5?

Re: Forum :: Spoiler

Posted: Wed Jun 06, 2012 3:33 am
by cyberpunk
The content should be minimized. The text is just hiding by black window. :?

Re: Forum :: Spoiler

Posted: Wed Jun 06, 2012 3:38 am
by uakf.b
I just installed the latest version and followed instructions to update the style. The spoiler is fine; it works.

Re: Forum :: Spoiler

Posted: Wed Jun 06, 2012 4:23 am
by cyberpunk
Really weird :3
When I got some time I'll test it in my computer.
Could you please enable the [spoiler=]
just for check it ;)
myb the mod is wrong

Re: Forum :: Spoiler

Posted: Wed Jun 06, 2012 4:26 am
by uakf.b
There's nothing wrong with it, it's working fine. The mod is enabled, although you have to type it manually for it to work.

Re: Forum :: Spoiler

Posted: Fri Jun 15, 2012 7:22 am
by cyberpunk
Sorry I forgot to reply, I don't want to bother you about it, it's not so important.
Here is a good example

Re: Forum :: Spoiler

Posted: Fri Jun 15, 2012 3:03 pm
by uakf.b
I changed the Javascript file so it collapses it (it had not collapse as default in the file); although I think I liked the old version better o_O
But do you like it now then?

Re: Forum :: Spoiler

Posted: Fri Jun 15, 2012 8:10 pm
by cyberpunk
Really close.. I want the spoiler box height to shrink when the text is hidden.
It's been so long, after I re-install the phpbb I remember now. =)

Please try this, open the included JavaScript file "prime_bbcode_spoiler.js", find "spoiler_collapse = false", and change the value to "true".

Probably you will need to purge the cache and refresh your style.

Re: Forum :: Spoiler

Posted: Fri Jun 15, 2012 8:54 pm
by uakf.b
I already did that... see my last post. Maybe you have to press ctrl+f5 and refresh your browser cache o_O

Re: Forum :: Spoiler

Posted: Fri Jun 15, 2012 9:00 pm
by cyberpunk
[spoiler=poo on me]score: 1-0 to you[/spoiler]Thanks

Re: Forum :: Spoiler

Posted: Fri Jun 15, 2012 9:43 pm
by uakf.b
Aight, so it's correct now? What about the regular tag without the =, was that already correct (because I didn't modify that at all)?

Re: Forum :: Spoiler

Posted: Fri Jun 15, 2012 11:02 pm
by cyberpunk
Yes, yes.

I don't like the regular tag [spoiler], rather [spoiler=]