Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Chatito

Pages: 1 2 [3] 4
31
Soporte General SMF / Re:ayuda con este problema
« on: October 24, 2011 - 03:10 15:10 »
si exactamente cesar le borre el parse para dejarlo como original pero sigue sin funcionar,,el q tu me pasaste se lo e instalado y sigue igual el mismo problema el parse es el sigueinte:

Encontrar
Code: [Select]
static $disabled;

Agregar antes

Code: [Select]
// On the first Parsing i will gernerate all things i need ;) after that it's not needable :)
 if (!isset($modSettings['hide_preparedOption']))
 {
  // First there is nothing in it ;)
  $modSettings['hide_preparedOption']['hiddentext'] = ' ';
  $modSettings['hide_preparedOption']['unhiddentext'] = ' ';

  if (empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest'])
  {
   // Prepare the hidden information :)
   $modSettings['hide_preparedOption']['hiddentext'] = isset($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '';
   $modSettings['hide_preparedOption']['hiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['hiddentext']);
   if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_hiddentext']))
    $modSettings['hide_preparedOption']['hiddentext'] = str_replace('$txtvariable', $txt['hide_hiddentext'], $modSettings['hide_preparedOption']['hiddentext']);
   if (!empty($modSettings['hide_enableHTML']))
    $modSettings['hide_preparedOption']['hiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['hiddentext']);

   // Prepare the unhidden infomation?
   if (!empty($modSettings['hide_enableUnhiddenText']))
   {
    $modSettings['hide_preparedOption']['unhiddentext'] = isset($modSettings['hide_unhiddentext']) ? $modSettings['hide_unhiddentext'] : '';
    $modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['unhiddentext']);
    if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_unhiddentext']))
     $modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$txtvariable', $txt['hide_unhiddentext'], $modSettings['hide_preparedOption']['unhiddentext']);
    if (!empty($modSettings['hide_enableHTML']))
     $modSettings['hide_preparedOption']['unhiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['unhiddentext']);
   }
  }

  // So prepare the unhidden Option for the Parser ;)
  if (!empty($modSettings['hide_useSpanTag']))
  {
   $modSettings['hide_preparedOption']['before_info'] = '<span class="hiddencontent">';
   $modSettings['hide_preparedOption']['after_info'] = '</span>';
  }
  else
  {
   $modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
   $modSettings['hide_preparedOption']['after_info'] = '</div>';
  }

  // Okay Let's see where i must put the unhidden Informations :)
  if (!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']))
  {
   if (empty($modSettings['hide_posUnhiddenText']) || $modSettings['hide_posUnhiddenText'] == 4)
    $modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
   elseif ($modSettings['hide_posUnhiddenText'] == 3)
    $modSettings['hide_preparedOption']['after_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['after_info'];
   elseif ($modSettings['hide_posUnhiddenText'] == 2)
    $modSettings['hide_preparedOption']['before_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
   elseif ($modSettings['hide_posUnhiddenText'] == 1)
    $modSettings['hide_preparedOption']['before_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['before_info'];
   else
    $modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
  }

  $modSettings['hide_preparedOption']['parse_content'] = !empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']);

  // Okay this is the check up if he is allowed to unhide it everytime! (Risky if wrong setup or diffrent mods can handle hide tag)
  $modSettings['hide_preparedOption']['auto_unhide_parser'] = false;
  if (!empty($modSettings['hide_unhideparser']) && !empty($modSettings['hide_autounhidegroups']))
  {
   $modSettings['hide_autounhidegroups'] = !is_array($modSettings['hide_autounhidegroups']) ? explode(',', $modSettings['hide_autounhidegroups']) : $modSettings['hide_autounhidegroups'];
   foreach ($user_info['groups'] as $group_id)
    if (in_array($group_id, $modSettings['hide_autounhidegroups']))
    {
     $modSettings['hide_preparedOption']['auto_unhide_parser'] = true;
     break; //One is enouph ;D
    }
  }
 }

 // Hide Mod.. i remove the code before i do anything...
 if ($message !== false && !empty($message))
 {
  if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
   $context['user_post_avaible'] = 1;
  // Add the Hidden Text at the end of the post :)
  if ((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && !empty($modSettings['hide_onlyonetimeinfo']) && hideTagExists($message, $cache_id))
   $message .= '[br]'.$modSettings['hide_preparedOption']['hiddentext'];
  // Here i remove this content :) or show onetime unhide info :)
  if (!isset($context['user_post_avaible']) || empty($context['user_post_avaible']))
  {
   // Remove it ;D
   $message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
   $message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
  }
  // Okay i need to add the unhidden information at the end of the post :)
  elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
   $message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];
 }

y es lo q hice me dio el error ,,volvi a quitar el parse y dejarlo como estaba y nada de nada me da el error q expongo arriba.

32
Soporte General SMF / Re:ayuda con este problema
« on: October 24, 2011 - 02:49 14:49 »
Se mas claro con tu problema, di que intentaste modificar al menos


el hide tag especial le meti el parse q pide para la version 2.0.1

este parse
Code: [Select]
// On the first Parsing i will gernerate all things i need ;) after that it's not needable :)
 if (!isset($modSettings['hide_preparedOption']))
 {
  // First there is nothing in it ;)
  $modSettings['hide_preparedOption']['hiddentext'] = '&nbsp;';
  $modSettings['hide_preparedOption']['unhiddentext'] = '&nbsp;';

  if (empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest'])
  {
   // Prepare the hidden information :)
   $modSettings['hide_preparedOption']['hiddentext'] = isset($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '';
   $modSettings['hide_preparedOption']['hiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['hiddentext']);
   if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_hiddentext']))
    $modSettings['hide_preparedOption']['hiddentext'] = str_replace('$txtvariable', $txt['hide_hiddentext'], $modSettings['hide_preparedOption']['hiddentext']);
   if (!empty($modSettings['hide_enableHTML']))
    $modSettings['hide_preparedOption']['hiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['hiddentext']);

   // Prepare the unhidden infomation?
   if (!empty($modSettings['hide_enableUnhiddenText']))
   {
    $modSettings['hide_preparedOption']['unhiddentext'] = isset($modSettings['hide_unhiddentext']) ? $modSettings['hide_unhiddentext'] : '';
    $modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['unhiddentext']);
    if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_unhiddentext']))
     $modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$txtvariable', $txt['hide_unhiddentext'], $modSettings['hide_preparedOption']['unhiddentext']);
    if (!empty($modSettings['hide_enableHTML']))
     $modSettings['hide_preparedOption']['unhiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['unhiddentext']);
   }
  }

  // So prepare the unhidden Option for the Parser ;)
  if (!empty($modSettings['hide_useSpanTag']))
  {
   $modSettings['hide_preparedOption']['before_info'] = '<span class="hiddencontent">';
   $modSettings['hide_preparedOption']['after_info'] = '</span>';
  }
  else
  {
   $modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
   $modSettings['hide_preparedOption']['after_info'] = '</div>';
  }

  // Okay Let's see where i must put the unhidden Informations :)
  if (!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']))
  {
   if (empty($modSettings['hide_posUnhiddenText']) || $modSettings['hide_posUnhiddenText'] == 4)
    $modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
   elseif ($modSettings['hide_posUnhiddenText'] == 3)
    $modSettings['hide_preparedOption']['after_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['after_info'];
   elseif ($modSettings['hide_posUnhiddenText'] == 2)
    $modSettings['hide_preparedOption']['before_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
   elseif ($modSettings['hide_posUnhiddenText'] == 1)
    $modSettings['hide_preparedOption']['before_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['before_info'];
   else
    $modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
  }

  $modSettings['hide_preparedOption']['parse_content'] = !empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']);

  // Okay this is the check up if he is allowed to unhide it everytime! (Risky if wrong setup or diffrent mods can handle hide tag)
  $modSettings['hide_preparedOption']['auto_unhide_parser'] = false;
  if (!empty($modSettings['hide_unhideparser']) && !empty($modSettings['hide_autounhidegroups']))
  {
   $modSettings['hide_autounhidegroups'] = !is_array($modSettings['hide_autounhidegroups']) ? explode(',', $modSettings['hide_autounhidegroups']) : $modSettings['hide_autounhidegroups'];
   foreach ($user_info['groups'] as $group_id)
    if (in_array($group_id, $modSettings['hide_autounhidegroups']))
    {
     $modSettings['hide_preparedOption']['auto_unhide_parser'] = true;
     break; //One is enouph ;D
    }
  }
 }

 // Hide Mod.. i remove the code before i do anything...
 if ($message !== false && !empty($message))
 {
  if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
   $context['user_post_avaible'] = 1;
  // Add the Hidden Text at the end of the post :)
  if ((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && !empty($modSettings['hide_onlyonetimeinfo']) && hideTagExists($message, $cache_id))
   $message .= '[br]'.$modSettings['hide_preparedOption']['hiddentext'];
  // Here i remove this content :) or show onetime unhide info :)
  if (!isset($context['user_post_avaible']) || empty($context['user_post_avaible']))
  {
   // Remove it ;D
   $message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
   $message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
  }
  // Okay i need to add the unhidden information at the end of the post :)
  elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
   $message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];
 }

33
Soporte General SMF / ayuda con este problema
« on: October 24, 2011 - 02:34 14:34 »
wenas a todos mi web a dado este problema al intentar modificar un archivo el archivo es el source/Subs.php da este problema y no me arranca el foro.

Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/todopore/public_html/Sources/Subs.php on line 900

Parse error: syntax error, unexpected '}', expecting '{' in /home/todopore/public_html/Sources/Subs.php on line 900


os adjunto aqui el archivo aver si se puede resolver.


34
Soporte General SMF / Re:ayuda con el archivo source/sub.php
« on: October 23, 2011 - 10:52 10:52 »
sisi los mod si ,,ya saves te saca las pruebas fallidas pero se desistalan bien y ahora en otro archivo.php el q falla eso es lo q veo ,,pero claro me dice la linea q es pero los archivos al no estar marcados por linea es imposible dar con la tecla.

35
Soporte General SMF / Re:ayuda con el archivo source/sub.php
« on: October 23, 2011 - 10:26 10:26 »
cesar solucionado ya ,,desistale mod y volvi a instalarlo y meterle los parse y vuelve a funcionar con normalidad la web,,lo uno q en el log de errores me salen estos errores

http://todoporelmorro.com/index.php?/topic,20.new.html
Aplicar filtro: Mostrar solo los mensajes de error con este mensaje
8: Undefined variable: load
Aplicar filtro: Mostrar solo los errores de este archivo
Archivo: /home/todopore/public_html/Sources/QueryString.php
Linea: 493


http://todoporelmorro.com/index.php?action=post;topic=20.0;last_msg=22
Aplicar filtro: Mostrar solo los mensajes de error con este mensaje
8: Undefined index: bbc_password
Aplicar filtro: Mostrar solo los errores de este archivo
Archivo: /home/todopore/public_html/Sources/Subs-Editor.php
Linea: 1705

36
Soporte General SMF / Re:ayuda con el archivo source/sub.php
« on: October 23, 2011 - 09:48 09:48 »
ok pero los mod se desistalan y se vuelven a isntalar no<?? si no q solucion ay cesar,,y muchas gracias por atenderme.

37
Soporte General SMF / Re:ayuda con el archivo source/sub.php
« on: October 23, 2011 - 09:23 09:23 »
hmm no puedo encotrar cual es el error D:! aver si alguien mas puede verlo :S

me puedes pasar esos 2 archivos sub.php y el de sub editor.php y lo pongo y aver si me deja publicar y modificar q es lo unico q no me deja,,osea pasarmelo los q tenga en buen estado.

si no q deberia hacer ,,borrar la base de dato y subir un  nuevo smf?

38
Soporte General SMF / Re:ayuda con el archivo source/sub.php
« on: October 23, 2011 - 08:47 08:47 »
Sisi lo tengo intalado ese mods,,estos son los q tengo instalados:

   Hide Tag Special 

   Thank-o-matic

12.    Download and Password bbc 2.0

4.    Member Color Link

   Anti Bot: Are You Human/Bot?

39
Soporte General SMF / Re:ayuda con el archivo source/sub.php
« on: October 23, 2011 - 08:28 08:28 »
aqui lo tienes muchas gracias cesar.

40
Soporte General SMF / Re:ayuda con el archivo source/sub.php
« on: October 23, 2011 - 08:13 08:13 »
graciaas cesar aqui te dejo mi version smf     * SMF 2.0.1 | SMF © 2011, Simple Machines
      Hide Tag Special By SMF Personal © 2011 | Mods by SMFSimple.com
      Hide Tag Special By SMF Personal © 2011
    * XHTML
    * RSS
    * WAP2
    * Insidious designed by TD-Forums

el mod es BBC Spoiler

y en parse sale estas modificaciones.


codigo q encontrar (seleccionar)


         array(
            'tag' => 'white',
            'before' => '<span style="color: white;" class="bbc_color">',
            'after' => '</span>',
         ),
      
codigo añadir despues (seleccionar)


         array(
            'tag' => 'spoiler',
            'before' => '<div class="spoiler_head">'.$txt['spoiler'].'</div><div class="spoiler_body">',
            'after' => '</div>',
            'block_level' => true,
         ),
      


41
Soporte General SMF / ayuda con el archivo source/sub.php
« on: October 23, 2011 - 07:41 07:41 »
modifique el archivio y meti el spoile con el parse y me dio error ,,quite el el parche del spolier y no me dejar ni publicar ni responder ni modificar los post de la web me da este error

Fatal error: Call to undefined function hidetagexists() in /home/todopore/public_html/Sources/Subs-Editor.php on line 122

aqui os adjunto el archivo aver si me lo podeis arreglar  muchas gracias,,es q soy un manazas lo siento.

42
wenas cesar lo he revisado todo y veo el corchete de cerramiento,,,pero lo q no veo es el codigo youtube ¿q raro,,no?

43
Soporte General SMF / problemas al instalar mod YouTube_BBCode_v2.6.zip
« on: October 21, 2011 - 02:52 14:52 »
wenas de nuevo direis pero q pesaito es este lo siento mucho toy pez ,,quiero aprender lo mejor posible y nesecito ayuda ,,weno os comento instalo el  mod YouTube_BBCode_v2.6.zip    y me sale este error arriba

$txt['youtube'] = 'YouTube'; $txt['youtube_invalid'] = '#Link de YouTube Inv�lido#';

agradeco buestra gran ayuda ,,salu2.

44
Soporte General SMF / ayuda mod [download][/downlad] BBCcode
« on: October 21, 2011 - 01:51 13:51 »
Muy buenas de nuevo llevo una eternidad buscando este mods [download][/download] q es una caja azul para meter los link q valga pa la version smf 2.0.1 y no lo encuentro por ningun lado,,si alguien me lo podria agenciar le estaria muy agradecido,,saludos.

45
Soporte General SMF / Re:Ayuda problema Mods BBC V1
« on: October 21, 2011 - 12:55 12:55 »
muchicimas gracias arreglado eres un crak agradecisimo

Pages: 1 2 [3] 4
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