News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

BBC Spoiler SMFSimple

Started by vbgamer45, September 11, 2011, 11:06:47 PM

Previous topic - Next topic

vbgamer45

Link to the mod


[glow=black,2,300]BBC Spoiler v1[/glow]
Developed by Daniiel for SMFSimple.com
SMF 2.0.XX



[glow=black,2,300]El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com[/glow]



[glow=black,2,300]Description:[/glow]
Hide any content of a message.

[glow=black,2,300]Descripcion:[/glow]
Oculta cualquier contenido de un mensaje.



[glow=black,2,300]Screenshots | Imagenes[/glow]



Language Support | Lenguajes Soportados
- English
- Spanish_latin
- Spanish_latin-utf8
- Spanish_es
- Spanish_es-utf8



[glow=black,2,300]BBC Spoiler v1[/glow]

[glow=black,2,300]Copyright 2011 | SMFSimple.com[/glow]

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

СΣЅΔЯ

muchas gracias por el mod esta genial :D


4Kstore


¡¡NEW MOD: Sparkles User Names!!!


Jessica.

better than the other spoiler mods so far. (: can you make it so that we can have a title? like [spoiler=title]
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

SSimple Team

Updated only for SMF 2.0 and 2.0.1
Enjoy it!




Mi Web: SMFSimple.com -

Tommiiee

Is there a way to disable the animation? I want my spoiler to appear immediately when clicked.

lean

Quote from: Tommiiee on October 20, 2011, 05:47:55 AM
Is there a way to disable the animation? I want my spoiler to appear immediately when clicked.
No, because there is no way that the meaning of mod that is. You can have what you want with another spoiler mod you'll find in the mod site.

Tommiiee

Quote from: Lean on October 20, 2011, 04:26:08 PM
Quote from: Tommiiee on October 20, 2011, 05:47:55 AM
Is there a way to disable the animation? I want my spoiler to appear immediately when clicked.
No, because there is no way that the meaning of mod that is. You can have what you want with another spoiler mod you'll find in the mod site.
I don't agree. I opened the javascript doc that came with the mod and set '600' to '1'. Now the spoiler opens almost instantly.

littleone

Doesnt work:

when doing:
[spoiler]test[/spoiler]

it displays:
spoiler
test

littleone

It shows correctly in the "topic summary" though.  Just not the messages itself

cameranutzII

Thank you for the mod.

I would like to make it 2x bigger, with a dark background and white font but not sure of myself when changing code without guidance just yet.

Thanks for any help

littleone

Any help with my issue?

On post:



After Post:

4Kstore

Add the modifications to style.css and then a hard refresh (Ctrl + F5)

¡¡NEW MOD: Sparkles User Names!!!

eric1234

Hi, after i installed this mods, immediately my auto image re-size mods (http://custom.simplemachines.org/mods/index.php?mod=1769) is not functioning >.< The images just simply wont auto re-size itself . No matter the images were in the spoiler or not, it somehow just like not functioning.

My Webpage

briggz5d

Description: Hide any content of a message...
C'mon mehn you can do better than that - Give a better description, there are noobs here u know?
Stumbled upon this while looking for a Mode to Lock my Forum posts ONLY from guest viewing.. So it requires registration or login to read forum post.
If this mod doesn't do that"HIDE ANY CONTENT OF A MESSAGE" which isn't very clear what you mean
Do recommend a Mod that can do what i stated above

Arantor

It's not for that purpose, it's just to hide the content until you want to see it... So that you don't give away spoilers unless people want to read them.

Hiding stuff from guests is a bad idea, not only does it put potential members off from joining (because people just go elsewhere) it also hurts SEO because guests includes search engines... And if you hide from guests, you hide from search engines which hurts users finding your site.
Holder of controversial views, all of which my own.


briggz5d

Google and other search engine crawlers can easily be granted access to pages that need Authentication - I don't wanna lock the whole forum - Only certain areas

Arantor

But if you hide content from guests but show search engines, you'll get penalised. Spoilers are not designed to hide content from people who shouldn't see it in the sense of being encouraged to sign up, it's more for discussions like in TV shows, where you don't want to give away secrets except to people who *want* to see, so that if they're a few episodes behind, you won't spoil it for them when discussing current events.
Holder of controversial views, all of which my own.


eric1234

Ok, i noticed after i use this spoiler mod, my youtube as well as other embed function seem to be not working in the spoiler. Can anyone know how to fix it? Normally, i just direct copy the youtube link onto it, then the video will be shown, but then after installed this mods, it only show the link but not the video >.<

The auto embed mod i used is Simple Audio Video Embedder (http://www.simplemachines.org/community/index.php?topic=395039.0)

cameranutzII

Can someone please, please help. I want to make the button 2x bigger, color 375576 and font white so it all matches my forum.

.spoiler_head
{
    margin: 2px 0 2px 0;
    background-color: #F1F1F1;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 2px 5px 2px 5px;
    color: #666;
    text-align: center;
    font: bold 12px Calibri, Verdana, Ariel, sans-serif;
    border: 1px solid #D1D9DF;
    border-radius: 5px;
}
.spoiler_body
{
    margin:0;
    display:none;
    width: auto;
    padding: 5px;
    color:#666;
    background-color:#F1F1F1;
    border: 1px solid #D1D9DF;
    border-radius: 5px;
}


I've tried changing what I thought would be the right code but no go, it's still small, grey, black font.  Guess I still suck at this!  :P  Any help would be appreciated!

distante

Quote from: eric1234 on March 08, 2012, 10:59:20 PM
Ok, i noticed after i use this spoiler mod, my youtube as well as other embed function seem to be not working in the spoiler. Can anyone know how to fix it? Normally, i just direct copy the youtube link onto it, then the video will be shown, but then after installed this mods, it only show the link but not the video >.<

The auto embed mod i used is Simple Audio Video Embedder (http://www.simplemachines.org/community/index.php?topic=395039.0)

Can yo provide me with an url with the error?
Quote from: cameranutzII on March 09, 2012, 04:47:30 PM
Can someone please, please help. I want to make the button 2x bigger, color 375576 and font white so it all matches my forum.

.spoiler_head
{
    margin: 2px 0 2px 0;
    background-color: #F1F1F1;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 2px 5px 2px 5px;
    color: #666;
    text-align: center;
    font: bold 12px Calibri, Verdana, Ariel, sans-serif;
    border: 1px solid #D1D9DF;
    border-radius: 5px;
}
.spoiler_body
{
    margin:0;
    display:none;
    width: auto;
    padding: 5px;
    color:#666;
    background-color:#F1F1F1;
    border: 1px solid #D1D9DF;
    border-radius: 5px;
}


I've tried changing what I thought would be the right code but no go, it's still small, grey, black font.  Guess I still suck at this!  :P  Any help would be appreciated!
background-color: #F1F1F1; <-------

cameranutzII


Quote from: cameranutzII on March 09, 2012, 04:47:30 PM
Can someone please, please help. I want to make the button 2x bigger, color 375576 and font white so it all matches my forum.

.spoiler_head
{
    margin: 2px 0 2px 0;
    background-color: #F1F1F1;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 2px 5px 2px 5px;
    color: #666;
    text-align: center;
    font: bold 12px Calibri, Verdana, Ariel, sans-serif;
    border: 1px solid #D1D9DF;
    border-radius: 5px;
}
.spoiler_body
{
    margin:0;
    display:none;
    width: auto;
    padding: 5px;
    color:#666;
    background-color:#F1F1F1;
    border: 1px solid #D1D9DF;
    border-radius: 5px;
}


I've tried changing what I thought would be the right code but no go, it's still small, grey, black font.  Guess I still suck at this!  :P  Any help would be appreciated!
background-color: #F1F1F1; <-------
[/quote]

Tried changing the background color...still shows grey.

distante

can you point me to the url where the spoiler is being used please?


4Kstore

The background: background-color: #F1F1F1;
Ex: background-color: yellow;



The width and height you can use something like this
width: 100px;
height: 15px;

Ex:





¡¡NEW MOD: Sparkles User Names!!!

cameranutzII


doomx

There is no uninstall button, how to install it ?

Besides How to remove the "Sp" buttons from the editor ?

4Kstore

Quote from: doomx on March 14, 2012, 03:12:52 AM
There is no uninstall button, how to install it ?

Besides How to remove the "Sp" buttons from the editor ?

You need to edit the file: Sources/Subs-editor

Search:

array(
'image' => 'spoiler',
'code' => 'spoiler',
'before' => '[spoiler]',
'after' => '[/spoiler]',
'description' => $txt['des_spoiler']
),


And remove...

¡¡NEW MOD: Sparkles User Names!!!

eric1234

Quote from: eric1234 on March 08, 2012, 10:59:20 PM
Ok, i noticed after i use this spoiler mod, my youtube as well as other embed function seem to be not working in the spoiler. Can anyone know how to fix it? Normally, i just direct copy the youtube link onto it, then the video will be shown, but then after installed this mods, it only show the link but not the video >.<

The auto embed mod i used is Simple Audio Video Embedder (http://www.simplemachines.org/community/index.php?topic=395039.0)
Sorry for the late reply, it was based on the above issue >.<
This is the thread for it
I dunno why sometime it will work, sometime it just shows the youtube links >.<

Quote.spoiler_head
{
    margin: 2px 0 2px 0;
    background-color: #F1F1F1;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 2px 5px 2px 5px;
    color: #666;
    text-align: center;
    font: bold 12px Calibri, Verdana, Ariel, sans-serif;
    border: 1px solid #D1D9DF;
    border-radius: 5px;
    width: 100px;
    height: 15px; 
How come it still cant change the width?

I has tried to change the padding to padding: 2px 45% 2px 45%;
It work on google inspect element but not the actual code >.<

eric1234


virtualsimple

ENGLISH
Do you know any mod that can be configured to manage topics and replies based on the thumbs up or down topics and replies receive? More or less, like the Youtube comments.

So you can set automatic actions:
the post/reply with more thumbs up, goes to the top of the day posts/top of the replies within the post;
more than xxx thumbs up, it turns into an sticky post/correct reply for a post;
more than xxx thumbs down, it gets hidden with a spoiler thing;
more than xxx thumbs down, it goes to the bottom of the day posts and remains hidden/bottom of the replies within a post and remains hidden.;
more than xxx thumbs down, it goes to a previously created recicle bin section.

SPANISH
Alguien conoce de algun mode que maneje los posts y respuestas automaticamente basandose en las pulgares arriba o abajo que reciba el post o respuesta? Mas o menos como los comentarios en Yotube.

Asi, se pueden configurar acciones automaticas:
el post o respuesta con más pulgares arriba, se va al top de los posts del dia o respuestas del post;
mas de xxx pulgares arriba, se convierte en un sticky;
mas de xxx pulgares abajo, se esconde con uno de esos spoilers;
mas de xxx pulgares abajo, se va a final de los posts del dia o de las respuestas del post;
mas de xxx pulgares abajo, se lo manda a una previamente creado foro de reciclaje.

Jessica.

suggestion: give the spoiler a title:

[spoiler=title*]

so it's like:

Title

and you click on "Title"...which is a spoiler
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

MESWEB

If I uninstall i got this error in CPanel:
Quote[Sun May 06 08:26:28 2012] [error] [client 195.117.57.142] File does not exist: /home/messiah/public_html/Themes/default/scripts/spoiler.js, referer: http://yoump3.pl/index.php?action=admin;area=logs;a5b2c8101=be1fc7485051d22918614abff2b51103

tyleryarnelli

#34
Quote from: littleone on December 02, 2011, 01:50:49 PM
Any help with my issue?

On post:



After Post:


I'm having this problem right now and I have no idea how to fix it.

EDIT: I got it.

BGH

#35
Hello, thank you for this mod!  :)

Seems to work fine, but for some odd reason, by default the hided content always is shown up. I modified it a bit, but it was pure CSS changes, so I don't think it can affect much of the functionality of this add-on.

Any help with this?

Thanks in advance!

EDIT: Fixed it. I forgot to add "display:none;" for the "spoiler_body" class in index.css.

lifeguard81

Nice MOD,

But when people use internet explorer (9) and the turn of compatibility mode, spoiler is not work.
www.doenwenu.nl
Excuse me for my english. i am from holland :)

aerolite

After updating my SMF to 2.0.2 the spoiler becomes buggy..

When I used

[spoiler]
Test
[spoiler]

the spoiler works perfectly fine with post/preview, but in the actual post; no spoiler shown.

lean

Sorry, SSimple Team not supported in English language at the moment.
In SMFSimple.com We are looking for partners with this language to provide better support to all.
Thanks for understanding.

05185736

*    1.    Execute Modification    ./Sources/Subs.php    Test failed
      1.    Add After    ./Sources/Subs.php    Test failed
.::.

flash123

Nice mod. This works great for me in 2.0.2. Just wondering if anyone knows how to change 'Show Content' to 'Hide Content' when clicked.

distante

Quote from: flash123 on November 16, 2012, 02:26:44 AM
Nice mod. This works great for me in 2.0.2. Just wondering if anyone knows how to change 'Show Content' to 'Hide Content' when clicked.
The best that you can do is search in

./Themes/default/languages/Modifications.YOURLANGUAGE.php

$txt['spoiler'] = 'Show content';


and change it for
$txt['spoiler'] = 'Show/Hide content';

Dutchi00

When I click show content, nothing happens...  :o

Tried in both Chrome and IE.

Advertisement: