Advertisement:

Author Topic: Quick Spoiler  (Read 58646 times)

Offline natasa (NT)

  • Semi-Newbie
  • *
  • Posts: 66
  • Gender: Female
Re: Quick Spoiler
« Reply #20 on: February 04, 2012, 12:51:04 PM »
Great mod!
I would like to know is it possible to put different background-colors for spoilers on different pages?
(I know that it can be changed in css, but it is same color for all spoilers)
And is it possible to adjust width of spoiler, for example on size of little button before title or on size of spoiler title?
Thanks.

Offline saks

  • Semi-Newbie
  • *
  • Posts: 64
  • Gender: Male
    • Krasnoyarsk paragliding club
Re: Quick Spoiler
« Reply #21 on: February 14, 2012, 11:48:28 PM »
Hi! I am install this mod on my forum after full deinstall other version of spoiler mod (Spoiler Tag), and it work grate in Google Chrome, IE, but not work in Opera browser. I am use SMF 2.0.2 and new wersion of browsers. How fix this problem?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,533
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Spoiler
« Reply #22 on: February 15, 2012, 02:33:56 AM »
I have no this problem. Opera 11.61

Offline saks

  • Semi-Newbie
  • *
  • Posts: 64
  • Gender: Male
    • Krasnoyarsk paragliding club
Re: Quick Spoiler
« Reply #23 on: February 15, 2012, 06:55:51 AM »
I am use this version too. Is you a look my link and it work?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,533
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Spoiler
« Reply #24 on: February 15, 2012, 07:01:49 AM »
Of course.

Offline natasa (NT)

  • Semi-Newbie
  • *
  • Posts: 66
  • Gender: Female
Re: Quick Spoiler
« Reply #25 on: February 24, 2012, 07:20:31 AM »
Great mod!
I would like to know is it possible to put different background-colors for spoilers on different pages?
(I know that it can be changed in css, but it is same color for all spoilers)
And is it possible to adjust width of spoiler, for example on size of little button before title or on size of spoiler title?
Thanks.

I resolved color problem  :laugh:!
And it would be really nice to have spoiler button-like, but do not know is it possible with this mod or I need something completely different?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,533
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Spoiler
« Reply #26 on: February 24, 2012, 08:38:19 AM »
Like button? Did you try Spoiler BBCode and/or Spoiler Tag?

Offline natasa (NT)

  • Semi-Newbie
  • *
  • Posts: 66
  • Gender: Female
Re: Quick Spoiler
« Reply #27 on: February 25, 2012, 01:39:41 AM »
 I didn't.
I'll try that, thanks!

Offline Shadowvirus

  • Semi-Newbie
  • *
  • Posts: 11
Re: Quick Spoiler
« Reply #28 on: February 26, 2012, 05:49:15 AM »
Nice mod, but I have a prbloem with ssi_boardnews.
The spoiler do not work - what can I do to get it run?

Offline impreza

  • Sophist Member
  • *****
  • Posts: 1,054
    • infomiasto.eu
Re: Quick Spoiler
« Reply #29 on: February 26, 2012, 06:01:04 AM »
Cool changes you are doing a very good job
Portal infomiasto.eu - treści w postaci artykułów i filmów tematycznych

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 503
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Quick Spoiler
« Reply #30 on: March 26, 2012, 02:01:26 AM »
For some reason, I can't open spoilers when I am viewing the spoilers in preview mode
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline lordnex

  • Newbie
  • *
  • Posts: 2
Re: Quick Spoiler
« Reply #31 on: April 15, 2012, 07:42:34 PM »
Hi Bugo,

I have recently installed quick spoiler - version 0.9.1 on my new forum and there seems img2 tag is not available anymore, which I have on my other forum where version 0.8 is installed.

Downgrading from 0.9.1 to 0.8 also didn't work, spoilers wouldn't work at all after that.

Any help advice? Can I and how activate img2 on 0.9.1? Or how to downgrade it 0.8? (I guess something is left from 0.9.1 after removing it)...  or should I just wait for new upgrade?


Thanks

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,533
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Spoiler
« Reply #32 on: April 16, 2012, 01:29:53 AM »
Just make export of your database (smf_messages table), replace all "img2" with "img", then make import back to database. It's easy.

Offline lordnex

  • Newbie
  • *
  • Posts: 2
Re: Quick Spoiler
« Reply #33 on: April 16, 2012, 11:43:28 AM »
lol, that's not at all what I want... :)

I don't want to replace img2 with img, I want img2 functionality on my forum - thumbnail that opens in popup screen on click!
Why is it omitted from latest versions?

Offline Kodeh

  • Semi-Newbie
  • *
  • Posts: 25
Re: Quick Spoiler
« Reply #34 on: June 10, 2012, 05:38:04 PM »
Thanks, works just as promised.

Offline ddabcd277

  • Jr. Member
  • **
  • Posts: 161
  • Gender: Male
    • Garmin GPS Club
Re: Quick Spoiler
« Reply #35 on: July 01, 2012, 08:41:52 AM »
Hi Bugo,

I created a page using SSI.php. How to make the quick spoiler work with it?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,533
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Spoiler
« Reply #36 on: July 01, 2012, 10:25:06 PM »
In Subs-QuickSpoiler.php find this block:
Code: [Select]
if (!in_array($context['current_action'], array('helpadmin', 'printpage')) && !WIRELESS)
{
$context['insert_after_template'] .= '
<script type="text/javascript">!window.jQuery && document.write(unescape(\'%3Cscript src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"%3E%3C/script%3E\'))</script>
<script type="text/javascript">!window.jQuery && document.write(unescape(\'%3Cscript src="' . $settings['default_theme_url'] . '/scripts/jquery-1.7.1.min.js"%3E%3C/script%3E\'))</script>
<script type="text/javascript"><!-- // --><![CDATA[
jQuery(document).ready(function($){
$(".sp-body").hide();
$(".sp-head").click(function(){
$(this).toggleClass("sp-open").toggleClass("sp-closed").next().toggle();
});
});
// ]]></script>';
}
and replace it with:
Code: [Select]
$context['insert_after_template'] .= '
<script type="text/javascript">!window.jQuery && document.write(unescape(\'%3Cscript src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"%3E%3C/script%3E\'))</script>
<script type="text/javascript">!window.jQuery && document.write(unescape(\'%3Cscript src="' . $settings['default_theme_url'] . '/scripts/jquery-1.7.1.min.js"%3E%3C/script%3E\'))</script>
<script type="text/javascript"><!-- // --><![CDATA[
jQuery(document).ready(function($){
$(".sp-body").hide();
$(".sp-head").click(function(){
$(this).toggleClass("sp-open").toggleClass("sp-closed").next().toggle();
});
});
// ]]></script>';

Offline ddabcd277

  • Jr. Member
  • **
  • Posts: 161
  • Gender: Male
    • Garmin GPS Club
Re: Quick Spoiler
« Reply #37 on: July 02, 2012, 09:03:48 AM »
Hi Bugo,

Would you make it? I am using the default theme not core on smf 2.0.2.

Thanks,

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,064
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: Quick Spoiler
« Reply #38 on: July 02, 2012, 02:42:39 PM »
I have small problem with this spoiler. If i want to add inside [code] or [quote] it shows only first line with scrollbar :|

If inside is only regular text it shows everything. How can I fix it?

SMF 2.0.2
With few mods:
1.   Quick Spoiler   0.9.2
2.   SP-Shoutbox Notification Sound HTML5   0.5
3.   SimpleColorizer   1.1
4.   Tapatalk SMF 2.0 RC4/RC5/Final Plugin   3.0.2
5.   Switch Permissions   1.0
6.   SimplePortal   2.3.5
Polskie wsparcie SMF na simplemachines.org

My mods

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,533
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Spoiler
« Reply #39 on: July 03, 2012, 12:41:02 AM »
@ddabcd277, you can do it yourself.
@phantomm, I have no this problem. Are you using Curve theme?