Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
1267
??? Sitem deki Haberleri ..(25624 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16579 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(37350 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(21045 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(14196 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(17984 okuma, 15 yanıt) üye aktivasyon ..(10724 okuma, 8 yanıt) Facebook tarzı altbar... ..(6321 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6592 okuma, 2 yanıt) Resimli RSS ..(23408 okuma, 25 yanıt) Onay linkini kaldirmak ..(11156 okuma, 8 yanıt) Yardım :( Site açılırken ..(6707 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8369 okuma, 4 yanıt) block genişliği ..(5750 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14533 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7371 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9497 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10571 okuma, 8 yanıt) ethai1 3 ..(13287 okuma, 10 yanıt) Yeni PEHASPESEO ..(70656 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(38091 okuma, 36 yanıt) tek modul için sağ ve sol ..(11483 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10661 okuma, 8 yanıt) Phpden iyi anlayan ..(5499 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(74055 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29882 okuma, 40 yanıt) Toplu üyelik silme? ..(11210 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12498 okuma, 11 yanıt) bloğu kayan hale getirmek ..(6008 okuma, 2 yanıt) Makale modulu ..(8641 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(86256 okuma, 121 yanıt) title değiştirme ..(10445 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10102 okuma, 6 yanıt) Php Nuke 8.1 ..(4375 okuma, 0 yanıt) merhaba ..(10345 okuma, 9 yanıt) Anasayfa için boş modül o ..(13647 okuma, 13 yanıt) admin panelinde Access De ..(6462 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26633 okuma, 25 yanıt) Nuke Tema yapilisi ..(17211 okuma, 16 yanıt) Mavisce-net temasina bann ..(8786 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6674 okuma, 2 yanıt) coppermine hata ..(10779 okuma, 8 yanıt) içerik tanıtımı ..(6337 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7221 okuma, 3 yanıt) google keywords ..(9032 okuma, 6 yanıt) 8.0'da html sorunu ..(5542 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(54806 okuma, 76 yanıt) üye olunurken gereksiz is ..(10101 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6405 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10602 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Net0psiyon Forum img duzeni :
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
Zulwarn Mesaj: 100+
Kayıt: Mar 26, 2006 Mesajlar: 191 Konum: Http://Turkish-Hiphop.Net/html
Tarih: 2006-08-23, 19:26:54 Mesaj konusu: Net0psiyon Forum img duzeni :
Sa !
arkada$lar Net0psiyon Forumlarda
Kod:
[ img ] Link [ /img ]
ile cagirdigimiz resimler belirli boyutu a$miyor & dolayisi ile forum cok guzel oluyor - düzen hic bozulmuyor..
bunu kendi sitemize de yapmamiz mümkün mü ?
yani modul yada her neyse elinde olan varsa lütfen payla$abilir mi ??
Benim banner da linkler gömülü oldugu icin biraz parcali da büyük resim eklenince banner yok oluyor dolayisi ile linkler de bu yuzden forum da her resimi editlemek cok zor yaff =\
te$ekkürler -
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-26, 05:59:06 Mesaj konusu: Forum Arası Reklamlar
Başa dön
Aliosman Teknik Yönetici
Kayıt: Jul 20, 2002 Mesajlar: 3836 Konum: Balıkesir
Başa dön
Zulwarn Mesaj: 100+
Kayıt: Mar 26, 2006 Mesajlar: 191 Konum: Http://Turkish-Hiphop.Net/html
Başa dön
Aliosman Teknik Yönetici
Kayıt: Jul 20, 2002 Mesajlar: 3836 Konum: Balıkesir
Başa dön
Zulwarn Mesaj: 100+
Kayıt: Mar 26, 2006 Mesajlar: 191 Konum: Http://Turkish-Hiphop.Net/html
Tarih: 2006-08-23, 21:44:13 Mesaj konusu:
0k t$k Ali0sman Turkcesini buldum bu arada :
Kod:
#
#-----[ SQL KODU ]------------------------------------------
# Asagidaki kodlari phpmyadminden sorgulatin.
#
INSERT INTO nuke_bbconfig( config_name, config_value ) VALUES ( 'postimg_width', '800' );
INSERT INTO nuke_bbconfig( config_name, config_value ) VALUES ( 'postimg_height', '600' );
#
#-----[ AÇ ]------------------------------------------
#
includes/bbcode.php
#
#-----[ BUL ]------------------------------------------
#
$bbcode_tpl = null;
#
#-----[ SONRASINA EKLE ]------------------------------------------
#
// mod img size add
function makeimgsize ( $width, $height )
{
global $board_config;
$size = '';
// check for smallness
if ( $width < $board_config['postimg_width'] && $height < $board_config['postimg_height'] )
{
return 'SMALL';
}
elseif ( $width > $height )
{
if ( $board_config['postimg_width'] < $width )
{
$size = 'width="' . $board_config['postimg_width'] . '"';
}
}else
{
if ( $board_config['postimg_height'] < $height )
{
$size = 'height="' . $board_config['postimg_height'] . '"';
}
}
return $size;
}
function image_parse ( $post, $uid )
{
global $board_config, $lang, $bbcode_tpl;
preg_match_all( "/\[img(.*?):$uid\](.*?)\[\/img:$uid\]/i", $post, $matches);
foreach ( $matches[0] as $i => $img )
{
$stuff = $matches[1][$i];
$stuff = explode( ':', $stuff );
if ( count( $stuff ) != 4 )
{ // old image or something
$post = preg_replace( "#\[img:$uid\]([^?].*?)\[/img:$uid\]#i", $bbcode_tpl['img'], $post );
}
switch($stuff[0])
{
case '=right':
$align = $lang['RIGHT'];
break;
case '=center':
$align = 'center';
break;
case '=left':
default:
$align = $lang['LEFT'];
break;
}
$width = $stuff[1];
$height = $stuff[2];
$size = makeimgsize( $width, $height );
if ( $size != 'SMALL' )
{
$replace = $bbcode_tpl['thmbimg'];
$seek = array( '{IMAGE}', '{WIDTH}', '{HEIGHT}', '{SIZE}', '{NOTICE}', '{ALIGN}' );
$with = ( !empty( $size ) ) ? array( $matches[2][$i] , $width, $height, $size, $lang['postimg_clickme'], $align ) : array( $matches[2][$i] , $width, $height, $size, '', $align );
$replace = str_replace( $seek, $with, $replace );
}
else
{
$replace = str_replace( '\1', $matches[2][$i], $bbcode_tpl['img'] );
}
$post = str_replace( $img, $replace, $post );
}
return $post;
}
// mod img size end
#
#-----[ BUL ]------------------------------------------
#
$patterns[] = "#\[img:$uid\]([^?].*?)\[/img:$uid\]#i";
#
#-----[ ÖNCESINE EKLE ]------------------------------------------
#
// mod img size replace with call to image parsing function
$text = image_parse ( $text, $uid );
#
#-----[ BUL ]------------------------------------------
#
$text = preg_replace("#\[img\]
#
#-----[ ÖNCESINE EKLE ]------------------------------------------
#
// mod max img size changed the first pass thingo
preg_match_all( "#\[(img.*?)\]((http|ftp|https|ftps)://)([^ \?&=\#\"\n\r\t<]*?(\.(jpg|jpeg|gif|png)))\[/img\]#sie", $text, $matches );
// now we go through these matches and do what's needed
foreach ( $matches[0] as $i => $m )
{
// easier use
$tag = $matches[1][$i];
$url1 = $matches[2][$i];
$url2 = $matches[4][$i];
// if we already tagged this one then we leave it be ;)
preg_match( '#img.*?:(\d+):(\d+)#i', $tag, $match );
if ( empty( $match ) )
{
// get the size so we can store it
if ( !$size = @getimagesize( $url1 . $url2 ) )
{ // image will not get resized
$width = '';
$height = '';
}
else
{
$width = $size[0];
$height = $size[1];
}
}
else
{ // we already have the size
$width = $match[1];
$height = $match[2];
}
$tag = explode( ':', $tag ); // remove any possible left over : stuff
$tag = $tag[0];
// lastly we replace it within the text
$text = str_replace( $m, '[' . $tag . ':' . $width . ':' . $height . ':' . $uid . ']' . $url1 . $url2 . '[/img:' . $uid . ']', $text );
}
#
#-----[ SATIRIN IÇERISINDE BUL ]------------------------------------------
#
(sadece ilk bulduğu)
$text
#
#-----[ SATIRIN IÇERISINDE ÖNCESINE EKLE ]------------------------------------------
#
//
#
#-----[ SONRASINA EKLE ]------------------------------------------
#
// end mod img size changes
#
#-----[ AÇ ]------------------------------------------
#
admin/admin_board.php
#
#-----[ BUL ]------------------------------------------
#
$namechange_no = ( !$new['allow_namechange'] ) ? "checked=\"checked\"" : "";
#
#-----[ SONRASINA EKLE ]------------------------------------------
#
// mod img size add
$postimg_width = $new['postimg_width'];
$postimg_height = $new['postimg_height'];
// mod img size end
#
#-----[ BUL ]------------------------------------------
#
"L_RESET" => $lang['Reset'],
#
#-----[ SONRASINA EKLE ]------------------------------------------
#
// mod img size add
"L_POSTIMG_SIZE" => $lang['postimg_size'],
"POSTIMG_WIDTH" => $postimg_width,
"POSTIMG_HEIGHT" => $postimg_height,
// mod img size end
#
#-----[ AÇ ]------------------------------------------
#
templates/senin_tema/bbcode.tpl
#
#-----[ BUL ]------------------------------------------
#
<!-- END email -->
#
#-----[ SONRASINA EKLE ]------------------------------------------
#
<!-- BEGIN thmbimg -->
<div align="{ALIGN}">
<table border="0">
<tr>
<td><img src="{IMAGE}" align="center" border="0" {SIZE} onclick="window.open( '{IMAGE}', 'imgpop', 'width={WIDTH},height={HEIGHT},status=no,toolbar=no,menubar=no' );return false" /></td>
</tr>
<tr>
<td align="center" class="gensmall"><i>{NOTICE}</i></td>
</tr>
</table>
</div>
<!-- END thmbimg -->
#
#-----[ AÇ ]------------------------------------------
#
templates/senin_tema/admin/board_config_body.tpl
#
#-----[ BUL ]------------------------------------------
#
<tr>
<td class="row1">{L_ENABLE_PRUNE}</td>
<td class="row2"><input type="radio" name="prune_enable" value="1" {PRUNE_YES} /> {L_YES} <input type="radio" name="prune_enable" value="0" {PRUNE_NO} /> {L_NO}</td>
</tr>
#
#-----[ SONRASINA EKLE ]------------------------------------------
#
<tr>
<td class="row1">{L_POSTIMG_SIZE}</td>
<td class="row2"><input type="text" size="5" maxlength="5" name="postimg_width" value="{POSTIMG_WIDTH}" /> X <input type="text" size="5" maxlength="5" name="postimg_height" value="{POSTIMG_HEIGHT}" /></td>
</tr>
#
#-----[ AÇ ]------------------------------------------
#
language/lang_turkish/lang_main.php
#
#-----[ BUL ]------------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
?>
#
#-----[ ÖNCESINE EKLE ]------------------------------------------
#
// mod img size add
$lang['postimg_clickme'] = 'Resmi büyütmek için üzerine tıklayın.';
#
#-----[ AÇ ]------------------------------------------
#
language/lang_turkish/lang_admin.php
#
#-----[ BUL ]------------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
?>
#
#-----[ ÖNCESINE EKLE ]------------------------------------------
#
// mod img size add
$lang['postimg_size'] = 'Mesajlardaki resimlerin maksimum boyutu';
#
#-----[ TÜM DOSYALARI KAPAT/KAYDET ]------------------------------------------
#
# SoN
Başa dön
Zulwarn Mesaj: 100+
Kayıt: Mar 26, 2006 Mesajlar: 191 Konum: Http://Turkish-Hiphop.Net/html
Tarih: 2006-08-24, 10:36:16 Mesaj konusu:
yaff hersei yapmayi tamam anladim yaptim da
Kod:
#
#-----[ SQL KODU ]------------------------------------------
# Asagidaki kodlari phpmyadminden sorgulatin.
#
INSERT INTO nuke_bbconfig( config_name, config_value ) VALUES ( 'postimg_width', '800' );
INSERT INTO nuke_bbconfig( config_name, config_value ) VALUES ( 'postimg_height', '600' );
sorgulatma i$lemini nasil yapabilirim ?'
Başa dön
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız