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

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
.::.

Advertisement: