News:

Wondering if this will always be free?  See why free is better.

Main Menu

Spoiler Tag

Started by AzaToth, September 20, 2005, 11:37:42 PM

Previous topic - Next topic

davidhs

Can you modify your MOD so that it do not add "Spoiler" text to custom title?

I do this on my forum
QuoteOn function build_spoiler, replace
if($topic != '')
$topic = ':'.$topic;

by
if($topic == '')
$topic = $txt['spoiler_tag_text'];

and replace
$txt['spoiler_tag_text'].$topic
by
$topic

naoko15

Hello, i've just installed your mod in my SMF 2.04 board. I need to remove the (click to show/hide) text  but there's no way i can do this.

I've removed the text from "Themes/default/languages/Modifications.english.php' but it keeps on showing up.

What can i do?

Thanks.

Apllicmz

Update portuguese_pt
smf 2.x



Neo_TE

Quote from: naoko15 on June 17, 2013, 04:45:59 AM
Hello, i've just installed your mod in my SMF 2.04 board. I need to remove the (click to show/hide) text  but there's no way i can do this.

I've  but it keeps on showing up.

What can i do?

Thanks.

If your forum is using UTF8 then you should remove the text from "Themes/default/languages/Modifications.english-utf8.php'

GleamPlay.com

hello I just installed your mod.
I really like the style of the "Hover type"
but at the same time I would like it to be click to show/hide.

Is it possible to actually use the hover style but click to show/hide?
Gleam - http://gleamplay.com
The SMF to have fun, meet new friends and play games!

Jeffrey King

Quote from: Gleam.tk on February 01, 2014, 06:48:55 AM
hello I just installed your mod.
I really like the style of the "Hover type"
but at the same time I would like it to be click to show/hide.

Is it possible to actually use the hover style but click to show/hide?

Yep

GleamPlay.com

Gleam - http://gleamplay.com
The SMF to have fun, meet new friends and play games!

NekoJonez

I have a problem :/ The spoilers always appear without any space between each other.

What I see:

spoiler
spoiler

What I hoped to see:

spoiler

spoiler.

It even ignores if I made an enter or not. :/
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

alexetgus

Correction for french.
Translation is no correct... :P

File /languages/french.xml of mod.

<?xml version="1.1"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>azatoth:spoiler</id>


<!-- Default Theme -->
<file name="$languagedir/index.french.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
$txt['spoiler_tag_text'] = 'Spoiler';
$txt['spoiler_tag_click_info'] = '(Cliquez pour montrer ou cacher)';
$txt['spoiler_tag_hover_info'] = '(Survoler pour montrer)';
]]></add>
</operation>
</file>

<file name="$languagedir/Themes.french.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
$txt['spoiler_tag_label'] = 'Titre du Spoiler';
$txt['spoiler_tag_desc'] = 'Le d&eacute;faut est <b>voir au survol</b> si non sp&eacute;cifi&eacute; dans les param&egrave;tres. Vous pouvez changer pour <b>Voir au clic sur le lien</b> ou <b>voir au clic sur le bouton</b>.';
$txt['spoiler_tag_onhoverovershow'] = 'Voir au survol';
$txt['spoiler_tag_onlinkclickshow'] = 'Voir au clic sur le lien';
$txt['spoiler_tag_onbuttonclickshow'] = 'Voir au clic sur le bouton';
]]></add>
</operation>
</file>
</modification>



Linkjay

Very beautiful! Was able to install it successfully on my SMF 2.0.13 forums with only one issue; it didn't install properly on non-default themes but I was able to work on it and make it work with my non-default themes.
I play games in my free time and volunteer my knowledge and support to the gaming communities of the internet.

You can contact me by these methods:
Use my Contact Script • PM me here • Add me on Steam

jamesalan85

I installed on the mod.

Advertisement: