Link ve resimleri gizlemek

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı D®agon

  • Ezberletmez Öğretir
  • *******
  • Join Date: Mar 2008
  • Yer: Ankara
  • 11656
  • +524/-0
  • Cinsiyet: Bay
    • Arif Hocam
Link ve resimleri gizlemek
« : 15 Nisan 2009, 20:27:48 »


Modifications.turkish.php
de
 (Bul)


Kod: You are not allowed to view links. Register or Login
?>
 (Değiştir)


Kod: You are not allowed to view links. Register or Login
//Üye Linkleri
$txt['no_view_links'] = 'Linklerin Görülmesine İzin Verilmiyor';
$txt['no_view_img'] = 'Resimlerin Görüntülenmesine İzin Verilmiyor';
$txt['no_view_view'] = 'Linki Görebilmek İçin';
$txt['no_view_imgs'] = 'Resimleri Görebilmek İçin';
$txt['no_view_register'] = 'Üye Ol';
$txt['no_view_or'] = 'veya';
$txt['no_view_login'] = 'Giriş Yap';
?>




Source/Subs.php
Dosyasını Aç.
 (Bul)

      
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'iurl',
'type' => 'unparsed_content',
'content' => '<a href="$1">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'iurl',
'type' => 'unparsed_equals',
'before' => '<a href="$1">',
'after' => '</a>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (substr($data, 0, 1) == \'#\')
$data = \'#post_\' . substr($data, 1);'),
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
),

(Değiştir)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'iurl',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '' . $txt['no_view_view'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a>' : '<a href="$1">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'iurl',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '' . $txt['no_view_view'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a><div style="visibility:hidden">' : '<a href="$1">',
'after' => $user_info['is_guest'] ?  '</div>' : '</a>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (substr($data, 0, 1) == \'#\')
$data = \'#post_\' . substr($data, 1);'),
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ?  '' :  ' ($1)',
),

(Bul)

         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => '<a href="$1" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'url',
'type' => 'unparsed_equals',
'before' => '<a href="$1" target="_blank">',
'after' => '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
),

(Değiştir)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '' . $txt['no_view_view'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a>' : '<a href="$1" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'url',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '' . $txt['no_view_view'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a><div style="visibility:hidden">' : '<a href="$1" target="_blank">',
'after' => $user_info['is_guest'] ?  '</div>' : '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ?  '' : ' ($1)',
),

(Bul)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'ftp',
'type' => 'unparsed_content',
'content' => '<a href="$1" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'ftp',
'type' => 'unparsed_equals',
'before' => '<a href="$1" target="_blank">',
'after' => '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
),

(Değiştir)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'ftp',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '' . $txt['no_view_view'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a>' : '<a href="$1" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'ftp',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '' . $txt['no_view_view'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a><div style="visibility:hidden">' : '<a href="$1" target="_blank">',
'after' => $user_info['is_guest'] ?  '</div>' : '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ?  '' : ' ($1)',
),

(Bul)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'email',
'type' => 'unparsed_content',
'content' => '<a href="mailto:$1">$1</a>',
// !!! Should this respect guest_hideContacts?
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'email',
'type' => 'unparsed_equals',
'before' => '<a href="mailto:$1">',
'after' => '</a>',
// !!! Should this respect guest_hideContacts?
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
),

(Değiştir)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'email',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '' . $txt['no_view_view'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a>' : '<a href="mailto:$1">$1</a>',
// !!! Should this respect guest_hideContacts?
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'email',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '' . $txt['no_view_view'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a><div style="visibility:hidden">' : '<a href="mailto:$1">',
'after' => $user_info['is_guest'] ?  '</div>' : '</a>',
// !!! Should this respect guest_hideContacts?
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ?  '' : ' ($1)',
),

(Bul)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'img',
'type' => 'unparsed_content',
'parameters' => array(
'alt' => array('optional' => true),
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => '<img src="$1" alt="{alt}"{width}{height} border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),
array(
'tag' => 'img',
'type' => 'unparsed_content',
'content' => '<img src="$1" alt="" border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),

(Değiştir)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'img',
'type' => 'unparsed_content',
'parameters' => array(
'alt' => array('optional' => true),
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => $user_info['is_guest'] ? $txt['no_view_img'] . "\n" . '' . $txt['no_view_imgs'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a>' : '<img src="$1" alt="{alt}"{width}{height} border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => $user_info['is_guest'] ?  '' : '($1)',
),
array(
'tag' => 'img',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_img'] . "\n" . '' . $txt['no_view_imgs'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a>' : '<img src="$1" alt="" border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => $user_info['is_guest'] ?  '' : '($1)',
),

(Bul)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'flash',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$2" height="$3"><param name="movie" value="$1" /><param name="play" value="true" /><param name="loop" value="true" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="$1" width="$2" height="$3" play="true" loop="true" quality="high" AllowScriptAccess="never" /><noembed><a href="$1" target="_blank">$1</a></noembed></object>' : '<embed type="application/x-shockwave-flash" src="$1" width="$2" height="$3" play="true" loop="true" quality="high" AllowScriptAccess="never" /><noembed><a href="$1" target="_blank">$1</a></noembed>'),
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),

(Değiştir)
         
Kod: You are not allowed to view links. Register or Login
array(
'tag' => 'flash',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '' . $txt['no_view_view'] . '&nbsp;<a href="' . $scripturl . '?action=register">' . $txt['no_view_register'] . '</a>&nbsp;' . $txt['no_view_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['no_view_login'] . '</a>' : ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$2" height="$3"><param name="movie" value="$1" /><param name="play" value="true" /><param name="loop" value="true" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="$1" width="$2" height="$3" play="true" loop="true" quality="high" AllowScriptAccess="never" /><noembed><a href="$1" target="_blank">$1</a></noembed></object>' : '<embed type="application/x-shockwave-flash" src="$1" width="$2" height="$3" play="true" loop="true" quality="high" AllowScriptAccess="never" /><noembed><a href="$1" target="_blank">$1</a></noembed>'),
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => $user_info['is_guest'] ?  '' : '<a href="$1" target="_blank">$1</a>',
),