http://www.easytutorials.org/phpbb3_pro ... indow.html
bağlantısındakini include/functions düzenlemesini yapmadan uyguladım.
@ALEXIS in dediği magic olayında aynı sayfada, url etiketleri eklendiğinde ayrı sayfada açıyor.. sanırım bu yeterli
Web sayfamız sadece phpBB 3.0.x sürümlerine destek vermektedir. Konu açmadan, ileti yazmadan önce lütfen site kuralları sayfamıza göz atınız.
switch ($type)
{
case MAGIC_URL_LOCAL:
$tag = 'l';
$relative_url = preg_replace('/[&?]sid=[0-9a-f]{32}$/', '', preg_replace('/([&?])sid=[0-9a-f]{32}&/', '$1', $relative_url));
$url = $url . '/' . $relative_url;
$text = ($relative_url) ? $relative_url : $url . '/';
break;
case MAGIC_URL_FULL:
$tag = 'm';
$text = (strlen($url) > 55) ? substr($url, 0, 39) . ' ... ' . substr($url, -10) : $url;
break;
case MAGIC_URL_WWW:
$tag = 'w';
$url = 'http://' . $url;
$text = (strlen($url) > 55) ? substr($url, 0, 39) . ' ... ' . substr($url, -10) : $url;
break;
case MAGIC_URL_EMAIL:
$tag = 'e';
$text = (strlen($url) > 55) ? substr($url, 0, 39) . ' ... ' . substr($url, -10) : $url;
$url = 'mailto:' . $url;
break;
}
$url = htmlspecialchars($url);
$text = htmlspecialchars($text);
$append = htmlspecialchars($append);
$html = "$whitespace<!-- $tag --><a$class href=\"$url\">$text</a><!-- $tag -->$append";
return $html;
#
#-----[ FIND ]------------------------------------------------
#
$class = ($static_class) ? ' class="' . $static_class . '"' : '';
#
#-----[ REPLACE THIS ]-------------------------------------------
#
$class = ($static_class) ? ' class="' . $static_class . '" target="_blank"' : '';
Simuzer yazdı:
- Kod: Tümünü seç
#
#-----[ FIND ]------------------------------------------------
#
$class = ($static_class) ? ' class="' . $static_class . '"' : '';
#
#-----[ REPLACE THIS ]-------------------------------------------
#
$class = ($static_class) ? ' class="' . $static_class . '" target="_blank"' : '';
Eklenti Tanıtımları, Duyurular, Güncellemeler
Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 1 misafir