Bu mod ile imageshack.us sitesine kolay yoldan resim eklenir.
Demo: http://img400.imageshack.us/my.php?imag ... 0349xv.jpg
Phpbb.com ilgili sayfa: http://www.phpbb.com/phpBB/viewtopic.php?t=326318
- Kod: Tümünü seç
##############################################################
## MOD Title: ImageShack Mod
## MOD Author: thirstyg < n/a > (Mike) http://www.h2press.net
## MOD Description: Allows users to upload images to imageshack while replying or creating a topic.
## MOD Version: 1.3.3
##
## Installation Level: Easy
## Installation Time: ~1 Minutes
## Files To Edit: posting_body.tpl
## Included Files: n/a
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## This mod is based on the syndication feature at Imageshack.us, the main thing I
## did was put it into proper mod format and correct a few errors.
##
## Limited support via email - mike [at] h2press.net
################################################################
## MOD History:
##
## 2005-06-21 - Version 1.0.0
## - First tested & stable mod version.
##
## 2005-06-28 - Version 1.2.0
## - Removed code that requires lang system
##
## 2005-09-04 - Version 1.3.0
## - Upgraded to be compliant with new mod template
##
## 2005-09-20 - Version 1.3.2
## - Minor template issues fixed
##
## 2006-07-17 - Version 1.3.3
## - Increased width of upload box to help prevent wrapping, validated for current
## version of phpbb
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span><br /><span class="gensmall">{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
<td class="row2"><span class="gen"> </span>
<table cellspacing="0" cellpadding="1" border="0">
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- begin imageshack mod -->
<iframe src="http://www.imageshack.us/iframe.php?txtcolor=111111&type=blank&size=30" scrolling="no" allowtransparency="true" frameborder="0" width="300" height="70"></iframe>
<!-- end imageshack mod -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
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>