Selam,
Arkadaşlar ben phpnuke 7.9.03.1c kurdum bir sorunum var hersey calisiyor fakat ana sayfadaki resimler gelmiyor..
Sayfanın kaynak koduna baktığım <img src=/images/topics> gornuyor.
kontrol ettim topics altında yum topic reimlerim var belki gif ile GIF oldugundandir dedin uzantılarını değiştim yine olmadı google ve nukecops.com baktım config.php dosyasında şunlerı eklemem gerektiği yazıyordu.
function check_html ($str, $strip="") {
/* The core of this code has been lifted from phpslash */
/* which is licenced under the GPL. Altered by Schmide
to fix losing images problem in 7.9 */
global $AllowableHTML;
include("config.php");
if(!$str)
return NULL;
$str = stripslashes($str);
// Delete all spaces from html tags .
$str = eregi_replace("<[[:space:]]*([^>]*)[[:space:]]*>",'<\\1>', $str);
if ($strip == "nohtml")
{
// if you want to keep just anchor tags or other local combinations of allowables do the following
// otherwise leave the NULL assignment.
// $localAllowableHTMLArray=array("a"=>1);
// $localAllowableHTML=&$localAllowableHTMLArray;
$localAllowableHTML=NULL;
} else {
$localAllowableHTML=&$AllowableHTML;
// Delete j a v a s c r i p t code from a href tags -- Zhen-Xjell @ http://nukecops.com
$str = eregi_replace("<a[^>]*href[[:space:]]*=[[:space:]]*\"?j a v a s c r i p t[[:punct:]]*\"?[^>]*>", '', $str);
}
bolumunude kontrol ettim olmadı..
Ne yapmam lazım bu sorunla karşılaşan ve cözen arkadaşlardan cevap bekliyorum...
eğer resmin yolu <img src=/images/topics> şeklinde ise değişkenlerde sorun vardır, ya da mysl den topic bilgisini alamıyodur, bi ihtimalde haberleri konu içerisine eklemiyosun
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