Quick Spoiler

Started by Bugo, October 13, 2011, 09:51:33 AM

Previous topic - Next topic

usrfsledge

Yeah well .... the hidden parts works  :o
But no clicking and unhiding.

Bu thank you for your reply.

SDMiller

#101
Quote from: usrfsledge on March 26, 2014, 12:03:48 PM
Yeah well .... the hidden parts works  :o
But no clicking and unhiding.

Bu thank you for your reply.

Yeah... I have it set so you have to be a member to see the hidden part... but you could set it so guests can see too.

That's the whole point of my post here in this thread... I want to replace the "Sorry you're not allowed" to say "Only registered members may see"

;)

Edit: I set to to guests to view so that you can check it out.

P.S. I got the text change working... was smart quotes... messed it up.

usrfsledge

Oh sorry for the confusion, in my last reply I was referring to my own site. If I install the plugin it does hide, but can't unhide.
On your site it is working exactly the way I remember it from the past.

NekoJonez

Quote from: usrfsledge on March 25, 2014, 05:03:26 AM
Quote from: NekoJonez on March 24, 2014, 12:36:52 PM
This one, it's a ton better imo.
Thanks for your reply Neko,
Does that one work out of the box?


Yeah.
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

usrfsledge

Great, I'm gonna try that one

Impsat-1

Ufff!!!... great Job Bugo, Excellent MOD.... Working in SMF 2.0.7 theme default, Thanks for the best Spoiler code.... ;)

Thanks & Regards 8).-
Vive Cáda Momento De Tu Vida Como Si Fueras a Irte Mañana, Más Planificala Cómo Si Jamás Fueras a Irte ;).-

DSystem

Great mod. Tested and approved smf 2.07  8) 8) 8)

Brazil Portuguese Translation

llmfit

How is possible to hide only the content of the spoiler leaving the title visible for not-allowed members ?

I would like that not-allowed member can view the title of the spoiler and when opening it they should see the text in this variable $txt['qs_no_spoiler_sorry']

It's possible? How?

la muerte

Google Chrome messes up code blocks inside all spoilers I've tried to work with so far. It adds a style="height: 20px; " with javascript which is rather annoying!
I've found that the best way to deal with this issue is to simply overrule the javascript.

Add following code to the .bbc_code element in your theme's index.css file:
height: 100% !important;

Arantor

That's a wider SMF bug, not related to the spoiler mod.

Rain Forest

Thank you Bugo for this nice mod! :)

In error log:

8: Undefined index: qs_no_spoiler_sorry
Apply Filter: Only show the errors from this file
File: /../Sources/Subs-QuickSpoiler.php
Line: 74


Do I just need to add this to Modifications.English.php ?

$txt['qs_no_spoiler_sorry'] = 'qs_no_spoiler_sorry';

Sagar_king

http://mobiletek.in Smf 2.1
<hr>
Really Thankful to SMF community members for helping
All people are on this forum have their own website that's cool :D

bucch

#112
Very nice and useful mod. Full working on SMF 2.0.9
Thank you Bugo!

I also attached at this post the italian translation and a repack with FamFam Silk icons (famfamfam.com/lab/icons/silk/), you can see the appearance in this picture




Bye  8)

gaurav09

can't we add custom html codes like color, size, font in spoiler title ??

gaurav09

Error with Quick Spoiler 0.9.6,..
spoilers are coming in one line only !!
spoilers are coming in one line like small tabs !!....i just changed icons,.. :-X
(Quick Spoiler 0.9.5 was working very good, when i updated then got this bug)

Hristo

I think this is the normal mod's behavior. If you want each spoiler on new row try this:

First, make a backup. Then open this file: your_forum/Themes/default/css/spoiler.css Under .sp-wrap you should see
display: inline-block;
Change it to
display: table;
OR
display: block;
Save

If that does not help I will need a link to a post with such "error".

gaurav09

Quote from: Hristo on January 13, 2015, 10:34:55 AM
I think this is the normal mod's behavior. If you want each spoiler on new row try this:

First, make a backup. Then open this file: your_forum/Themes/default/css/spoiler.css Under .sp-wrap you should see
display: inline-block;
Change it to
display: table;
OR
display: block;
Save

If that does not help I will need a link to a post with such "error".

No not fixed,..
here is link of such error : http://adonix.bkwebhost.net/index.php?topic=2.0   :'(

Hristo

You have not edited it, It's still "display: inline-block;" Edit it as shown above. You have to open the spoiler.css through your ftp client, make the edit and save it on the server, then reload the page on your forum.

gaurav09

Quote from: Hristo on January 13, 2015, 11:53:06 PM
You have not edited it, It's still "display: inline-block;" Edit it as shown above. You have to open the spoiler.css through your ftp client, make the edit and save it on the server, then reload the page on your forum.
thanks "display: block;" worked  :laugh: :laugh: :laugh: :laugh: :laugh: :laugh:
thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks  ;D ;D ;D

Ataru Moroboshi

i see jquery code is using live() that is deprecated. that live is intended as a bind? could it be replaced with on()?

Advertisement: