Seditio ve Ldu hakkında sınırsız arama yapın
 
 
> 1 <

Etiketler: forumlarda resimleri önizleme olarak görün core hack

Author Message

SpySnaKe

Members


Online status

16 posts
http://rootinq.org
Pagerank: 1

Location: Turkey in ?zmir
Occupation: Sedd
Age: 21

#19265   2008-03-18 10:03 GMT      

Forumlarda resimleri önizleme olrak ufak boyutta olmasını istiyorsanız aşağıdaki core hacki uygulayın ve bunun tam olarak nasıl bişey olduğunu merak ediyorsanız demo linke tıklayın

Demo

Aç: system/functions.php

Bul

Code:
$bbcodes = array(
'\\[img\\]([^\\\'\;\?[]*)\.(jpg|jpeg|gif|png)\\[/img\\]' => '<img src="\\1.\\2" alt="" />',


Bo kod ile değiştir

Code:
$bbcodes = array(
'\\[img\\]([^\\\'\;\?([]*)\.(jpg|jpeg|gif|png)\\[/img\\]' => '<p class="thumbContainer"><img onclick="new Moognify(this);" src="\\1.\\2" alt="click image to close" /><br />click image for smart resizer or-<a href="\\1.\\2"  target="_blank" >Click Here for full size</a></p>',


------------------------------------

Aç: skins/seninteman/header.tpl

Uygun biyere ekle genelde <title>{HEADER_TITLE}</title> bunun altına eklenir

Ekle

Code:
<script type="text/javascript" src="skins/{PHP.skin}/scripts/mootools.js"></script>
<script type="text/javascript" src="skins/{PHP.skin}/scripts/Moognify.js"></script>


------------------------------------

Aç: skins/seninteaman/senincssen.css

En Alta Ekle

Code:
/* ============== Smart Image Resizer ============== */
.thumbContainer {
background-color: #3e3e3e;
padding: 5px;
margin-bottom: 20px;
font-size: 11px;
text-align: center;
color: #aaaaaa;
max-width: 200px;// set the size of your desired thumbnail here
}
.thumbContainer a {
color: #ffffff;
text-decoration: none;
}
.thumbContainer img {
margin-bottom: 3px;
cursor: pointer;
max-width: 200px;
}
* html .thumbContainer {
border: 0;
width: expression(((this.width>200)?this.width=200:null)?"normal":"normal");// make sure to mach max-width above
}
.moognifyBorder {
font-family: Tahoma, lucida grande, lucida sans, lucida sans unicode, arial, sans serif;
background-color: #000000;// set up your background color here
color: #ffffff;//set up your text color here
font-size: 11px;
text-align: center;
margin-bottom: 10px;
}

----------------------------

Css leri BURDAN Download edebilirsiniz kolay gelsin..

Aragorn-pc

Destek Ekibi


Online status

618 posts
http://kankayizz.biz
Pagerank: 1

Location: Turkey Kayseri
Occupation: Pano Prof..
Age: 31

#19266   2008-03-18 11:14 GMT      
pop3 kullanilarak da yapilabilir bu (: güzel..
KanKayizz.biz | Ldu Sandstorm Skins Artik Seditio da =) Görmek için Tiklayin..http://kankayizz.biz

Sizde RekLam Alin Sizde Kazanin!

Arsiv v1.5

HuKuM

Members


Online status

89 posts
http://wWw.KoRKuTuCu.Com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#19267   2008-03-18 11:15 GMT      

Teşekkür ederim güzel paylaşım forumua uyguladım velakin forumlarda boyutu büyük resimler hala büyük gösteriyo bunu nasıl küçültürüm.


!..YeTTi ArTıK BeLKi Bu Gece KaFaMa SıKarıM..!
|l|lllll|lll||ll||lll|
²¹°¹³²¹³ °¹²¹³

SpySnaKe

Members


Online status

16 posts
http://rootinq.org
Pagerank: 1

Location: Turkey in ?zmir
Occupation: Sedd
Age: 21

#19271   2008-03-18 14:05 GMT      
Mutlaka bir yanlışlık yaptın yoksa demo sitedeki gibi çalışması lazım hatta resmin olduğu heryerde çalışıyor haberlerde bile

HuKuM

Members


Online status

89 posts
http://wWw.KoRKuTuCu.Com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#19350   2008-03-18 17:44 GMT      
hayır eminim yani dogru yaptıgımdan pekala verdigin kodlar arasında pxsel degeri varmı varsa belki ondan duzenleme yapabilirim.


!..YeTTi ArTıK BeLKi Bu Gece KaFaMa SıKarıM..!
|l|lllll|lll||ll||lll|
²¹°¹³²¹³ °¹²¹³

MUST!

Destek Ekibi


Online status

528 posts
http://www.balabirlik.com
Pagerank: 2

Location: Turkey
Occupation: ankara
Age:

#19515   2008-03-19 17:35 GMT      
çok sağol ,, peki forum konualarındaki resimlerin hepsinin aynı boyda cıkamasını istiyorum bunu nasıl yapabiliriz
Web Sitene Reklam Alıp Para Kazanmak İçin Tıkla
BalaBirlik.com forumdaki reklamlara tıklayarak bana destek olabilirsiniz
MUST! Security V.1 Kodlama Bitti, Yakında Yeni Bi tema daha Hazırlıcam

Kaan

Moderators


Online status

2,134 posts
http://www.ntka.org
Pagerank: 2

Location: Turkey
Occupation: Destek
Age: 26

#19928   2008-03-22 10:47 GMT      
Kodlar yenilenmiş ve texboxer a uyarlanmıştır. gerekli değişikleri yaparak sitenize uygulayabilrsiniz.

ilgili baglantı.
http://www.neocrome.net/forums.php?m=posts&q=23665&n=last#bottom
> 1 <

Benzer konular (Similar topics) #BETA

Keywords (beta):

Forum Arşiv (beta):

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255] [256] [257] [258] [259] [260] [261] [262] [263] [264] [265] [266] [267] [268] [269] [270] [271] [272] [273] [274] [275] [276] [277] [278] [279]