Quote from: Bugo on January 15, 2010, 06:34:21 AM
Russian translation:Code Select// Spoiler
$txt['spoiler'] = 'Спойлер';
$txt['spoiler_default_for'] = 'Заголовок';
$txt['spoiler_for'] = '';
$txt['spoiler_hide_button'] = 'Скрыть';
$txt['spoiler_show_button'] = 'Показать';
(https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif) (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Y9RYC29FXQDME&lc=ID¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) | If you like my modification packages, please donate to support their continued development. Any amount will be greatly appreciated. Thank you! |
Quote from: JBlaze on January 10, 2010, 12:34:11 PM
Congrats on your approved mod!
// Spoiler
$txt['spoiler'] = 'Спойлер';
$txt['spoiler_default_for'] = 'Заголовок';
$txt['spoiler_for'] = '';
$txt['spoiler_hide_button'] = 'Скрыть';
$txt['spoiler_show_button'] = 'Показать';
Quote from: Lia Sophie on January 15, 2010, 05:20:30 PM
Thanks a lot for this mod, I just installes it on my german forum (1.1.11) and it works fine.
The only thing is, that I don't know what german word I have to put in here ---->
$txt['spoiler'] = 'Spoiler';
$txt['spoiler_default_for'] = 'Hiden';
$txt['spoiler_for'] = 'for';
$txt['spoiler_hide_button'] = 'Hide';
$txt['spoiler_show_button'] = 'Show';
for the english one.
Quote from: Lia Sophie on January 15, 2010, 05:20:30 PM
Thanks a lot for this mod, I just installes it on my german forum (1.1.11) and it works fine.
The only thing is, that I don't know what german word I have to put in here ---->
$txt['spoiler'] = 'Spoiler';
$txt['spoiler_default_for'] = 'Hiden';
$txt['spoiler_for'] = 'for';
$txt['spoiler_hide_button'] = 'Hide';
$txt['spoiler_show_button'] = 'Show';
for the english one.
$txt['spoiler_default_for'] = 'Verdeckt';
Quote from: Darthx on January 17, 2010, 09:41:55 PMBecause I just wanted to make something different for the SMF, and anyway I do not speak English very well, I was just using google tranlator to communicate with you ;D
sorry to ask, but why didn't you tried to contribute and improve this project (http://custom.simplemachines.org/mods/index.php?mod=195), since its very similar. You could try to contact the author and join forces together.
just wondering ::)
Quote from: William L on January 18, 2010, 07:11:30 AM)
Because I just wanted to make something different for the SMF, and anyway I do not speak English very well, I was just using google tranlator to communicate with you ;D
Quote
$txt['spoiler'] = 'Spoiler';
$txt['spoiler_default_for'] = 'Escondido';
$txt['spoiler_for'] = '-';
$txt['spoiler_hide_button'] = 'Esconder';
$txt['spoiler_show_button'] = 'Mostrar';
array(
'tag' => 'spoiler',
'before' => '<div style="margin:20px; margin-top:5px"><div class="smallfont" style="margin-bottom:2px"><b>' . $txt['spoiler'] . '</b> ' . $txt['spoiler_for'] . ' <i>' . $txt['spoiler_default_for'] . '</i>: <input type="button" value="' . $txt['spoiler_show_button'] . '" style="width:60px;font-size:10px;margin:0px;padding:0px;" onClick="if (this.parentNode.parentNode.getElementsByTagName(' . "'div'" . ')[1].getElementsByTagName(' . "'div'" . ')[0].style.display != ' . "''" . ') { this.parentNode.parentNode.getElementsByTagName(' . "'div'" . ')[1].getElementsByTagName(' . "'div'" . ')[0].style.display = ' . "''" . '; this.innerText = ' . "''" . '; this.value = ' . "'$txt[spoiler_hide_button]'" . '; } else { this.parentNode.parentNode.getElementsByTagName(' . "'div'" . ')[1].getElementsByTagName(' . "'div'" . ')[0].style.display = ' . "'none'" . '; this.innerText = ' . "''" . '; this.value = ' . "'$txt[spoiler_show_button]'" . '; }"></div><div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">',
'after' => '</div></div></div>',
),
array(
'tag' => 'spoiler',
'type' => 'unparsed_equals',
'before' => '<div style="margin:20px; margin-top:5px"><div class="smallfont" style="margin-bottom:2px"><b>' . $txt['spoiler'] . '</b> ' . $txt['spoiler_for'] .' <i>$1</i>: <input type="button" value="' . $txt['spoiler_show_button'] . '" style="width:60px;font-size:10px;margin:0px;padding:0px;" onClick="if (this.parentNode.parentNode.getElementsByTagName(' . "'div'" . ')[1].getElementsByTagName(' . "'div'" . ')[0].style.display != ' . "''" . ') { this.parentNode.parentNode.getElementsByTagName(' . "'div'" . ')[1].getElementsByTagName(' . "'div'" . ')[0].style.display = ' . "''" . '; this.innerText = ' . "''" . '; this.value = ' . "'$txt[spoiler_hide_button]'" . '; } else { this.parentNode.parentNode.getElementsByTagName(' . "'div'" . ')[1].getElementsByTagName(' . "'div'" . ')[0].style.display = ' . "'none'" . '; this.innerText = ' . "''" . '; this.value = ' . "'$txt[spoiler_show_button]'" . '; }"></div><div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">',
'after' => '</div></div></div>',
),
);
Quote from: William L on January 26, 2010, 01:11:33 PMHy William L
I think This is because you do not define $ txt [ 'spoiler_for'] in your language file
$txt['spoiler'] = 'Spoiler';
$txt['spoiler_default_for'] = 'zum spickeln';
$txt['spoiler_for'] = ' ';
$txt['spoiler_hide_button'] = '-';
$txt['spoiler_show_button'] = 'klick';
Quote from: FragaCampos on February 23, 2010, 07:03:19 PM
Thanks for the mod William L, it works fine, but there's one "problem"... it doesn't work with code and quote tags inside...
Can you make this possible?
Quote from: tanshin on March 15, 2010, 09:34:57 AM
Hi there, do you know how this works in RC3?
'disallow_children' => 'quote',
Quote from: clixo on August 15, 2010, 01:28:52 PM
bro william :)
mo tanya
ini mod spoiler nya ga bisa buat hide quote n code yah :)
ada solusi ga?
(http://i33.tinypic.com/2zxro91.jpg)
terimakasih :)
masih pake SMF 1.1.11
Quote from: Kurakama on November 04, 2010, 02:28:54 PM
RC4?
Quote from: PopsicleStickChick on August 29, 2012, 08:04:55 AM
Love this mod. Can "hiden" be changed to "hidden"?
.alt2
{
background: #E1E4F2;
color: #000000;
}
.button
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.smallfont
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
/** SPoiler BBC Mod
*/
.alt2
{
background: #E1E4F2;
color: #000000;
}
.button
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.smallfont
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
/** SPoiler BBC Mod
*/
.inner{
text-overflow: clip;
overflow: visible;
white-space: normal!important;
}
.inner img, .attachments img{
max-width: 95%;
height: auto;
}
/* Make the reCAPTCHA dialog centered to match the positioning of the built-in verification */
.g-recaptcha div div
{
Quote from: KittyGalore on February 27, 2022, 12:02:09 PMFor a start off i'm fully aware of the other spoiler mods i didn't post here to be told there was other mods and to be told to use them.Unless I have completely lost my command of the English language, absolutely no one told you to do anything. It was a suggestion, a note for you, that there are options in case you weren't aware.