Link to the mod (https://custom.simplemachines.org/index.php?mod=3178)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fbit.ly%2FkZVDB6&hash=7836fdef4323714489209ed06cd4e4f88c199aea)
[glow=black,2,300]BBC Spoiler v1[/glow]
Developed by Daniiel (http://www.smfsimple.com/index.php?action=profile;u=425) for SMFSimple.com (http://www.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]
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FjCIyi.png&hash=89bd79e37627ac1cbb1c83741cf70b67f0cd6294)
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 (http://www.smfsimple.com/)[/glow]
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.creativecommons.org%2Fl%2Fby-nc-sa%2F3.0%2F88x31.png&hash=be27368905a4a8052533722bf679594f2501899d) (http://creativecommons.org/licenses/by-nc-sa/3.0/)
muchas gracias por el mod esta genial :D
Nice mod!
Thanks!
Nice dani!
better than the other spoiler mods so far. (: can you make it so that we can have a title? like [spoiler=title]
Updated only for SMF 2.0 and 2.0.1
Enjoy it!
Is there a way to disable the animation? I want my spoiler to appear immediately when clicked.
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.
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.
Doesnt work:
when doing:
[spoiler]test[/spoiler]
it displays:
spoiler
test
It shows correctly in the "topic summary" though. Just not the messages itself
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
Any help with my issue?
On post:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg851.imageshack.us%2Fimg851%2F6933%2Fspoilertest.jpg&hash=9e817091ba2a881d2ba32b73097b1a8df1a25937)
After Post:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg267.imageshack.us%2Fimg267%2F9599%2Fspoilertestafter.jpg&hash=30c94f3ab52336e2c4cd32bf206272cce36b93e8)
Add the modifications to style.css and then a hard refresh (Ctrl + F5)
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 (http://www.anixekai.com/forum)
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
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.
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
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.
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 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!
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; <-------
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.
can you point me to the url where the spoiler is being used please?
http://www.simscrossing.net/smf/index.php
The background: background-color: #F1F1F1;
Ex: background-color: yellow;
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FtyR9G.png&hash=15e60afe4ab6680c3d943e8a454c8720a24ab5bd)
The width and height you can use something like this
width: 100px;
height: 15px;
Ex:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F4TtHB.png&hash=55e6e96c942f88c3f6036b6fe6896ab75fc1ac1e)
Working, thank you! ;D
There is no uninstall button, how to install it ?
Besides How to remove the "Sp" buttons from the editor ?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.majhost.com%2Fgallery%2Fwassim1988%2FPRIVATE%2F14-03-2012_08-09-16.png&hash=a9339f0e0d7f92c4df4d08abb57702143c51d26d)
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...
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 (http://www.anixekai.com/forum/index.php?topic=1875.0)
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 >.<
Who can help me? Q.Q
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.
suggestion: give the spoiler a title:
[spoiler=title*]
so it's like:
Title
and you click on "Title"...which is a spoiler
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
Quote from: littleone on December 02, 2011, 01:50:49 PM
Any help with my issue?
On post:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg851.imageshack.us%2Fimg851%2F6933%2Fspoilertest.jpg&hash=9e817091ba2a881d2ba32b73097b1a8df1a25937)
After Post:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg267.imageshack.us%2Fimg267%2F9599%2Fspoilertestafter.jpg&hash=30c94f3ab52336e2c4cd32bf206272cce36b93e8)
I'm having this problem right now and I have no idea how to fix it.
EDIT: I got it.
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.
Nice MOD,
But when people use internet explorer (9) and the turn of compatibility mode, spoiler is not work.
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.
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.
* 1. Execute Modification ./Sources/Subs.php Test failed
1. Add After ./Sources/Subs.php Test failed
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.
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';
When I click show content, nothing happens... :o
Tried in both Chrome and IE.