• 0
  • 13 RepliesReplies
  • 10284 ReadTimes Read
  • 0 PointsPoints

Topic: Menu del hide tag special

no avatar
Usuario: eva24
Rango: Recién Llegada
Mensajes: 17
Points: 0
Mi web: http://www.genielin.com
Perfil: View Profile
Menu del hide tag special
December 14, 2011 - 07:18 19:18
Necesito una ayudita que me estoy volviendo loca

He instalado el mod Hide Tag Special manualmente, todo funciona bien,, veo el botón, me oculta los links y todo lo que meta entre los bbcode hide queda oculto hasta que contesten en el post.

Pero no veo el menú de configuración en administración  ni en mi idioma ni en inglés, he seguido todas las instrucciones del parse y lo he revisado 5 veces todos los códigos están bien,, pero el menu sigue sin aparecer

Estos son los archivos que he modificado http://custom.simplemachines.org/mods/index.php?action=parse


Muchas gracias y feliz navidad.

Mi versión de smf es la 2.0 rc3
Usuario: Papá distante
Rango: Moderador Global
Mensajes: 3504
Points: 168
Perfil: View Profile
Pais:
de
Re:Menu del hide tag special
Reply #1 December 14, 2011 - 07:36 19:36
Has puesto también las lineas de texto de idioma en el archivo de idioma que estas usando?
no avatar
Usuario: eva24
Rango: Recién Llegada
Mensajes: 17
Points: 0
Mi web: http://www.genielin.com
Perfil: View Profile
Re:Menu del hide tag special
Reply #2 December 14, 2011 - 07:56 19:56
Buenas noches compañero

Si las he puesto,,

He añadido las lineas de código a estos cuatro

/Themes/default/languages/Admin.spanish_es.php
/Themes/default/languages/Help.spanish_es.php
./Themes/default/languages/index.spanish_es.php
/Themes/default/languages/Post.spanish_es.php

Feliz navidad.
Usuario: Papá distante
Rango: Moderador Global
Mensajes: 3504
Points: 168
Perfil: View Profile
Pais:
de
Re:Menu del hide tag special
Reply #3 December 14, 2011 - 08:02 20:02
Vaciaste la caché cuando hiciste las modificaciones?

El log de errores te muestra algo relacionado?
no avatar
Usuario: eva24
Rango: Recién Llegada
Mensajes: 17
Points: 0
Mi web: http://www.genielin.com
Perfil: View Profile
Re:Menu del hide tag special
Reply #4 December 14, 2011 - 08:12 20:12
Vacié la cache y el log de errores no me dice nada relacionado

Usuario: 4kstore
Rango: Moderador Global
Mensajes: 4916
Points: 8111
Mi web: http://www.smfsimple.com
Perfil: View Profile
Pais:
ar
Re:Menu del hide tag special
Reply #5 December 14, 2011 - 11:30 23:30
Hola [starter] hasta ahora lo que comentas es medio raro todo.
Si copias los archivos como dice acá:
Mover el archivo incluido "HtsAdmin.php" a "./Sources".
Mover el archivo incluido "HtsAdmin.template.php" a "./Themes/default".
Mover el archivo incluido "hide.gif" a "./Themes/default/images/bbc".

e hiciste esta modificacion:

Buscar:
Code: [Select]
'members' => array(
'title' => $txt['admin_manage_members'],

Reemplazar con:
Code: [Select]

'HtsAdmin' => array(
'title' => $txt['hts_admin_desc'],
'permission' => array('admin_forum'),
'areas' => array(
'HtsAdmin' => array(
'label' => $txt['hidetagspecial_titel'],
'file' => 'HtsAdmin.php',
'function' => 'HtsAdmin_Admin',
'icon' => 'membergroups.gif',
'subsections' => array(
'main' => array($txt['hidetagspecial_titel']),
),     
),
),
),
'members' => array(
'title' => $txt['admin_manage_members'],

El menu debería aparecer....
Controla que estos pasos se cumplan.
Saludos!
no avatar
Usuario: eva24
Rango: Recién Llegada
Mensajes: 17
Points: 0
Mi web: http://www.genielin.com
Perfil: View Profile
Re:Menu del hide tag special
Reply #6 December 15, 2011 - 10:13 22:13
Esa modificación que comentas compañero no viene aquí http://custom.simplemachines.org/mods/index.php?action=parse;mod=118;attach=137378;smf_version=2.0_RC3

Yo he seguido los pasos del parse del mod , lo voy a hacer todo desde el principio,

Podrías por favor decirme que códigos cambiar ?, para poder hacerlo desde una instalación limpia


Muchísimas gracias y feliz navidad.
Usuario: 4kstore
Rango: Moderador Global
Mensajes: 4916
Points: 8111
Mi web: http://www.smfsimple.com
Perfil: View Profile
Pais:
ar
Re:Menu del hide tag special
Reply #7 December 15, 2011 - 10:39 22:39
Fuiste a esta parte: Admin -> Posts and Topics -> Hide Tag Special
Y no se encuentra el mod?

Mínimo para que aparezca el panel tendrían que estar hechas las modificaciones en los archivos:


./Sources/ManagePosts.php

./Sources/Admin.php

Con eso y los archivos de idioma la configuración del mod debería aparecer en

Admin -> Posts and Topics -> Hide Tag Special
no avatar
Usuario: eva24
Rango: Recién Llegada
Mensajes: 17
Points: 0
Mi web: http://www.genielin.com
Perfil: View Profile
Re:Menu del hide tag special
Reply #8 December 15, 2011 - 10:43 22:43
No se encuentra, he puesto otra vez los archivos originales y quiero instalarlo otra vez manualmente

Podrías por favor indicarme las modificaciones a hacer,, por que esa que comentabas antes no esta en el parse.

Si sigo estos pasos me valdrá o debo añadir algo más ? http://custom.simplemachines.org/mods/index.php?action=parse;mod=118;attach=137378;smf_version=2.0_RC3

Un saludo.
Usuario: 4kstore
Rango: Moderador Global
Mensajes: 4916
Points: 8111
Mi web: http://www.smfsimple.com
Perfil: View Profile
Pais:
ar
Re:Menu del hide tag special
Reply #9 December 15, 2011 - 10:52 22:52
Esto debes hacer: http://custom.simplemachines.org/mods/index.php?action=parse;mod=118;attach=137378;smf_version=2.0_RC3

Que es lo que estabas haciendo.
Podes probar hacerlo de nuevo paso por paso y debería funcionarte.

Una pregunta porque no usas el manejador de paquetes para instalar los mods?
Saludos
no avatar
Usuario: eva24
Rango: Recién Llegada
Mensajes: 17
Points: 0
Mi web: http://www.genielin.com
Perfil: View Profile
Re:Menu del hide tag special
Reply #10 December 15, 2011 - 11:31 23:31
Thank you very much, me ha funcionado,,, ahora nada más me queda traducirlo al español,  donde miro las modificaciones para ponerlo en español?

Muchísimas gracias compañero

PD : No utilizo lo de los paquetes , por que me daba error al subirlo.
Usuario: 4kstore
Rango: Moderador Global
Mensajes: 4916
Points: 8111
Mi web: http://www.smfsimple.com
Perfil: View Profile
Pais:
ar
Re:Menu del hide tag special
Reply #11 December 15, 2011 - 11:43 23:43
./Themes/default/languages/Admin.spanish.php

Agregar antes del ?>

Code: [Select]
//Hide Tag Special Options
// This is for SMF 1.1.x
$txt['hidetagspecial_titel'] = 'Hide Tag Special';
$txt['hidetagspecial_description'] = 'You can set all the Setting that needed for the Hide Tag Special mod ""';
// This is for SMF 2.0
$txt['manageposts_hidetagspecial_settings'] = 'Hide Tag Special';
$txt['manageposts_hidetagspecial_settings_title'] = 'Hide Tag Special Settings';
$txt['manageposts_hidetagspecial_settings_description'] = 'You can set all the Setting that needed for the Hide Tag Special mod ""';
$txt['manageposts_hidetagspecial_settings_submit'] = 'Save Hide Settings';
// This will be used in both Versions
$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_unhideparser'] = 'Allowed Groups can see everywhere the hidden content<br />(Not only on the Topic)';
$txt['hide_unhideparser_help'] = 'Can overwrite some special setting for diffrent mods!';
$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  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';

./Themes/default/languages/Help.spanish.php

Agregar antes del ?>

Code: [Select]
$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".';

./Themes/default/languages/Index.spanish.php

Agregar antes del ?>

Code: [Select]
$txt['hide_hiddentext'] = 'Here is a litte secret... Or not?';
$txt['hide_unhiddentext'] = 'My little secret is shown now... Or not?';

Deberías traducirlo nomas...

Acá te dejo las cadenas traducidas: http://www.simplemachines.org/community/index.php?topic=252307.msg2307006#msg2307006
Saludos
no avatar
Usuario: eva24
Rango: Recién Llegada
Mensajes: 17
Points: 0
Mi web: http://www.genielin.com
Perfil: View Profile
Re:Menu del hide tag special
Reply #12 December 15, 2011 - 11:51 23:51
Muchísimas gracias , ahora todo va bien  :) :) :) :)

Un saludo y feliz navidad
 
marco el tema como solucionado.
Usuario: 4kstore
Rango: Moderador Global
Mensajes: 4916
Points: 8111
Mi web: http://www.smfsimple.com
Perfil: View Profile
Pais:
ar
Re:Menu del hide tag special
Reply #13 December 16, 2011 - 12:06 00:06
Muchísimas gracias , ahora todo va bien  :) :) :) :)

Un saludo y feliz navidad
 
marco el tema como solucionado.

Un gusto poder ayudar.
Saludos :)
 

TAGS



top

Smfsimple.com es un sitio destinado a brindar un servicio de soporte y herramientas para foros realizados con el sistema de foros gratuito simplemachines.org. Contamos con un selecto equipo de desarrolladores y conocedores del sistema, sus foros estaran en buenas manos.
This site is not affiliated with or endorsed by Simple Machines