News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Boton BBC para "Hide Tag" para SMF 1.1.X y SMF 2RC3, RC4

Started by EgAr, August 01, 2007, 10:09:13 PM

Previous topic - Next topic

kkunmi

Quote from: puchitus on March 08, 2009, 09:41:17 PM
Quote from: kkunmi on March 08, 2009, 07:57:24 PM

una duda, ya que estoy. Me sale todo perfecto, pero el boton del hide me aparece en un lugar un poco conflictivo, y me gustaria saber si se puede cambiar de sitio. He hecho una captura para explicarme mejor ;)

es posible hacerlo? :-\ gracias :P

En el post.template.php busca:

$context['bbc_tags'][] = array(

y trasladas el código de tu botón al final de la lista de array (), que te sale y antes de );

Saludos.

muchisimas gracias, lo probare y ya os cuento :D

ALLEN WALKER

Quote'ftp' => array('code' => 'ftp', 'before' => '', 'after' => ' [nofollow]', 'description' => $txt[434]),
ya busque este codigo en el archivo Post.template tengo el SMF 2.0 RC1
busque el archivo en mi tema y no lo encontre entonces lei
que buscara el de detaut tema lo busque y lo encontre pero no encotre lo que mecione antes
alguna ayuda para instalarlo

lucas-ruroken

estar esta
busca solamente asta aca
Quote'ftp' => array('code' => 'ftp', 'before

aver qe pasa


PD: yo lo instale y tmb lo encontraba y lo hice asi como te dije y aparecio

Saludos ^^
Adk Portal 3.1 is coming....

Design your universe!

chamitux

Quote from: EgAr on August 05, 2007, 04:58:38 PM
eso se hace en la configuracion del mod...

sino la ves, seguramente te falta la traduccion al español... pon el foro en ingles, configura el HIDE y luego lo vuelves a español.

por si alguien se anima a traducirlo, dejo el archivo atraducir:


<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>din1031:HideTag</id>
<version>1.6.0</version>
<info>Install the english Language for the Hide Tag Special</info>
<homepage>http://www.ayu-kult.de</homepage>
<file name="$languagedir/Admin.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Hide Tag Special Options
$txt['hidetagspecial_titel'] = 'Hide Tag Special';
$txt['hidetagspecial_description'] = 'You can set all the Setting that needed for the Hide Tag Special mod "[hide][/hide]"';
$txt['hide_MUIswitch'] = 'MUI SWITCH';
$txt['hide_enableHTML'] = 'Enable HTML';
$txt['hide_enableHTML_help'] = 'Allow you use html on Hidden or Unhidden Text';
$txt['hide_enableUnhiddenText'] = 'Enable Unhidden Information';
$txt['hide_hiddentext'] = 'Hidden Text Information';
$txt['hide_unhiddentext'] = 'Unhidden Text Information';
$txt['hide_hiddentext_help'] = 'BBC allowed, You can use <strong>$txtvariable</strong> and <strong>$language</strong>,<br />look into the help for more info.';
$txt['hide_onlyonetimeinfo'] = 'Show the un-/hidden Text Information one time';
$txt['hide_onlyonetimeinfo_help'] = 'This will be only shown at the end of the Post.';
$txt['hide_noinfoforguests'] = 'Hide Text Information for guests';
$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'] = 'Minmum post count to unhide content without posting';
$txt['hide_minpostautounhide_help'] = '"0" or empty to disable this option';
$txt['hide_useSpanTag'] = 'Use SPAN html tag instead of DIV.';
$txt['hide_posUnhiddenText'] = 'Position for Unhidden Text Information';
$txt['hide_posUnhiddenOption1'] = 'Before Hidden Content';
$txt['hide_posUnhiddenOption2'] = 'Before in Hidden Content';
$txt['hide_posUnhiddenOption3'] = 'After in Hidden Content';
$txt['hide_posUnhiddenOption4'] = 'After Hidden Content';
]]></add>
</operation>
</file>
<file name="$languagedir/Help.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['hide_MUIswitch_help'] = '
<strong>MUI SWITCH - Hide Tag Special</strong><br /><br />
This Option is for Multi Language Forums, it enable the replacment for
<strong>$txtvariable</strong> with $txt[\'hide_hiddentext\']
or $txt[\'hide_unhiddentext\']. So that it use the correct Language
for the user. Please don\'t forget to insert the $txtvariable in the
Textarea of the Infomation so that you can use it.<br />
<span class="smalltext">You find this variable in <strong>index.english.php</strong> for example</span>';
$txt['hide_unhiddentext_help'] = '
<strong>Unhidden Informations - Hide Tag Special</strong><br /><br />
This information appear after you post to a thread, and will be shown after a Hide Tag.
So that the user know the content is unhidden.';
$txt['hide_text_help'] = '
<strong>Text Informations - Hide Tag Special</strong><br /><br />
Normal the Textarea will be BBC Parsed.<br />
You can use the Area to give a user the Infomation that there is a hidden or unhidden content.<br />

In the area you can use 2 Variables for MUI use.<br /><br />
<strong>$language</strong>:<br />
This will replace with the language that the user use.<br />
<em>Example:</em> <strong>hidden_$language</strong> will be in the output <strong>hidden_english</strong>
when the user use english as language.<br /><br />
<strong>$txtvariable</strong>:<br />
Work only if you enable the MUI Switch!<br />
This will replace the $txtvariable with the $txt[\'hide_hiddentext\'] or $txt[\'hide_unhiddentext\']
to make it Multilingual useable.<br />
<em>Example:</em> [b]$txtvarible[/b] will be in english something like
<div class="quote"><strong>The text from the index.english.php</strong></div>
because the $txtvariable is replaced with this.<br /><br />
<em>Some Examples for Hidden/Unhidden Informations:</em><br />
If you like to use a Image for the Text use:
<div class="code">[img]http://www.example.com/image.jpg[/img]</div>
Do you like to use a Image that be diffrent for each language use:
<div class="code">[img]http://www.example.com/$lanuguage.jpg[/img]</div>
You can also combine text and picture:
<div class="code">Here is a secret, please post to see it.[br][img]http://www.example.com/hidden.jpg[/img]</div>
[br] stands for a new line.
You can also combine MUI Switch and $language Picture:
<div class="code">$txtvariable[br][img]http://www.example.com/$lanuguage.jpg[/img]</div>
<span class="smalltext">$txtvariable will replace only if you enable MUI Switch</span>';
$txt['hide_useSpanTag_help'] = '
<strong>SPAN instead of DIV - Hide Tag Special</strong><br /><br />
Use &lt;span class=&quot;hiddencontent&quot;&gt;Hidden Value&lt;/span&gt; instead
of &lt;div class=&quot;hiddencontent&quot;&gt;Hidden Value&lt;/div&gt; after unhidding Text.';
$txt['hide_posUnhiddenText_help'] = '
<strong>Unhidden Text Position - Hide Tag Special</strong><br /><br />
With this you can select where the unhidden text should be stand,
after unhidding the content.<br /><br />
<u>Before Hidden Content</u>:<br />
<strong>Unhidden Text</strong>&lt;div class=&quot;hiddencontent&quot;&gt;Hidden Value&lt;/div&gt;<br />
<u>Before In Hidden Content</u>:<br />
&lt;div class=&quot;hiddencontent&quot;&gt;<strong>Unhidden Text</strong> Hidden Value&lt;/div&gt;<br />
<u>After In Hidden Content</u>:<br />
&lt;div class=&quot;hiddencontent&quot;&gt;Hidden Value <strong>Unhidden Text</strong>&lt;/div&gt;<br />
<u>After Hidden Content</u>:<br />
&lt;div class=&quot;hiddencontent&quot;&gt;Hidden Value&lt;/div&gt;<strong>Unhidden Text</strong><br />
<br />
This Option will only work when you enable Unhidden Text Information and not enabled the
Option for "Show the un-/hidden Text Information one time".';
]]></add>
</operation>
</file>
<file name="$languagedir/index.english.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['hide_hiddentext'] = 'Here is a litte secret... Or not?';
$txt['hide_unhiddentext'] = 'My little secret is shown now... Or not?';
]]></add>
</operation>
</file>
</modification>



Que pena con usted, como se llama este archivo?? quiero hacer la traduccion respectiva y volver a compartirlo con todos ustedes.

Gracias


Chamitux

chamitux

Sumercedes

Agregue tal como se dijo y especificó y no me sale el boton, será que necesito hacer algo adicional?? Especifico que no soy novato asi que no pregunten si ya hizo esto o aquello, segui los pasos descritos e hice los cambios referentes pero el boton aun esta oculto.

Me ayudan por favor.

Gracias


Chamitux

_________________________________________________

Chamo
A la conquista del mundo Freeware
Mi pagina de Recursos Cristianos  .::. ZonaKristiana - La Zona de Recursos Cristianos .::. [nofollow]

Impsat-1

Mmm... saca las "propiedades" en el lugar donde deberia aparecer el boton y colocalo en esa ruta, ojala te funcione... :)

Mis Saludos y Deseos de EXITOS!!! 8).-
Vive Cáda Momento De Tu Vida Como Si Fueras a Irte Mañana, Más Planificala Cómo Si Jamás Fueras a Irte ;).-

esnakesfc

donde esta el boton para bajarselo?

pd ya lo encontre  :)

esnakesfc

hola e conseguido instalarlo pero cuando pongo enlaces dendro del hide no me sale ninguna imagen ni texto como puedo acerloo??

lucas-ruroken

Fijate que esten echas todas las traducciones

PD: Usa el buscador que esto se respondio u.u
Adk Portal 3.1 is coming....

Design your universe!

chamitux

Hola

Gracias por el boton y me toco hacerlo manual debido a que me salia un errror de permisos de escritura en la carpeta packages, que ni idea porque salio.  Esta funcionando al peluchin...

Quieren ver como quedo??? aqui ta http://zonakristiana.co.cc [nofollow]

Dios los bendiga

__________________________

Chamo
A la conquista del mundo Freeware
Mi pagina de Recursos Cristianos  .::. ZonaKristiana - La Zona de Recursos Cristianos .::. [nofollow]

esnakesfc

Quote from: lucas-ruroken on April 23, 2009, 11:51:11 AM
Fijate que esten echas todas las traducciones

PD: Usa el buscador que esto se respondio u.u
yo e echo la modificacion que pone en el primer post despues en boton me sale y me funciona bien y en el panel de administracion no me sale para poner le mensaje que quiero poner

lucas-ruroken

Eso es para la traduccion
hazla en  los archivos de tu idioma
y ahi te tendria que aparecer ;)
Adk Portal 3.1 is coming....

Design your universe!

esnakesfc

Quote from: lucas-ruroken on April 23, 2009, 06:41:07 PM
Eso es para la traduccion
hazla en  los archivos de tu idioma
y ahi te tendria que aparecer ;)
solo tengo este archivo "index.spanish_latin.php" deberia de tener otro?

esnakesfc

esque creo que no tengo instalad el mod "Hide Tag" solo el boton pero cuando e encontrado el mod lo e ido a bajar para mi version y me da error y no encuentro otro que sirba mi version 1.1.8 tema default sabes de uno que fuincione para mi verson de foro y mi tema??

HackRos

yo tengo un problema!!!
le pUSE Eso a mi foro

y e puesto que salga en HTML
a los usuarios no registrados, y miren lo que me sale



ese es el code HTML


y esto, es lo que me sale




y deberia salir una imagen que lleve a lo de registrarse


xd
ayuda

lucas-ruroken

eso de la imagen a registrarse lo tenes qe acer vos
no lleva a registrarse el hide
solo esconde el lo que pongas entre [hide][/hide]
Podes usar un poco de css y html
;)
;D
Adk Portal 3.1 is coming....

Design your universe!

HackRos

Quote from: lucas-ruroken on April 24, 2009, 06:57:33 PM
eso de la imagen a registrarse lo tenes qe acer vos
no lleva a registrarse el hide
solo esconde el lo que pongas entre [hide][/hide]
Podes usar un poco de css y html
;)
;D


xddd si yo se


pero lo que me pasa, es que no me aparece el codigo :S  y si lo puse entre   [hide][/hide]

lucas-ruroken

eso es porq no modificastes los archivos qe corresponden a tu theme ;)
o por qe por ahi te dio prueba fallida al instalarlo en el subs.php (lo digo por qe a mi me paso xD)
Adk Portal 3.1 is coming....

Design your universe!

esnakesfc

yo estoy buscando el mod hide tag especial para mi version 1.1.8 existe??? no la encuentro los ke e encontrado me an dado error

HackRos

Quote from: lucas-ruroken on April 25, 2009, 01:07:04 PM
eso es porq no modificastes los archivos qe corresponden a tu theme ;)
o por qe por ahi te dio prueba fallida al instalarlo en el subs.php (lo digo por qe a mi me paso xD)

si debe estar instalado bien

por que puse un texto, y si lo muestra

y cuando tenia el HTML, no lo mostraba, pero el post que tenia el hide le di a quote
y cuando das reponder tema salen los temas, alli salia la imagen que puse en el html pero en el post no xd

Advertisement: