moonlight yazdı:MOD: Simple image upload
Bu modla postimage.org sitesi ile kolay yoldan foruma resim yüklenir. ImageShack Moddan avantajı resim kodu otomatik yükler.
http://www.phpbbstyles.com/viewtopic.php?t=8121
addform.html adında bir dosya oluşturun.Bu dosyanın içerisine şu kodları ekleyin ve phpBB forum ana dizine gönderin:
- Kod: Tümünü seç
<html>
<head>
</head>
<body>
<script language="javascript" type="text/javascript">
<!--
function add_code()
{
var text = unescape(document.location.search.substring(1));
opener.document.forms['post'].message.value = opener.document.forms['post'].message.value + text;
opener.focus();
window.close();
}
add_code();
//-->
</script>
</body>
</html>
- Kod: Tümünü seç
#
#-----[ AÇ ]---------------------------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ BUL ]--------------------------------------------------------------
#
</textarea>
#
#-----[ SONRASINA EKLE ]---------------------------------------------------
#
<br /><span class="genmed"><a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=phpbb&lang=turkish&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">Mesaja Resim Ekle</a></span>
Bu modu *edited* içinde yüklenmiş olan hızlı cevap moduna nasıl uyarlarız denedim ama img kodlarını otomatik text alanına eklemiyo zaten yükleme bitince sayfayı kapatıyo ve bu sebepten resim kaynağınıda alamıyorum manual olarakta ekleyemiyorum canver.net in kendi hızlı cevap moduna eklenmiş bende yapmak istiyorum bu konuda yardımcı olursanız çok teşekkür ederim...