|
Kaan
678 posts |
#1086 2019-08-10 11:05 GMT | |
|
Bildiğiniz üzere Seditio 170+ HTML versiyonlarında link gizleme bulunmamaktadır.
Bu uygulama ile Seditio html sürümlerinde linkleri kullanıcılardan gizleyebileceksiniz. system/core/forums/forums.posts.inc.php yi açın alttakini : hp] highlight]/* === Hook - Part1 : Set === */ $extp = sed_getextplugins('forums.posts.loop'); /* ===== */ Altına : hp] ;$L['hidelink'] = "<font color="red">Linkleri Görmek için <a rel="nofollow" href="users.php?m=auth"><b> Giriş</b> </a>yapın.</b></font>"; [/highlight] Alttakini bulun [highlight=php]$row['fp_text'] = sed_parse($row['fp_text'], ($cfg['parsebbcodeforums'] && $fs_allowbbcodes), ($cfg['parsesmiliesforums'] && $fs_allowsmilies), 1, $row['fp_text_ishtml']); if (!$row['fp_text_ishtml'] && $cfg['textmode']=='html') { $sql3 = sed_sql_query("UPDATE $db_forum_posts SET fp_text_ishtml=1, fp_text='".sed_sql_prep($row['fp_text'])."' WHERE fp_id=".$row['fp_id']); }[/highlight] Alttakiyle değiştirin. [highlight=php] if ($usr['id']<1) { $row['fp_text'] = preg_replace("!<a[^>]*(http|https|www)(.*)</a>!siU", $L['hidelink'], $row['fp_text']); } else { $row['fp_text'] = sed_parse($row['fp_text'], ($cfg['parsebbcodeforums'] && $fs_allowbbcodes), ($cfg['parsesmiliesforums'] && $fs_allowsmilies), 1, $row['fp_text_ishtml']); if (!$row['fp_text_ishtml'] && $cfg['textmode']=='html') { $sql3 = sed_sql_query("UPDATE $db_forum_posts SET fp_text_ishtml=1, fp_text='".sed_sql_prep($row['fp_text'])."' WHERE fp_id=".$row['fp_id']); } } [/highlight] işlem tamamdır. Not: Resim linkleride gizlenir. Not 2: Sitemizde verilen kodlarda ters slash silinmiştir bu nedenle hata vericektir kodlar ilgili yerlere ters slash ekleyin.
Kişiliğim, hayatım hakkında konuşabilirsiniz. Fikir yürüte bilirsiniz. Beni öyle böyle sanabilirsiniz. Ama emin olamazsınız. Sizin hakkımdaki yorumlarınız, sanmalarınız benim gerçek de ne olduğumu değiştirmez. Baktığım yeri söyleye bilirsiniz ama ne gördüğümü ASLA...
|