Hide code (links) until reply 1.0.0

[en] Hide code in topic until the user reply in this topic.
[sk] Skrytie kódu pred užívateľov čo nenapísali v téme odpoveď.

Re: Hide code (links) until reply 1.0.0

Postby spreyeers » Fri Jul 10, 2009 1:07 pm

Čeština

Otevři language/cs/common.php
najdi
Code: Select all
'HIDDEN_USERS_ONLINE'         => '%d skrytých uživatelů online',


Před, vložte

Code: Select all
'HAVE_TO_REPLY'           => 'K zobrazení kódu musíš odpovědět na toto téma',
V případě potřeby mě kontaktujte přes Soukromou zprávu...
If necessary, please contact me via private message ...
spreyeers
User
User
 
Posts: 61
Joined: Tue Apr 21, 2009 12:53 pm

Re: Hide code (links) until reply 1.0.0

Postby mandy » Sun Jul 12, 2009 12:55 pm

so cool thx ;)
mandy
User
User
 
Posts: 24
Joined: Sun Jul 12, 2009 12:48 pm

Re: Hide code (links) until reply 1.0.0

Postby weap0n » Sun Jul 26, 2009 3:23 am

doesn't seem to work for me :( does this hide the url placed in "[ url] [/u rl]" or some other way to code it. i have a different style install than rather prosilver. i have installed the mod btw.
weap0n
User
User
 
Posts: 1
Joined: Sun Jul 26, 2009 2:38 am

Re: Hide code (links) until reply 1.0.0

Postby drndos » Sun Jul 26, 2009 11:50 am

this mod just hide code TAG not URL ...
User avatar
drndos
Site Admin
Site Admin
 
Posts: 227
Joined: Thu Feb 19, 2009 6:07 pm

Re: Hide code (links) until reply 1.0.0

Postby spreyeers » Sun Jan 03, 2010 5:55 pm

neudelal bys to prosim kompatibilni s modem THANK POST MOD?
V případě potřeby mě kontaktujte přes Soukromou zprávu...
If necessary, please contact me via private message ...
spreyeers
User
User
 
Posts: 61
Joined: Tue Apr 21, 2009 12:53 pm

Re: Hide code (links) until reply 1.0.0

Postby spreyeers » Sun Jan 17, 2010 7:42 am

tak sem se pustil do uprav, ale kdyz sem to upravil, tak to sice jelo podle predstav, ale kdyz sem se vratil o stranku zpet, a zase sem najel do tematu, tak se zase linky nezobrazili a THX tlacitko uz tam taky nebylo...

kus kodu zde (kdybys mel prosim cas, tak se na to koukni.)
Code: Select all
     global $user;
$topic_id   = request_var('t', 0);
    if ($topic_id>0)
    {
      global $user;
        global $db;
      $sql = 'SELECT *
        FROM ' . POSTS_TABLE . '
        WHERE topic_id ="' . $topic_id . '"
      AND poster_id ="' . $user->data["user_id"] . '"
      AND post_thanked ="' . $post_id . '"';
       $result = $db->sql_query($sql);
      $row = $db->sql_fetchrow($result);
      if(empty($row)) $code = $user->lang['HAVE_TO_REPLY'];
    }
V případě potřeby mě kontaktujte přes Soukromou zprávu...
If necessary, please contact me via private message ...
spreyeers
User
User
 
Posts: 61
Joined: Tue Apr 21, 2009 12:53 pm

Re: Hide code (links) until reply 1.0.0

Postby topthisfact » Sun Jan 31, 2010 4:30 pm

what code do i for the hide link & for the show text?
I dont know what to do.
topthisfact
User
User
 
Posts: 4
Joined: Sun Jan 31, 2010 1:11 am

Re: Hide code (links) until reply 1.0.0

Postby maxpower » Sat Apr 03, 2010 3:15 am

modified as instructed. but how to apply to my post? i cannot see any difference.. :?
maxpower
User
User
 
Posts: 1
Joined: Sat Apr 03, 2010 3:14 am

Re: Hide code (links) until reply 1.0.0

Postby Duba » Wed May 26, 2010 2:46 am

hello there, great mod.. just what i needed for my forum, there is one thing i would like to requests though. Is it possible for >moderators to see the code without replying to the post, i've been messing around with IF statements but can't seem to get it to work.. any help would be MUCH appreciated :)
Duba
User
User
 
Posts: 1
Joined: Wed May 26, 2010 2:44 am

Re: Hide code (links) until reply 1.0.0

Postby AnEjd » Thu Oct 14, 2010 8:17 am

Hi

I want to know how do hide for all members but expect admin and vip?

thx
AnEjd
User
User
 
Posts: 1
Joined: Thu Oct 14, 2010 8:13 am

PreviousNext

Return to Hide code (links) until reply / Skrytie kódu (odkazov) pred odpoveďou

Who is online

Users browsing this forum: No registered users and 1 guest

cron