Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
1161
ME_Haber 2.3 ..(110937 okuma, 145 yanıt) Resim Galerisi Modülü 2.0 ..(123429 okuma, 173 yanıt) Ustalardan Bir Ricam Olac ..(13794 okuma, 6 yanıt) nukecode.com will close ..(11337 okuma, 5 yanıt) super youtube player a lo ..(6440 okuma, 1 yanıt) Need good PHP Haber port ..(5684 okuma, 0 yanıt) Forum Nasil Tam Sayfa Olu ..(35599 okuma, 40 yanıt) Php nuke Forumu Düzenleme ..(10054 okuma, 6 yanıt) Yeni Üyelik Aktivasyon Li ..(11111 okuma, 6 yanıt) Aşk Flashları Modülü ..(7116 okuma, 2 yanıt) resim galeri 2.0 da kateg ..(11589 okuma, 9 yanıt) Yeni iki modul: Merhumlar ..(32682 okuma, 36 yanıt) ürün tanıtım modülü ..(25511 okuma, 23 yanıt) PHP Nuke is out ..(15243 okuma, 13 yanıt) MSN Video Bing Video oldu ..(5288 okuma, 0 yanıt) haberhit.com ..(5873 okuma, 1 yanıt) Bilgi Yarışması 1.0 tama ..(52735 okuma, 72 yanıt) Musıc Box elinde olan var ..(6800 okuma, 2 yanıt) Online Okey , Batak , Tav ..(176028 okuma, 340 yanıt) Emlak Modül ve Blockları ..(12465 okuma, 8 yanıt) WM who ist shampions ..(5144 okuma, 1 yanıt) coppermine resim galerisi ..(5562 okuma, 1 yanıt) Forumda Teşekkür Eklentis ..(9176 okuma, 7 yanıt) free wordpress themes ..(5658 okuma, 1 yanıt) JW image rotator for nsn ..(7762 okuma, 4 yanıt) need Iletisim module ..(11153 okuma, 8 yanıt) Yeni modul: İletişim modu ..(28002 okuma, 33 yanıt) Başvuru Modulu ve Etkinli ..(5930 okuma, 1 yanıt) world cup flash ..(5114 okuma, 0 yanıt) ..:: Php Nuke FTP link Ha ..(5005 okuma, 0 yanıt) yeni phpnuke youtube 2.0 ..(5248 okuma, 1 yanıt) Content Plus Önceki Konu ..(4844 okuma, 0 yanıt) Php nuke Tickets Modülü ..(8078 okuma, 5 yanıt) need help to news time ..(4618 okuma, 0 yanıt) NSN News v3.0 new plugin ..(4901 okuma, 0 yanıt) how to save flash as imag ..(6135 okuma, 2 yanıt) Video Blok Yardım Lütfen. ..(6069 okuma, 2 yanıt) gazete ara ..(9919 okuma, 5 yanıt) Bizim Yazarlar ve Bizim Ş ..(15139 okuma, 14 yanıt) Nuke Reflections v2 Türkç ..(14794 okuma, 14 yanıt) CNB Your Account 750 442 ..(14430 okuma, 13 yanıt) Admin panelindeki simge ç ..(12477 okuma, 9 yanıt) Hosting Modülü ..(14219 okuma, 13 yanıt) Bizim şairler Modülü ..(5282 okuma, 1 yanıt) new plugin for nsn news v ..(4828 okuma, 1 yanıt) php nuke 8.0 türkce dil s ..(7027 okuma, 3 yanıt) Kan Bankası Modül istek ..(6258 okuma, 2 yanıt) Haber Konulari Sayfasinda ..(5853 okuma, 2 yanıt) Kan Bankası Modülünde İsi ..(7173 okuma, 3 yanıt) sonhaberler flash block ..(6723 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Content Modülü karakter sınırlaması
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
mersoy Mesaj: 1000+
Kayıt: Dec 08, 2007 Mesajlar: 2316
Tarih: 2008-06-09, 10:32:04 Mesaj konusu: Content Modülü karakter sınırlaması
arkadaşlar content modülüne eklediğim içerikler bir yerde kesiliyor yani karakter sınırlaması var.
İçerikleri bölemiyorum konu dağılıyor ve çok mağdurum bu konuda
uzman arkadaşlardan YARDIM bekliyorum.
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-18, 13:39:10 Mesaj konusu: Forum Arası Reklamlar
Başa dön
melik Mesaj: 500+
Kayıt: Sep 06, 2005 Mesajlar: 944 Konum: Elazığ/Kovancılar
Tarih: 2008-06-09, 11:11:24 Mesaj konusu:
Kardeş bu nuke sürümünden kaynaklanıyor olabilir eski sürümlerde böle bir sorun yoktu ama burzi yeni sürümlerde strpslashes chek_html_text gibi fonksiyonlarla html kodlarına biraz daha hakim olmuş bu nedenle sorun çıkıyor eski sürümlerden bi content modülünü değiştir olmazsa content/admin/index.php dosyasında $result= yani veri çeken yerlerin altındaki filtrelerden temizleyeceksin..
Başa dön
mersoy Mesaj: 1000+
Kayıt: Dec 08, 2007 Mesajlar: 2316
Tarih: 2008-06-09, 12:58:38 Mesaj konusu:
melik seni görmek ne güzel :)
7,6 content dosyalarınıda yükledim ama yine aynı
index.php alttaki gibi ben çıkamadım işin içinden bakarsan sevinirim.
Kod:
<php>sql_fetchrow($db->sql_query("SELECT title, admins FROM ".$prefix."_modules WHERE title='Content'"));
$row2 = $db->sql_fetchrow($db->sql_query("SELECT name, radminsuper FROM ".$prefix."_authors WHERE aid='$aid'"));
$admins = explode(",", $row['admins']);
$auth_user = 0;
for ($i=0; $i </b>sql_query("SELECT * from " . $prefix . "_pages order by pid");
while ($mypages = $db->sql_fetchrow($result)) {
$mycid = intval($mypages['cid']);
$myactive = intval($mypages['active']);
$mypid = intval($mypages['pid']);
$mytitle = $mypages['title'];
if ($mycid == "0" OR $mycid == "") {
$cat_title = _NONE;
} else {
$row_res = $db->sql_fetchrow($db->sql_query("SELECT title from " . $prefix . "_pages_categories where cid='$mycid'"));
$cat_title = $row_res['title'];
}
if ($myactive == 1) {
$status = _ACTIVE;
$status_chng = _DEACTIVATE;
$active = 1;
} else {
$status = "<i>" . _INACTIVE . "</i>";
$status_chng = _ACTIVATE;
$active = 0;
}
echo "<tr><td><a href="modules.php?name=Content&pa=showpage&pid=$mypid\">$mytitle</a></td><td>$status</td><td>$cat_title</td><td>[ <a href="">" . _EDIT . "</a> | <a href="">$status_chng</a> | <a href="">" . _DELETE . "</a> ]</td></tr>";
}
echo "</table>";
CloseTable();
echo "<br>";
OpenTable();
echo "<center><b>" . _ADDCATEGORY . "</b></center><br><br>"
."<form action=\"".$admin_file.".php\" method=\"post\">"
."<b>" . _TITLE . ":</b><br><input><br><br>"
."<b>" . _DEscriptION . ":</b><br>";
# <textarea></textarea>
wysiwyg_textarea("desc", "", "PHPNukeAdmin", "50", "10");
echo "<br><br>"
."<input>"
."<input>"
."</form>";
CloseTable();
$rescat = $db->sql_query("SELECT cid, title from " . $prefix . "_pages_categories order by title");
$numrows = $db->sql_numrows($rescat);
if ($numrows > 0) {
echo "<br>";
OpenTable();
echo "<center><b>" . _EDITCATEGORY . "</b></center><br><br>"
."<form action=\"".$admin_file.".php\" method=\"post\">"
."<b>" . _CATEGORY . ":</b> "
."<select>";
while ($row_cat = $db->sql_fetchrow($rescat)) {
$cid = intval($row_cat['cid']);
$cat_title = $row_cat['title'];
echo "<option>$cat_title</option>";
}
echo "</select> "
."<input>"
."<input>"
."</form>";
CloseTable();
}
echo "<br>";
OpenTable();
$res2 = $db->sql_query("SELECT cid, title from " . $prefix . "_pages_categories order by title");
$numrows2 = $db->sql_numrows($res2);
echo "<center><b>" . _ADDANEWPAGE . "</b></center><br><br>"
."<form action=\"".$admin_file.".php\" method=\"post\">"
."<b>" . _TITLE . ":</b><br>"
."<input><br><br>";
if ($numrows2 > 0) {
echo "<b>" . _CATEGORY . ":</b> "
."<select>"
."<option>" . _NONE . "</option>";
while ($row_res2 = $db->sql_fetchrow($res2)) {
$cid = intval($row_res2['cid']);
$cat_title = $row_res2['title'];
echo "<option>$cat_title</option>";
}
echo "</select><br><br>";
} else {
echo "<input>";
}
echo "<b>" . _CSUBTITLE . ":</b><br>"
."<input><br><br>"
."<b>" . _HEADERTEXT . ":</b><br>";
# ."<textarea></textarea>
wysiwyg_textarea("page_header", "", "PHPNukeAdmin", "60", "10");
echo "<br><br>"
."<b>" . _PAGETEXT . ":</b><br>"
."<font>" . _PAGEBREAK . "</font><br>";
# ."<textarea></textarea>
wysiwyg_textarea("text", "", "PHPNukeAdmin", "60", "40");
echo "<br><br>"
."<b>" . _FOOTERTEXT . ":</b><br>";
# ."<textarea></textarea>
wysiwyg_textarea("page_footer", "", "PHPNukeAdmin", "60", "10");
echo "<br><br>"
."<b>" . _SIGNATURE . ":</b><br>";
# ."<textarea></textarea>
wysiwyg_textarea("signature", "", "PHPNukeAdmin", "60", "5");
echo "<br><br>";
if ($multilingual == 1) {
echo "<br><b>" . _LANGUAGE . ": </b>"
."<select>";
$handle=opendir('language');
while ($file = readdir($handle)) {
if (preg_match("/^lang\-(.+)\.php/", $file, $matches)) {
$langFound = $matches[1];
$languageslist .= "$langFound ";
}
}
closedir($handle);
$languageslist = explode(" ", $languageslist);
sort($languageslist);
for ($i=0; $i </option>sql_query("insert into " . $prefix . "_pages_categories values (NULL, '$cat_title', '$description')");
Header("Location: ".$admin_file.".php?op=content");
}
function edit_category($cid) {
global $prefix, $db, $admin_file;
include("header.php");
GraphicAdmin();
title("" . _CONTENTMANAGER . "");
OpenTable();
$cid = intval($cid);
$row = $db->sql_fetchrow($db->sql_query("SELECT title, description from " . $prefix . "_pages_categories where cid='$cid'"));
$title = $row['title'];
# $description = $row['description'];
$desc = $row['description'];
echo "<center><b>" . _EDITCATEGORY . "</b></center><br><br>"
."<form action=\"".$admin_file.".php\" method=\"post\">"
."<b>" . _TITLE . "</b><br>"
."<input><br><br>"
."<b>" . _DEscriptION . "</b>:<br>";
# echo "<textarea>$description</textarea><br><br>";
wysiwyg_textarea("desc", "$desc", "PHPNukeAdmin", "50", "10");
echo "<br><br><input>"
."<input>"
."<input> "
."[ <a href="">" . _DELETE . "</a> ]"
."</form>";
CloseTable();
include("footer.php");
}
function save_category($cid, $cat_title, $description) {
global $prefix, $db, $admin_file;
$cid = intval($cid);
$db->sql_query("update " . $prefix . "_pages_categories set title='$cat_title', description='$description' where cid='$cid'");
Header("Location: ".$admin_file.".php?op=content");
}
function del_content_cat($cid, $ok=0) {
global $prefix, $db, $admin_file;
if ($ok==1) {
$cid = intval($cid);
$db->sql_query("delete from " . $prefix . "_pages_categories where cid='$cid'");
$result = $db->sql_query("SELECT pid from " . $prefix . "_pages where cid='$cid'");
while ($row = $db->sql_fetchrow($result)) {
$pid = intval($row['pid']);
$db->sql_query("update " . $prefix . "_pages set cid='0' where pid='$pid'");
}
Header("Location: ".$admin_file.".php?op=content");
} else {
include("header.php");
GraphicAdmin();
title("" . _CONTENTMANAGER . "");
$cid = intval($cid);
$row2 = $db->sql_fetchrow($db->sql_query("SELECT title from " . $prefix . "_pages_categories where cid='$cid'"));
$title = $row2['title'];
OpenTable();
echo "<center><b>" . _DELCATEGORY . ": $title</b><br><br>"
.""._DELCONTENTCAT."<br><br>"
."[ <a href="">" . _NO . "</a> | <a href="">" . _YES . "</a> ]</center>";
CloseTable();
include("footer.php");
}
}
function content_edit($pid) {
global $prefix, $db, $language, $multilingual, $bgcolor2, $admin_file;
include("header.php");
GraphicAdmin();
title(""._CONTENTMANAGER."");
$pid = intval($pid);
$mypages = $db->sql_fetchrow($db->sql_query("SELECT * from " . $prefix . "_pages WHERE pid='$pid'"));
$mycid = intval($mypages['cid']);
$myactive = intval($mypages['active']);
$mytitle = $mypages['title'];
$mysubtitle = $mypages['subtitle'];
$mypage_header = $mypages['page_header'];
$mytext = $mypages['text'];
$mypage_footer = $mypages['page_footer'];
$mysignature = $mypages['signature'];
$myclanguage = $mypages['clanguage'];
if ($myactive == 1) {
$sel1 = "checked";
$sel2 = "";
} else {
$sel1 = "";
$sel2 = "checked";
}
OpenTable();
echo "<center><b>" . _EDITPAGECONTENT . "</b></center><br><br>"
."<form action=\"".$admin_file.".php\" method=\"post\">"
."<b>" . _TITLE . ":</b><br>"
."<input><br><br>";
$res = $db->sql_query("SELECT cid, title from " . $prefix . "_pages_categories");
$numrows = $db->sql_numrows($res);
if ($numrows > 0) {
echo "<b>" . _CATEGORY . ":</b> "
."<select>";
if ($mycid == 0) {
$sel = "selected";
} else {
$sel = "";
}
echo "<option>" . _NONE . "</option>";
while ($row_res = $db->sql_fetchrow($res)) {
$cid = intval($row_res['cid']);
$cat_title = $row_res['title'];
if ($mycid == $cid) {
$sel = "selected";
} else {
$sel = "";
}
echo "<option>$cat_title</option>";
}
echo "</select><br><br>";
} else {
echo "<input>";
}
echo "<b>" . _CSUBTITLE . ":</b><br>"
."<input><br><br>"
."<b>" . _HEADERTEXT . ":</b><br>";
# ."<textarea>$mypage_header</textarea>
wysiwyg_textarea("page_header", "$mypage_header", "PHPNukeAdmin", "60", "10");
echo "<br><br>"
."<b>" . _PAGETEXT . ":</b><br>"
."<font>" . _PAGEBREAK . "</font><br>";
# ."<textarea>$mytext</textarea>
wysiwyg_textarea("text", "$mytext", "PHPNukeAdmin", "60", "40");
echo "<br><br>"
."<b>" . _FOOTERTEXT . ":</b><br>";
# ."<textarea>$mypage_footer</textarea>
wysiwyg_textarea("page_footer", "$mypage_footer", "PHPNukeAdmin", "60", "10");
echo "<br><br>"
."<b>" . _SIGNATURE . ":</b><br>";
# ."<textarea>$mysignature</textarea>
wysiwyg_textarea("signature", "$mysignature", "PHPNukeAdmin", "60", "5");
echo "<br><br>";
if ($multilingual == 1) {
echo "<br><b>" . _LANGUAGE . ": </b>"
."<select>";
$handle=opendir('language');
while ($file = readdir($handle)) {
if (preg_match("/^lang\-(.+)\.php/", $file, $matches)) {
$langFound = $matches[1];
$languageslist .= "$langFound ";
}
}
closedir($handle);
$languageslist = explode(" ", $languageslist);
sort($languageslist);
for ($i=0; $i </option>sql_query("insert into " . $prefix . "_pages values (NULL, '$cid', '$title', '$subtitle', '$active', '$page_header', '$text', '$page_footer', '$signature', now(), '0', '$clanguage')");
Header("Location: ".$admin_file.".php?op=content");
}
function content_save_edit($pid, $title, $subtitle, $page_header, $text, $page_footer, $signature, $clanguage, $active, $cid) {
global $prefix, $db, $admin_file;
$text = stripslashes(FixQuotes($text));
$title = stripslashes(FixQuotes($title));
$subtitle = stripslashes(FixQuotes($subtitle));
$pid = intval($pid);
$db->sql_query("update " . $prefix . "_pages set cid='$cid', title='$title', subtitle='$subtitle', active='$active', page_header='$page_header', text='$text', page_footer='$page_footer', signature='$signature', clanguage='$clanguage' where pid='$pid'");
Header("Location: ".$admin_file.".php?op=content");
}
function content_change_status($pid, $active) {
global $prefix, $db, $admin_file;
if ($active == 1) {
$new_active = 0;
} elseif ($active == 0) {
$new_active = 1;
}
$pid = intval($pid);
$db->sql_query("update " . $prefix . "_pages set active='$new_active' WHERE pid='$pid'");
Header("Location: ".$admin_file.".php?op=content");
}
function content_delete($pid, $ok=0) {
global $prefix, $db, $admin_file;
$pid = intval($pid);
if ($ok==1) {
$db->sql_query("delete from " . $prefix . "_pages where pid='$pid'");
Header("Location: ".$admin_file.".php?op=content");
} else {
include("header.php");
GraphicAdmin();
title("" . _CONTENTMANAGER . "");
$row = $db->sql_fetchrow($db->sql_query("SELECT title from " . $prefix . "_pages where pid='$pid'"));
$title = $row['title'];
OpenTable();
echo "<center><b>" . _DELCONTENT . ": $title</b><br><br>"
.""._DELCONTWARNING." $title?<br><br>"
."[ <a href="">" . _NO . "</a> | <a href="">" . _YES . "</a> ]</center>";
CloseTable();
include("footer.php");
}
}
switch ($op) {
case "content":
content();
break;
case "content_edit":
content_edit($pid);
break;
case "content_delete":
content_delete($pid, $ok);
break;
case "content_review":
content_review($title, $subtitle, $page_header, $text, $page_footer, $signature, $clanguage, $active);
break;
case "content_save":
content_save($title, $subtitle, $page_header, $text, $page_footer, $signature, $clanguage, $active, $cid);
break;
case "content_save_edit":
content_save_edit($pid, $title, $subtitle, $page_header, $text, $page_footer, $signature, $clanguage, $active, $cid);
break;
case "content_change_status":
content_change_status($pid, $active);
break;
case "add_category":
# add_category($cat_title, $description);
add_category($cat_title, $desc);
break;
case "edit_category":
edit_category($cid);
break;
case "save_category":
# save_category($cid, $cat_title, $description);
save_category($cid, $cat_title, $desc);
break;
case "del_content_cat":
del_content_cat($cid, $ok);
break;
}
} else {
include("header.php");
GraphicAdmin();
OpenTable();
echo "<center><b>"._ERROR."</b><br><br>You do not have administration permission for module \"$module_name\"</center>";
CloseTable();
include("footer.php");
}
?>
Başa dön
mersoy Mesaj: 1000+
Kayıt: Dec 08, 2007 Mesajlar: 2316
Tarih: 2008-06-10, 09:06:23 Mesaj konusu:
problemim güncel arkadaşlar
Başa dön
melik Mesaj: 500+
Kayıt: Sep 06, 2005 Mesajlar: 944 Konum: Elazığ/Kovancılar
Tarih: 2008-06-10, 20:37:47 Mesaj konusu:
O zaman senin mainfile.php de düzenleme yapmak gerekecek mersoy kardeş sorunun nerde olduğunu tespit edip ona göre gereken yere kodda müdahale edecem ki sanıyorum sınırlamayı ' işaretinden sonra yapıyor bu çok önce benim başıma gelmişti haberi copy paste yaptığımda ' işaretinden sonra kesiyordu bunlardan bir yola çık amac sorunu bulalım..
Başa dön
mersoy Mesaj: 1000+
Kayıt: Dec 08, 2007 Mesajlar: 2316
Tarih: 2008-06-10, 21:10:24 Mesaj konusu:
problem çözüldü teşekkür ederim melik En son mersoy tarafından 2008-06-11, 17:22:05 tarihinde değiştirildi, toplam 1 kere değiştirildi
Başa dön
eren58 Mesaj: 100+
Kayıt: Apr 26, 2005 Mesajlar: 111 Konum: söke
Tarih: 2008-06-11, 00:11:06 Mesaj konusu:
cözüm burada paylasilsaydi bizde yararlanirdik
Başa dön
eren58 Mesaj: 100+
Kayıt: Apr 26, 2005 Mesajlar: 111 Konum: söke
Tarih: 2008-06-11, 00:12:47 Mesaj konusu:
cözüm burada paylasilsaydi bizde yararlanirdik
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-18, 13:39:10 Mesaj konusu: Forum Arası Reklamlar
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