»Forumlar »SE ? Support »başka linke gitmek için tıklandığında en başına kendi url
  https://seditio.com.tr/eski1/forums.php?m=posts&q=1668
          Geri Dön      -      Sayfayı Yazdırmak için tıklayın
Author: uMiTs, Posted: 2011-11-26 16:42 GMT.
ba?ka linke gitmek i?in t?kland???nda en ba??na kendi url mizi ekliyor
www.kendiadresimiz.com/www.ve.....zlink.com

b?yle gidiyo ve 404 veriyor
yard?m?n?z i?in ?imdiden t?k
Author: ers0be, Posted: 2011-11-26 16:51 GMT.
ba??na http:// koyman gerekiyor

www.kendiadresimiz.com/www.ve.....zlink.com ayr?ca burda slashtan sonra bo?luk b?rak?rsan da d?zelir
Author: Kaan, Posted: 2011-11-26 17:28 GMT.
system/fonksiyon.php yi a? alttakini bul
Kod:
function sed_bbcode($text)
{
global $L, $skin, $sys, $cfg, $sed_groups;
$text = sed_bbcode_autourls($text);
$text = " ".$text;

Alt sat?ra ekle
Kod:
$text = preg_replace('#(\s)(www\.[\w\-\.]+\.\w{2,4}[^\s\r\n]*)#i', '$1[url]http://$2[/url]', $text);

www.site.com ?eklinde yazman yeterli olucakt?r.
Author: uMiTs, Posted: 2011-11-27 00:14 GMT.
Kod:
function sed_bbcode($text)
{
global $L, $skin, $sys, $cfg, $sed_groups;
$text = sed_bbcode_autourls($text);
$text = " ".$text;
$text = preg_replace('#(\s)(www\.[\w\-\.]+\.\w{2,4}[^\s\r\n]*)#i', '$1[url]http://$2[/url]', $text);

olarak ekledim ama olmad?
Author: Kaan, Posted: 2011-11-27 10:55 GMT.
Onu sil Alttakini bul
Kod:
function sed_bbcode_autourls($text)
{
$text = ' '.$text;

Alt?na Bunu Ekle
Kod:
$text = preg_replace('#(\s)(www\.[\w\-\.]+\.\w{2,4}[^\s\r\n]*)#i', '$1[url]$2[/url]', $text);
Author: uMiTs, Posted: 2011-11-27 11:54 GMT.
Kod:
function sed_bbcode_autourls($text)
{
$text = ' '.$text;

$text = preg_replace('#([\n ])(\w+?)://([^\t \n\r]+)#', '$1[url]$2://$3[/url]', $text);
$text = preg_replace('#([\n ])([\w\-_\.]+?@[\w\-]+\.[^,\t \n\r]+)#', '$1[email]$2[/email]', $text);
$text = preg_replace('#(\s)(www\.[\w\-\.]+\.\w{2,4}[^\s\r\n]*)#i', '$1[url]$2[/url]', $text);


ekli bende

Benim Dedi?in yerde ayn? kod ekli san?r?m
Kod:
$text = preg_replace('#(\s)(www\.[\w\-\.]+\.\w{2,4}[^\s\r\n]*)#i', '$1[url]$2[/url]', $text);


seditio 160 rc2 kullan?yorum
Author: Kaan, Posted: 2011-11-27 12:16 GMT.
tamam Yanl?? yapm???m o kodlar?n alt?na bunu ekle sorun tamamen ortadan kalk?yor.
Bunun alt?na ekle
Kod:
function sed_bbcode_autourls($text)
{
$text = ' '.$text;

Kod:
$text = preg_replace('#(\s)(www\.[\w\-\.]+\.\w{2,4}[^\s\r\n]*)#i', '$1[url]http://$2[/url]', $text);

ister www.site.com veya http://www.site.com ?eklinde ekle her hangi bir sorunla kar??la?mayacaks?n?z.
Author: uMiTs, Posted: 2011-11-27 19:07 GMT.
te?ekk?r ederim karde?im oldu
Kod:
function sed_bbcode_autourls($text)
{
$text = ' '.$text;
$text = preg_replace('#(\s)(www\.[\w\-\.]+\.\w{2,4}[^\s\r\n]*)#i', '$1[url]http://$2[/url]', $text);
$text = preg_replace('#([\n ])(\w+?)://([^\t \n\r]+)#', '$1[url]$2://$3[/url]', $text);
$text = preg_replace('#([\n ])([\w\-_\.]+?@[\w\-]+\.[^,\t \n\r]+)#', '$1[email]$2[/email]', $text);
$text = preg_replace('#(\s)(www\.[\w\-\.]+\.\w{2,4}[^\s\r\n]*)#i', '$1[url]$2[/url]', $text);


i?erisindeki
Kod:
$text = preg_replace('#(\s)(www\.[\w\-\.]+\.\w{2,4}[^\s\r\n]*)#i', '$1[url]$2[/url]', $text);

kodunu kald?r?y?mm? fazlal?km? dursun mu ?

Powered by SeditioPrint version