Ajudem com o hide hack

  • Autor Autor foxstone
  • Data de início Data de início
Tradução em andamento: em alguns minutos este tópico estará em português. Por enquanto, o conteúdo está no original em espanhol. Ver original
Status

🔒 Este tópico está fechado para novas respostas.

⏰ Apenas o criador do tópico pode solicitar a reabertura de seus próprios tópicos, mas apenas dentro dos 60 dias anteriores à última atualização.

F

foxstone

Alfa
Usuário com poucas negociações! Use sempre o saldo do ForoBeta!
HOLA AMIGOS DE TENGO UN PROBLEMA CON EL HIDE HACK Y ESPERO A Q ME AYUDEN
​
cuando pongo el HIDE HACK miren lo q pasa


dibujoawu.jpg


YA PUSE LA IMAGEN DEL HIDE EN MI FTP

pero no sale , no se si las obsiones estan bien ayudenme porfavor
😉
 
Foi útil? Participe da conversa

Com sua conta grátis você pode responder, mandar mensagem privada ao autor e comprar com Saldo retido: o pagamento é liberado quando você recebe o combinado.

Leva 30 segundos · você volta a este tópico ao terminar
Dos preguntas, ¿Que Hide ocupas? y ¿Viste si en las opciones de vbulletin tienes activado el Hide?

Edito: Otra cosa por la imagen veo que lo muestras cuando esta en vista previa, el hide en vista previa no se visualiza, por lo tanto ve si al postearlo y verlo desde otra cuenta, no la tuya te pasa lo mismo.
 
si pz mira esta imagen de la configuracion
121212cg.jpg
 
Usas el mismo que yo utilizo quita donde dice Do not use in forums dejalo en blanco y el users of those usergroups en blanco tambien.

Ahora es lo mas seguro que te siga pasando entonces toma mucha atencion.

vete a al producto .xml que en este caso es ajax-product-sids_hide_v0.3.5-vborg-en.xml edita y busca:

HTML:
if ($this->registry->options['sid_hide_active'] == '1' AND stristr($post['message'],'[hide]')){
            global $vbulletin, $vboptions, $bbuserinfo, $db, $threadid, $hide_call, $postid;
            $bbuserinfo = $this->registry->userinfo;
            $post = $this->post;
            $hide_read = false;
            $hide_img_set = 0;
            $hide_replied = '';
            $hide_thanked = '';
            $hide_stop = 0;
            if (!empty($this->registry->options['sid_hide_notforum'])){
                $sid_hide_forum_stop = explode(",",$this->registry->options['sid_hide_notforum']);
                if(in_array($thread['forumid'],$sid_hide_forum_stop)){
                    $post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '\\1', $post['message']);
                    $hide_stop = 1;
                }
            }
            if($post['userid'] == $bbuserinfo['userid'] AND $hide_stop == 0){
                $post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[sid_hide_post_own].'</span></legend>\\1</fieldset>', $post['message']);
                $hide_stop = 1;
            }
            if ($hide_stop != 1){
                if ($this->registry->options['sid_hide_showadmin'] AND $bbuserinfo[usergroupid]==6){
                    $hide_read = true;
                }elseif ($this->registry->options['sid_hide_showmod'] AND can_moderate($thread['forumid'])){
                    $hide_read = true;
                }elseif (!empty($this->registry->options['sid_hide_showusergroup'])){
                    $hide_groups_see = explode(",",$this->registry->options['sid_hide_showusergroup']);
                    if (in_array($bbuserinfo['usergroupid'], $hide_groups_see)){
                        $hide_read = true;
                    }
                }
                if ($this->registry->options['sid_hide_showthanked'] AND $hide_read==false){
                    $hide_img_set = $hide_img_set + 1;
                    if($this->registry->options['post_thanks_forum_first_all'] == 1){
                        $hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$thread[firstpostid]' AND userid='$bbuserinfo[userid]'");
                        if($hide_thanked !=''){
                            $hide_read = true;
                        }
                    } elseif (!empty($this->registry->options['post_thanks_forum_first'])){
                        $post_thanks_forums1_first = explode("|",$this->registry->options['post_thanks_forum_first']);
                        if (in_array($this->thread['forumid'], $post_thanks_forums1_first)){
                            $hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$thread[firstpostid]' AND userid='$bbuserinfo[userid]'");
                            if($hide_thanked !=''){
                                $hide_read = true;
                            }
                        }else{
                            if($bbuserinfo['userid']==$thank['userid']){
                                $hide_read = true;
                            }
                        }
                    } else{
                        if($bbuserinfo['userid']==$thank['userid']){
                            $hide_read = true;
                        }
                    }
                }
                if ($this->registry->options['sid_hide_showposted'] AND $hide_read==false){
                    $hide_img_set = $hide_img_set + 2 ;
                    $hide_replied = $db->query("SELECT COUNT(postid) AS count FROM ". TABLE_PREFIX . "post WHERE userid='$bbuserinfo[userid]' AND visible = 1 AND threadid='$post[threadid]'");
                    $myreplies = 0;
                    if($db->num_rows($hide_replied)){
                        while ($h_post = $db->fetch_array($hide_replied)){
                            $myreplies += $h_post['count'];
                        }
                        $myreplies = vb_number_format($myreplies);
                    }
                    if($myreplies > 0){
                        $hide_read['userid'] = true;
                    }
                }
                if (!$hide_call){
                    $hide_call =$post['postid'];
                } else {
                    $hide_call .=",".$post['postid'];
                }
                if($hide_img_set == 3){
                    $hide_img = $vbphrase[sid_hide_img_pot];
                } elseif ($hide_img_set == 2){
                    $hide_img = $vbphrase[sid_hide_img_post];
                } elseif ($hide_img_set == 1){
                    $hide_img = $vbphrase[sid_hide_img_thank];
                } else {
                    $hide_img = $vbphrase[sid_hide_img_sorry];
                }
                if(!$bbuserinfo[userid]){
                    $hide_read = false;
                }
                if ($hide_read == true){
                    $post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[sid_hide_post_show].'</span></legend>\\1</fieldset>', $post['message']);
                } else {
                    eval('$hide_fetch = "' . fetch_template('sid_hide_noaccess') . '";');
                    $post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $hide_fetch, $post['message']);
                }
            }
        }

y reemplazala por esto.

HTML:
if ($this->registry->options['sid_hide_active'] == '1' AND stristr($post['message'],'[hide]')){
            global $vbulletin, $vboptions, $bbuserinfo, $db, $threadid, $hide_call, $postid;
            $bbuserinfo = $this->registry->userinfo;
            $post = $this->post;
            $hide_read = false;
            $hide_img_set = 0;
            $hide_replied = '';
            $hide_thanked = '';
            $hide_stop = 0;
            if (!empty($this->registry->options['sid_hide_notforum'])){
                $sid_hide_forum_stop = explode(",",$this->registry->options['sid_hide_notforum']);
                if(in_array($thread['forumid'],$sid_hide_forum_stop)){
                    $post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '\\1', $post['message']);
                    $hide_stop = 1;
                }
            }
            if($post['userid'] == $bbuserinfo['userid'] AND $hide_stop == 0){
                $post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[sid_hide_post_own].'</span></legend>\\1</fieldset>', $post['message']);
                $hide_stop = 1;
            }
            if ($hide_stop != 1){
                if ($this->registry->options['sid_hide_showadmin'] AND $bbuserinfo[usergroupid]==6){
                    $hide_read = true;
                }elseif ($this->registry->options['sid_hide_showmod'] AND can_moderate($thread['forumid'])){
                    $hide_read = true;
                }elseif (!empty($this->registry->options['sid_hide_showusergroup'])){
                    $hide_groups_see = explode(",",$this->registry->options['sid_hide_showusergroup']);
                    if (in_array($bbuserinfo['usergroupid'], $hide_groups_see)){
                        $hide_read = true;
                    }
                }
                if ($vbulletin->options['sid_hide_showthanked'] AND $hide_read==false){
                    $hide_img_set = $hide_img_set + 1;
                    if($vbulletin->options['post_thanks_forum_first_all'] == 1){
                        $hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$threadinfo[firstpostid]' AND userid='$bbuserinfo[userid]'");
                        if($hide_thanked !=''){
                            $hide_read = true;
                        }
                    } elseif (!empty($vbulletin->options['post_thanks_forum_first'])){
                        $post_thanks_only_first = explode("|",$vbulletin->options['post_thanks_forum_first']);
                        if (in_array($threadinfo['forumid'], $post_thanks_only_first)){
                            $hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$threadinfo[firstpostid]' AND userid='$bbuserinfo[userid]'");
                            if($hide_thanked !=''){
                                $hide_read = true;
                            }
                        }else{
                            $hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$post[postid]' AND userid='$bbuserinfo[userid]'");
                            if($hide_thanked !=''){
                                $hide_read = true;
                            }
                        }
                    } else{
                        $hide_thanked = $db->query_first("SELECT userid FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$post[postid]' AND userid='$bbuserinfo[userid]'");
                        if($hide_thanked !=''){
                            $hide_read = true;
                        }
                    }
                }
                if ($this->registry->options['sid_hide_showposted'] AND $hide_read==false){
                    $hide_img_set = $hide_img_set + 2 ;
                    $hide_replied = $db->query("SELECT COUNT(postid) AS count FROM ". TABLE_PREFIX . "post WHERE userid='$bbuserinfo[userid]' AND visible = 1 AND threadid='$post[threadid]'");
                    $myreplies = 0;
                    if($db->num_rows($hide_replied)){
                        while ($h_post = $db->fetch_array($hide_replied)){
                            $myreplies += $h_post['count'];
                        }
                        $myreplies = vb_number_format($myreplies);
                    }
                    if($myreplies > 0){
                        $hide_read['userid'] = true;
                    }
                }
                if (!$hide_call){
                    $hide_call =$post['postid'];
                } else {
                    $hide_call .=",".$post['postid'];
                }
                if($hide_img_set == 3){
                    $hide_img = $vbphrase[sid_hide_img_pot];
                } elseif ($hide_img_set == 2){
                    $hide_img = $vbphrase[sid_hide_img_post];
                } elseif ($hide_img_set == 1){
                    $hide_img = $vbphrase[sid_hide_img_thank];
                } else {
                    $hide_img = $vbphrase[sid_hide_img_sorry];
                }
                if(!$bbuserinfo[userid]){
                    $hide_read = false;
                }
                if ($hide_read == true){
                    $post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[sid_hide_post_show].'</span></legend>\\1</fieldset>', $post['message']);
                } else {
                    eval('$hide_fetch = "' . fetch_template('sid_hide_noaccess') . '";');
                    $post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $hide_fetch, $post['message']);
                }
            }
        }

Guarda y vuelve a subir el producto y listo ya deberia de estar funcionando.
 
Status

🔒 Este tópico está fechado para novas respostas.

⏰ Apenas o criador do tópico pode solicitar a reabertura de seus próprios tópicos, mas apenas dentro dos 60 dias anteriores à última atualização.

Voltar
Topo