News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Hide Tag Special

Started by enik, April 11, 2005, 03:41:07 PM

Previous topic - Next topic

Tuplad

Oh nevermind brotha, I've fixed it :) Just copied the content from the language files.

ディン1031

Quote from: Tuplad on April 21, 2008, 02:03:29 PM
Quote from: ディン1031 on April 21, 2008, 12:45:32 AM
Quote from: Tuplad on April 19, 2008, 01:27:41 PM
I've got a problem...

My forum is Dutch and if I go to controls of the Hide mod, I get no text. Can I somehow make it work ? I don't mind if the controls are English or Russian.
Look into the Settings there are Options for alter text for hidden and unhidden content. It could also be Langaugerelated if you use it correct ;).
Admin -> Posts and Topics -> Hide Tag Special

For your next Question: the button is attached to the first post of this thread.

Bye
DIN1031
Oh, I've got the button. thanks!

But what I meant is, when I get to the control panel, I don't see no text but just characters like ":", ",", ".", etc. So no actual text because the mod isnt translated to Dutch. Can I just somehow copy the English translation and rename it to Dutch so the forum will recognize it as Dutch ?
Yes this will work the other way it switch to the English language with your account, than it should be seen, too.

I don't have a dutch translation of the Mod so it would be normal that it not seen in the dutch version.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Ikhsan4488

can i use this mod for smf 1.1.5?

K-42

I used the version 1.1.4 and this mod (1.7.0) and it worked perfectly! But then i upgrated my< forum to the new 1.1.5 version and it doesn't work. This mod is very important for my forum. Please help...

Thx,
K-42.

Spidtuelv

Same problem here,it is not compatible with smf 1.1.5  :(

K-42

I want to ask, when the compatible version comes online. Thanks a lot for this mod.

ディン1031

#786
Version 2.2.0
- SMF 2.0 Beta 3.1 Compatible

Version 1.7.0
- SMF 1.1.5 Compatible

... why can people not wait ;), i will test my mods before i give them official free for a version ;). (At least the install.)

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

deckonja

Hi,

I need your help din1031 !

I've installed your mode and it's working exelent, but i need to put some image before and after a unhiddencontent !

In settings in admin panel i set to display picture before unhiddencontent, but there is no option to display picture before and after in the same time !

Help me please !

ディン1031

Before and after... i never heard someone will use this oO.

You mean
{picture}{hidden content}{picture} or {picture}{unhidden content}{picture} and this on each hidden content?

I think this can be done with the styles.css an the "hiddencontent" class.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Apllicmz

Thank Update

Linguage portuguese

<file name="$languagedir/Admin.portuguese.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Hide Tag Special Options
$txt['hidetagspecial_titel'] = 'Esconder especial';
$txt['hidetagspecial_description'] = 'Você pode ajustar todo as difinicoes que necessitou para Hide Tag Special mod "[hide][/hide]"';
$txt['hide_MUIswitch'] = 'MUI SWITCH';
$txt['hide_enableHTML'] = 'Enable HTML';
$txt['hide_enableHTML_help'] = 'Permita-lhe o HTML do uso sobre Esconder or Mostrar Text';
$txt['hide_enableUnhiddenText'] = 'Permitir mostrar Informaçao';
$txt['hide_hiddentext'] = 'Informação Escondida Do Texto';
$txt['hide_unhiddentext'] = 'Mostrar texto informações';
$txt['hide_hiddentext_help'] = 'BBC permitido, você pode usar <strong>$txtvariable</strong> and <strong>$language</strong>,<br />olhe na ajuda para mais informacao.';
$txt['hide_onlyonetimeinfo'] = 'Mostrar nao escondido a Informação do texto uma vez';
$txt['hide_onlyonetimeinfo_help'] = 'Isto será mostrado somente na extremidade do poste.';
$txt['hide_noinfoforguests'] = 'Informação do texto escondido para convidados';
$txt['hide_karmaenable_help'] = 'Esta opção deve ser permitida que todas as opções do karma trabalham';
$txt['hide_karmaenable'] = 'Permitir suporte de Karma escondido';
$txt['hide_minkarmaunhide'] = 'Minmum karma conte para permitir o índice do unhide';
$txt['hide_minkarmaautounhide'] = 'Contagem do karma de Minmum ao índice do unhide sem postar';
$txt['hide_minimumkarmaandpost'] = 'A necessidade do usuário o karma e o quadro mínimos ver o índice escondido';
$txt['hide_onlykarmagood'] = 'Count only the Karma Good value not the total summary';
$txt['hide_autounhidegroups'] = 'Allowed Groups to see a hidden content without posting';
$txt['hide_minpostunhide'] = 'Minmum post count to allow unhide content';
$txt['hide_minpostautounhide'] = 'Contagem do poste Minima ao índice do unhide sem postar';
$txt['hide_minpostautounhide_help'] = '"0" ou esvazíe para incapacitar esta opção';
$txt['hide_useSpanTag'] = 'Use SPAN html tag instead of DIV.';
$txt['hide_posUnhiddenText'] = 'Posição para a informação do texto de Unhidden';
$txt['hide_posUnhiddenOption1'] = 'Antes Do Índice Escondido';
$txt['hide_posUnhiddenOption2'] = 'Antes no índice escondido';
$txt['hide_posUnhiddenOption3'] = 'Em seguida no índice escondido';
$txt['hide_posUnhiddenOption4'] = 'Após O Índice Escondido';
]]></add>
</operation>
</file>



<file name="$languagedir/index.portuguese.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['hide_hiddentext'] = 'Está aqui um pequeno segredo do... Ou nao?';
$txt['hide_unhiddentext'] = 'Meu pequeno segredo mostro agora ... Ou nao?';
]]></add>
</operation>
</file>



Suporte utf8
<file name="$languagedir/Admin.portuguese-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Hide Tag Special Options
$txt['hidetagspecial_titel'] = 'Esconder especial';
$txt['hidetagspecial_description'] = 'Voc&ecirc; pode ajustar todo as difini&ccedil;&otilde;es que necessitou para Esconder especial mod "[hide][/hide]"';
$txt['hide_MUIswitch'] = 'MUI SWITCH';
$txt['hide_enableHTML'] = 'Activar HTML';
$txt['hide_enableHTML_help'] = 'Permita-lhe o HTML do uso sobre Esconder or Mostrar Texto';
$txt['hide_enableUnhiddenText'] = 'Permitir mostrar Informa&ccedil;&atilde;o';
$txt['hide_hiddentext'] = 'Informa&ccedil;&atilde;o Escondida Do Texto';
$txt['hide_unhiddentext'] = 'Mostrar texto informa&ccedil;&otilde;es';
$txt['hide_hiddentext_help'] = 'BBC permitido, voc&ecirc; pode usar <strong>$txtvariable</strong> and <strong>$language</strong>,<br />olhe na ajuda para mais informa&ccedil;&atilde;o.';
$txt['hide_onlyonetimeinfo'] = 'Mostrar nao escondido a Informa&ccedil;&atilde;o do texto uma vez';
$txt['hide_onlyonetimeinfo_help'] = 'Isto ser&aacute; mostrado somente na extremidade do poste.';
$txt['hide_noinfoforguests'] = 'Informa&ccedil;&atilde;o do texto escondido para convidados';
$txt['hide_karmaenable_help'] = 'Esta op&ccedil;&atilde;o deve ser permitida que todas as op&ccedil;&otilde;es do karma trabalham';
$txt['hide_karmaenable'] = 'Permitir suporte de Karma escondido';
$txt['hide_minkarmaunhide'] = 'Minmum karma conte para permitir o índice do mostrar';
$txt['hide_minkarmaautounhide'] = 'Contagem do karma de Minmum ao índice domostrar sem postar';
$txt['hide_minimumkarmaandpost'] = 'A necessidade do membro o karma e o quadro m&iacute;nimos ver o índice escondido';
$txt['hide_onlykarmagood'] = 'Contar apenas o Karma Boa valor total n&atilde;o corresponde ao sum&aacute;rio';
$txt['hide_autounhidegroups'] = 'Grupos admitidos para ver um conte&uacute;do escondido sem postar';
$txt['hide_minpostunhide'] = 'Minmum p&oacute;s contar para permitir exibir conte&uacute;do';
$txt['hide_minpostautounhide'] = 'Contagem do poste Minima ao índice do mostrar sem postar';
$txt['hide_minpostautounhide_help'] = '"0" ou esvaz&iacute;e para incapacitar esta op&ccedil;&atilde;o';
$txt['hide_useSpanTag'] = 'Use SPAN html tag instead of DIV.';
$txt['hide_posUnhiddenText'] = 'Posi&ccedil;&atilde;o para a informa&ccedil;&atilde;o do texto de n&atilde;o escondido';
$txt['hide_posUnhiddenOption1'] = 'Antes Do &Iacute;ndice Escondido';
$txt['hide_posUnhiddenOption2'] = 'Antes no &iacute;ndice escondido';
$txt['hide_posUnhiddenOption3'] = 'Em seguida no &iacute;ndice escondido';
$txt['hide_posUnhiddenOption4'] = 'Após O &Iacute;ndice Escondido';
]]></add>
</operation>
</file>


</file>
<file name="$languagedir/index.portuguese-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['hide_hiddentext'] = 'Est&aacute; aqui um pequeno segredo do... Ou n&atilde;o?';
$txt['hide_unhiddentext'] = 'Meu pequeno segredo mostro agora ... Ou n&atilde;o?';
]]></add>
</operation>
</file>



2pac

OH MY GOD!!!

THIS MOD REEKS OF AWESOMENESS!!!!

Thank you!

black.beard

#791
installed system- smf 1.1.4 updated to 1.1.5 on SoftMC Blue theme

both the core hide tag & the hide tag bbc button installed fine.
but during posting it looks like this-


another problem, i want to post the hidden contents inside a code box so that when replied, they r shown inside the code box & it does. only prob is it adds a [hide] in front of the original message.


[edit: i think i found a workaround for the second problem, but please help me solve the first problem.]

ディン1031

#792
The image is not in your theme dir, the other thing is stange oO normal this will be parsed normal over the parser without changes.

But i will test it later.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

black.beard

oops :$
thanx ディン1031, that solves it :D

any chance the second one could be solved too?

ディン1031

Quote from: black.beard on May 07, 2008, 01:42:44 AM
oops :$
thanx ディン1031, that solves it :D

any chance the second one could be solved too?
Normal this should not happen any more, because i fixed it for the code tag ;). (I think this come because of the not parsed code inside the code tag. But it's fixable, but i will do that at evening.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

deckonja

Quote from: ディン1031 on May 04, 2008, 09:57:42 AM
Before and after... i never heard someone will use this oO.

You mean
{picture}{hidden content}{picture} or {picture}{unhidden content}{picture} and this on each hidden content?

I think this can be done with the styles.css an the "hiddencontent" class.

Bye
DIN1031

Yes, this can be done with style.css and I have css looking like this
/* A unhidden content. */
.hiddencontent
{
background: transparent url(images/code_bg.gif) repeat-y top left;
width:747px;
color:#317098;
text-align:left;
padding:5px 5px 0 20px;
font: bold 8pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
color:#317098;
}

/* The "A unhidden content." header parts... */
.hiddencontentheader
{
background: transparent url(images/header.png) no-repeat top left;
width:747px;
height:51px;
}

/* The "A unhidden content." header parts... */
.hiddencontentfooter
{
background: transparent url(images/footer.png) no-repeat top left;
width:747px;
height:22px;
}


and it is not working !
I don't now what i have to change in your mode to display this parts ( header and footer ) !

Thanks and sorry for my bad english !

ディン1031

Quote from: deckonja on May 07, 2008, 11:15:15 AM
Quote from: ディン1031 on May 04, 2008, 09:57:42 AM
Before and after... i never heard someone will use this oO.

You mean
{picture}{hidden content}{picture} or {picture}{unhidden content}{picture} and this on each hidden content?

I think this can be done with the styles.css an the "hiddencontent" class.

Bye
DIN1031

Yes, this can be done with style.css and I have css looking like this
/* A unhidden content. */
.hiddencontent
{
background: transparent url(images/code_bg.gif) repeat-y top left;
width:747px;
color:#317098;
text-align:left;
padding:5px 5px 0 20px;
font: bold 8pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
color:#317098;
}

/* The "A unhidden content." header parts... */
.hiddencontentheader
{
background: transparent url(images/header.png) no-repeat top left;
width:747px;
height:51px;
}

/* The "A unhidden content." header parts... */
.hiddencontentfooter
{
background: transparent url(images/footer.png) no-repeat top left;
width:747px;
height:22px;
}


and it is not working !
I don't now what i have to change in your mode to display this parts ( header and footer ) !

Thanks and sorry for my bad english !

The only idea that can work is:

Replace in $sourcedir/Subs.php

$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div>';

with
$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontentheader"></div><div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div><div class="hiddencontentfooter"></div>';


But think it's possible that you can not upgrade any more ;). If i change something there.
And it's not tested that it work like it should ;). But i think you see what you need to do.



Quote from: black.beard on May 07, 2008, 01:42:44 AM
oops :$
thanx ディン1031, that solves it :D

any chance the second one could be solved too?
Upgrade to Version 1.7.1 this will fix it for all time...

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

deckonja

The only idea that can work is:

Replace in $sourcedir/Subs.php

$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div>';
with

$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontentheader"></div><div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div><div class="hiddencontentfooter"></div>';



Thank's man , that is that !

It is working now perfectly !!!

You are the KING !!!

osmaniac


msvdm

How to make the mod to work only with special membergroups :

for example V.I.P ore higher groups to see the hidden info

Advertisement: