https://www.icyphoenix.com/viewtopic.php?f=28&t=8966&p=58480#p58480 ----------------------------------- Madara Wed 06 Mar, 2013 01:24 Hide Mod Customization ----------------------------------- Hi Icy I need a help to customize the mod hide. I had in icy 1.3 it like this: [img]http://i35.tinypic.com/2el3x5i.png[/img] A year ago, using this code. [spoiler][code linenumbers=false] if($tag === 'hide') { if($this->is_sig) { return $error; } if($item['iteration'] > 1) { return $error; } global $DB, $topic_id, $userdata, $mode; $show = false; if ($userdata['session_logged_in']) { $show = true; } } if(!$show && $tag === 'hide') { $html = '
'; return array( 'valid' => true, 'html' => $html . 'Mensaje Restringido
Este tipo de mensajes solo están disponibles para usuarios registrados
', 'allow_nested' => false, ); } elseif ($show && $tag === 'hide') { $vista= substr(md5($content . mt_rand()), 0, 8); //$html = '
'; $html = '
'; $html .= '

Click Aqui para mostrar
'; $html .= ''; $html .= '
' ); } [/code][/spoiler] but now it does not work, but when I connected dont see links: [img]http://i.imgur.com/p9nSrOU.png[/img]