Uutiset:

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

Main Menu
Advertisement:

Hide tag para 1.1.8 y traduccion

Aloittaja dacilprincess, huhtikuu 27, 2009, 05:50:16 AP

« edellinen - seuraava »

dacilprincess

Hola a todos,he estado mirando en el buscador y no he encontrado nada.Resulta que quiero instalar el hide tag special para mi smf 1.1.8 pero no se que versión instalar ya que instale la 1.7.1 con la respectiva traduccion del post traducciones y no puedo activar el mod y bueno queria saber si para el smf 1.1.8 es otra version y si es asi la traducción al español si no es molestia.Muchas gracias.Un saludo :)

esnakesfc

yo estoy igual aver si alguien nos puede ayudar.

AJR


lucas-ruroken

http://custom.simplemachines.org/mods/index.php?mod=118 . yo instale el 1.8.1 en la version smf 1.1.8 y va de 10

luego tienes qe acer las traducciones para tu theme y/o language ;)
Adk Portal 3.1 is coming....

Design your universe!

dacilprincess

Muchas gracias por el consejo el problema es que  ::) no se nada de xD hacer traducciones ni nada por el estilo y ya vamos 3 xD haber si alguien más nos ayuda plis.Un saludo

esnakesfc

La traducción puede ser esa?? si es esa en que parte del archivo " Post.spanish" se debe colocar??

[hide]texto a ocultar[/hide]


cada vez que quieran ocultar algo


para terminar tienen que poner esta linea en Post.spanish:

$txt['bbc_hide'] = 'Ocultar contenido';

lucas-ruroken

aca les dejo para ke se vea aunq sea se vea, pero va a estar en ingles...pero lo bueno qe van a poder ver y de ahi ya van a saber que acer y todo.
Cuando digo TUTHEME me refirio a que abran el directorio del theme qe estan usando y cuando digo TUIDIOMA me refiero al idioma que usen en su foro. Ejemplo: spanish_es o spanish_latin, etc
Instalan el paquete, luego por ftp abren el archivo
/Themes/TUTHEME/languages/Admin.TUIDIOMA.php
Buscan:
?>

Añaden antes:
//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_karmaenable_help'] = 'This Option must be enabled that all karma Options work';
$txt['hide_karmaenable'] = 'Enable Hide Karma Support';
$txt['hide_minkarmaunhide'] = 'Minmum karma count to allow unhide content';
$txt['hide_minkarmaautounhide'] = 'Minmum karma count to unhide content without posting';
$txt['hide_minimumkarmaandpost'] = 'The user need the Minimum Karma and Post to see hidden content';
$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'] = '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';
$txt['hide_unhideunlockedtopic'] = 'Enable to unhide hidden content on closed/locked topics';
$txt['hide_unhideunlockedtopicgroups'] = 'Allowed Groups to see a hidden content on locked topics';
$txt['hide_unhideunlockedtopicguest'] = 'Allow guests to see a hidden content on locked topics';
$txt['hide_autohidefirstpostenable'] = 'Enable auto add [hide][/hide] on new topics';
$txt['hide_autohidefirstpostenable_help'] = 'Work only on new created topics without hidden content!';
$txt['hide_autohidefirstpost'] = 'Boards for auto hide hidden content on new topic.';
$txt['hide_selectBoards'] = 'Select Boards';


luego en
/Themes/TUTHEME/languages/Help.TUIDIOMA.php
Buscan:
?>

Añaden Antes:
$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".';


y por ultimo en
/Themes/TUTHEME/languages/index.TUIDIOMA.php
Buscan:
?>

Añaden Antes:
$txt['hide_hiddentext'] = 'Here is a litte secret... Or not?';
$txt['hide_unhiddentext'] = 'My little secret is shown now... Or not?';





Con esto ya les tendria qe andar a la perfeccion, si en el panel no entienden por qe esta en ingles traduzcannlo con el traductor google o algo asi :P :P

Espero haberles ayudado ;)
Adk Portal 3.1 is coming....

Design your universe!

esnakesfc

eres un crack funciona pero no me oculta las cosas

lucas-ruroken

si ke te las oculta
pasa ke como admin las ves igual
o fijate en las opciones qe te dice qien las puede ver y kien no
pero primero proba entrando como visitante ydsp sino fijate en el panel de admin
Adk Portal 3.1 is coming....

Design your universe!

dacilprincess

Gracias por la aportación,me van hacer la traducción al menos del menú en español si la consigo la colgaré aquí para que los demás puedan hacerlo también.Gracias.Un saludo :D

DaRKeN_58

Hola, estoy quemado con el Hiden Tag Special y el de dar las gracias....

En ambos casos hago las traducciones correspondientes y no funcionan, me dan el error al añadirle texto en el index.spanish.php :S:S:S
Template Parse Error!
There was a problem loading the /Themes/default/languages/index.spanish_es.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------


Parse error: syntax error, unexpected T_VARIABLE in .../Themes/default/languages/index.spanish_es.php on line 659

650: $txt['upcoming_holiday'] = 'Proxima Fiesta:';
651: $txt['upcoming_holidays'] = 'Las Proximas Fiestas:';
652:
653: /*Edad y Sexo en Registro*/
654: $txt[563] = 'Fecha de nacimiento';
655: $txt[564] = 'Mes (MM)';
656: $txt[565] = 'D&iacute;a (DD)';
657: $txt[566] = 'A&ntilde;o (AAAA)'
658:
659: $txt['hide_hiddentext'] = 'Here is a litte secret... Or not?';
660: $txt['hide_unhiddentext'] = 'My little secret is shown now... Or not?';
661: ?>
662:
663:


Y me sale remarcado la primera línea :S

Hay alguien que lo haya echo funcionar? Es que ya tiro la toalla porque no es el primer mod que instalo y hasta ahora todos iban bien hasta que intento instalar estos. De todas maneras lo he probado y no funciona, yo recuerdo que había un botón que le das y te creaba los tags de HIDE no lo se con seguridad pero me suena. He probado a poner los tags manualmente y nada, me dice que esta oculto pero no me sale nada para mostrar y volver a ocultar.

A ver si podeis echarnos una mano en esto. Gracias.
... :-X Dime de que presumes y te diré de que careces ;)...

lucas-ruroken

en la linea 657 dice:
$txt[566] = 'A&ntilde;o (AAAA)'

falta cerrar ahi con ;

ponlo asi:
$txt[566] = 'A&ntilde;o (AAAA)';
Adk Portal 3.1 is coming....

Design your universe!

DaRKeN_58

Estupendo, eres un fiera.

Dos preguntas tontas xd

1º El hidden tag no tiene nada que ver con ocultar/mostrar en plan Spoiler no? No se muestra y se muestra a quien lo pueda ver? O puedes mostrar/ocultar?

2º No entiendo bien lo de agradecer. Entro como Admin, posteo, entro como user y no veo el botón de dar las gracias, en cambio entro con el Admin de nuevo y al mensaje del usuario normal si le puedo agradecer porque sale el botón. Me gustaría que el primer post o mis post se puedan agradecer. Sabeis como se hace eso? Ya tengo los foros con sus permisos y los grupos de usuarios tambien y todo eso, no se que sera.


Muchas gracias  ;D
... :-X Dime de que presumes y te diré de que careces ;)...

lucas-ruroken

si el user no puede dar gracias es por cuestion de permisos nada mas
y el hide nomas oculta
nada de spoiler xD
Adk Portal 3.1 is coming....

Design your universe!

DaRKeN_58

Ya entendi lo del hidden jeje y sobre lo otro ya esta solucionado, eran paranoyas mías jeje.

Gracias.
... :-X Dime de que presumes y te diré de que careces ;)...

Advertisement: