Advertisement:

Author Topic: Quick Spoiler  (Read 59199 times)

Offline usrfsledge

  • Semi-Newbie
  • *
  • Posts: 30
Re: Quick Spoiler
« Reply #100 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.

Offline SDMiller

  • Semi-Newbie
  • *
  • Posts: 62
Re: Quick Spoiler
« Reply #101 on: March 26, 2014, 10:58:40 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.
« Last Edit: March 26, 2014, 11:16:05 PM by SDMiller »

Offline usrfsledge

  • Semi-Newbie
  • *
  • Posts: 30
Re: Quick Spoiler
« Reply #102 on: March 27, 2014, 05:04:42 AM »
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.

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 503
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Quick Spoiler
« Reply #103 on: March 29, 2014, 01:49:22 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

Offline usrfsledge

  • Semi-Newbie
  • *
  • Posts: 30
Re: Quick Spoiler
« Reply #104 on: March 29, 2014, 04:12:07 PM »
Great, I'm gonna try that one

Offline Impsat-1

  • Jr. Member
  • **
  • Posts: 320
Re: Quick Spoiler
« Reply #105 on: April 28, 2014, 02:46:09 AM »
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 ;).-

Offline DSystem

  • Jr. Member
  • **
  • Posts: 238
  • Gender: Male
  • EletronicaBR - Admin
    • eletronicaBR.com
Re: Quick Spoiler
« Reply #106 on: May 31, 2014, 12:55:18 PM »
Great mod. Tested and approved smf 2.07  8) 8) 8)

Brazil Portuguese Translation

Offline llmfit

  • Newbie
  • *
  • Posts: 8
Re: Quick Spoiler
« Reply #107 on: June 15, 2014, 10:29:48 AM »
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?

Offline la muerte

  • Semi-Newbie
  • *
  • Posts: 38
Re: Quick Spoiler
« Reply #108 on: August 04, 2014, 06:20:59 AM »
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:
Code: [Select]
height: 100% !important;

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,851
    • StoryBB/StoryBB on GitHub
Re: Quick Spoiler
« Reply #109 on: August 04, 2014, 06:38:38 AM »
That's a wider SMF bug, not related to the spoiler mod.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Rain Forest

  • Full Member
  • ***
  • Posts: 657
  • 𝒢𝒾𝓇𝒶𝒻𝒻𝑒
    • Love Troops
Re: Quick Spoiler
« Reply #110 on: August 16, 2014, 07:06:09 AM »
Thank you Bugo for this nice mod! :)

In error log:

Code: [Select]
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 ?

Code: [Select]
$txt['qs_no_spoiler_sorry'] = 'qs_no_spoiler_sorry';

Offline Sagar_king

  • Semi-Newbie
  • *
  • Posts: 49
Re: Quick Spoiler
« Reply #111 on: October 09, 2014, 03:59:20 AM »
usefull mod thanks
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

Offline bucch

  • Newbie
  • *
  • Posts: 2
Re: Quick Spoiler
« Reply #112 on: December 08, 2014, 12:13:21 PM »
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)
« Last Edit: December 08, 2014, 12:37:16 PM by bucch »

Offline gaurav09

  • Semi-Newbie
  • *
  • Posts: 59
Re: Quick Spoiler
« Reply #113 on: January 12, 2015, 04:11:13 AM »
can't we add custom html codes like color, size, font in spoiler title ??

Offline gaurav09

  • Semi-Newbie
  • *
  • Posts: 59
Re: Quick Spoiler
« Reply #114 on: January 12, 2015, 10:32:57 AM »
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)

Offline Hristo

  • Jr. Member
  • **
  • Posts: 319
  • Gender: Male
Re: Quick Spoiler
« Reply #115 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
Code: [Select]
display: inline-block;Change it to
Code: [Select]
display: table;OR
Code: [Select]
display: block;Save

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

Offline gaurav09

  • Semi-Newbie
  • *
  • Posts: 59
Re: Quick Spoiler
« Reply #116 on: January 13, 2015, 11:01:10 PM »
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
Code: [Select]
display: inline-block;Change it to
Code: [Select]
display: table;OR
Code: [Select]
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   :'(

Offline Hristo

  • Jr. Member
  • **
  • Posts: 319
  • Gender: Male
Re: Quick Spoiler
« Reply #117 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.

Offline gaurav09

  • Semi-Newbie
  • *
  • Posts: 59
Re: Quick Spoiler
« Reply #118 on: January 14, 2015, 03:20:05 AM »
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

Offline Ataru Moroboshi

  • Semi-Newbie
  • *
  • Posts: 90
Re: Quick Spoiler
« Reply #119 on: September 09, 2015, 08:36:49 AM »
i see jquery code is using live() that is deprecated. that live is intended as a bind? could it be replaced with on()?