Untitled 1
 
m1 m
شبكة نساء الجنة الإسلامية
عدد الضغطات : 1,993
عدد الضغطات : 2,303


awlstyle-2 awlstyle-3 awlstyle-1
awlstyle-5
العودة   |: معهد أول ستايل :| > منتدي تطوير المواقع > دعم مجــــ MK PORTAL ـــلة
awlstyle-4
awlstyle-7 awlstyle-6
awlstyle-9 awlstyle-10 awlstyle-8


إضافة رد
 
أدوات الموضوع انواع عرض الموضوع
awlstyle-2 awlstyle-3 awlstyle-1
awlstyle-5
قديم 01-07-2008, 01:46 AM   #1 (permalink)
:: مطرود من قبل الإدارة ::
12 [Edit][vb3.7] حل مشكلة Security Token Errors الرمز الأمني مفقود (((مهم جدا)))

بسم الله الرحمن الرحيم

لماذا هنا وضعت هذا الموضوع لان المجلة مربوطة معى قاعدة بيانات المنتدى فلابد من تصحيح الاثنين وليس المنتدى فقط حتى لا تقف المجلة

لنرى بسم الله :-

اولا افتح ملف functions.php من بعد ماتاخذ منه نسخه احتياطيه لتفادي اي خطا وارد بالتعديل رجاء ثانياً اخذ باك اب

ثم ابحث عن:

كود PHP:

كود PHP:
function printpage ($left$right$title$content_main$editor="") { 
                global 
$DB$Skin$mklib_board$mkportals

                
// parse content if there is header. Remove header and other duplicates tag 
                
$board_header ""
                
$pos strpos($content_main"<head>"); 
                
$pos2 strpos($content_main"</head>"); 
                if (
$pos && $pos2)  { 
                        
$board_header substr($content_main, ($pos +6), ($pos2 $pos -6)); 
                        
$content_main substr($content_main$pos2); 
                        
$content_main str_replace ("</head>"""$content_main); 
                        
$content_main str_replace ("<body>"""$content_main); 
                        
$content_main str_replace ("</body>"""$content_main); 
                        
$content_main str_replace ("</html>"""$content_main); 
                        
$content_main "<tr><td valign=\"top\">".$content_main."</td></tr>"
                } 
                
//end parse 
                
$output $this->header($title$left$right$board_header); 
                if (
$this->loadcolumnleft)  { 
                        
$output .= $this->block_left(); 
                } 
                
/* 
                قال صلى الله عليه واله و سلم : (( و أوفوا بالعهد )) 
                كما قال صلى الله عليه واله و سلم : (( المسلم أخو المسلم لا يظلمه ولا يسلمه ولا يخذله كل المسلم على المسلم حرام دمه و ماله و عرضه )) أي لا يخونه ولا يبيعه بعرض من الدنيا 
                و قال صلى الله عليه واله و سلم : (( إن الغادر ينصب الله له لواء يوم القيامة فيقال : ألا هذه غدرة فلان )) 
                و كذلك قال صلى الله عليه واله و سلم : (( المسلمون على شروطهم )) ولا شك أن غدر و خيانة المعاهد غير المسلم ذنب يعاقب عليه الشرع لذا فغدر و خيانة المسلم أشد وزراً 
                لذا فشروط إستعمال السكربت هي :الدعاء لي ولوالدي دعوى صالحه في ظهر الغيب 
                عدم استخدام السكربت في معصية الله كالمواقع المخله بالادب العام 
                عدم حذف حقوق السكربت او الوصله المبينه في المجلة تقديراً للجهود المبذوله 
                */ 
                
$content_main str_replace('&copy;2004-2005 All rights reserved''<a href="http://www.gulfson.com" target="_blank">تعريب وتطوير شبكة ابن الخليج</a>'$content_main); 
                
$output .= $this->block_center($content_main); 
                if (
$this->loadcolumnright)  { 
                        
$output .= $this->block_right(); 
                } 
                
$output .= $editor
                
$output .= $this->footer(); 
                print 
$output
                
$this->update_counter(); 
                
$DB->close_db(); 
                exit; 
        } 

واستبدله بـ:


كود PHP:


كود PHP:
// كود معدل من قبل مبرمجين شبكة ابن الخليج للنسخة vbulletin 3.7.* http://www.gulfson.com 
        
function printpage ($left$right$title$content_main$editor="") { 
                global 
$DB$Skin$mklib_board$mkportals$vbulletin

                
// parse content if there is header. Remove header and other duplicates tag 
                
$board_header ""
                if (
strpos($content_main"<html>")) { 
                    
$board_header preg_replace(array('/<(\/?)(meta|html).*?>/si','/<head>(.*?)<\/head>/si'), array('','\\1'), $content_main); 
                    
$content_main preg_replace('/<body>(.*?)<\/body>/si''<tr><td valign="top">\\1</td></tr>'$content_main); 
                } 
                
//end parse 
                
$output $this->header($title$left$right$board_header); 
                if (
$this->loadcolumnleft)  { 
                        
$output .= $this->block_left(); 
                } 
                
/* من فضلك احفظ امانتك ولاتحذف الحقوق التطويرية والبرمجية */ 
                
$content_main str_replace('&copy;2004-2005 All rights reserved''<a href="http://www.gulfson.com" target="_blank">تعريب وتطوير شبكة ابن الخليج</a>'$content_main); 
                
$output .= $this->block_center($content_main); 
                if (
$this->loadcolumnright)  { 
                        
$output .= $this->block_right(); 
                } 
                
$output .= $editor
                
$output .= $this->footer(); 
                
$output str_replace('</form>''<input type="hidden" name="securitytoken" value="' $vbulletin->userinfo['securitytoken'] . '" /></form>'$output); 
                print 
$output
                
$this->update_counter(); 
                
$DB->close_db(); 
                exit; 
        } 
// كود معدل من قبل مبرمجين شبكة ابن الخليج للنسخة vbulletin 3.7.* http://www.gulfson.com 

وابحث عن:


كود PHP:

كود PHP:
        function printpage_forum ($left$right$title$content_main$editor="") { 
                global 
$DB$Skin$mklib_board$mkportals

                
// parse content if there is header. Remove header and other duplicates tag 
                
$board_header ""
                
$pos strpos($content_main"<head>"); 
                
$pos2 strpos($content_main"</head>"); 
                if (
$pos && $pos2)  { 
                        
$board_header substr($content_main, ($pos +6), ($pos2 $pos -6)); 
                        
$content_main substr($content_main$pos2); 
                        
$content_main str_replace ("</head>"""$content_main); 
                        
$content_main str_replace ("<body>"""$content_main); 
                        
$content_main str_replace ("</body>"""$content_main); 
                        
$content_main str_replace ("</html>"""$content_main); 
                        
$content_main "<tr><td valign=\"top\">".$content_main."</td></tr>"
                } 

                
//end parse 
                
$output $this->header($title$left$right$board_header); 
                if (
$this->unloadforumleft == 0)  { 
                        
$output .= $this->block_left(); 
                } 
                
$output .= $this->block_center($content_main); 
                if (
$this->unloadforumright == 0)  { 
                        
$output .= $this->block_right(); 
                } 
                
$output .= $editor
                
$output .= $this->footer(); 
                
$this->update_counter(); 
                return 
$output
                
//$DB->close_db(); 
                //exit; 
        


واستبدله بـ:


كود PHP:
كود PHP:
        // كود معدل من قبل مبرمجين شبكة ابن الخليج للنسخة vbulletin 3.7.* http://www.gulfson.com 
        
function printpage_forum ($left$right$title$content_main$editor="") { 
                global 
$DB$Skin$mklib_board$mkportals$vbulletin

                
// parse content if there is header. Remove header and other duplicates tag 
                
$board_header ""
                if (
strpos($content_main"<html>")) { 
                    
$board_header preg_replace(array('/<(\/?)(meta|html).*?>/si','/<head>(.*?)<\/head>/si'), array('','\\1'), $content_main); 
                    
$content_main preg_replace('/<body>(.*?)<\/body>/si''<tr><td valign="top">\\1</td></tr>'$content_main); 
                } 

                
//end parse 
                
$output $this->header($title$left$right$board_header); 
                if (
$this->unloadforumleft == 0)  { 
                        
$output .= $this->block_left(); 
                } 
                
$output .= $this->block_center($content_main); 
                if (
$this->unloadforumright == 0)  { 
                        
$output .= $this->block_right(); 
                } 
                
$output .= $editor
                
$output .= $this->footer(); 
                
$this->update_counter(); 
                
$output str_replace('</form>''<input type="hidden" name="securitytoken" value="' $vbulletin->userinfo['securitytoken'] . '" /></form>'$output); 
                return 
$output
                
//$DB->close_db(); 
                //exit; 
        

        
// كود معدل من قبل مبرمجين شبكة ابن الخليج للنسخة vbulletin 3.7.* http://www.gulfson.com  

وابحث عن:


كود PHP:
        function 
printpage_admin ($title$content_admin$editor="") { 
                global 
$Skin$DB
                require 
"admin/ad_menu.php"
                
$output $this->header($title"1""0"); 
                
$output .= $Skin->view_column_left($menu); 
                
$output .= $Skin->view_separator_v(); 
                
$output .= $this->block_center($content_admin); 
                
$output .= $editor
                
$output .= $this->footer_admin(); 
                
$DB->close_db(); 
                print 
$output
                exit; 
        } 
واستبدله بـ:


كود PHP:

كود PHP:
        // كود معدل من قبل مبرمجين شبكة ابن الخليج للنسخة vbulletin 3.7.* http://www.gulfson.com 
        
function printpage_admin ($title$content_admin$editor="") { 
                global 
$Skin$DB$vbulletin
                require 
"admin/ad_menu.php"
                
$output $this->header($title"1""0"); 
                
$output .= $Skin->view_column_left($menu); 
                
$output .= $Skin->view_separator_v(); 
                
$output .= $this->block_center($content_admin); 
                
$output .= $editor
                
$output .= $this->footer_admin(); 
                
$DB->close_db(); 
                
$output str_replace('</form>''<input type="hidden" name="securitytoken" value="' $vbulletin->userinfo['securitytoken'] . '" /></form>'$output); 
                print 
$output
                exit; 
        } 
        
// كود معدل من قبل مبرمجين شبكة ابن الخليج للنسخة vbulletin 3.7.* http://www.gulfson.com 
وابحث عن:

كود PHP:

كود PHP:
        function printpage_blog ($left$right$title$content_blog$editor="") { 
                global 
$mkportals$DB$Skin$mklib_board
                require 
"mkportal/modules/blog/menusx.php"
                require 
"mkportal/modules/blog/menudx.php"

                
$output $this->header($title$left$right); 
                if (
$this->loadcolumnleft)  { 
                        
$output .= $Skin->view_column_left($menusx); 
                        
$output .= $Skin->view_separator_v(); 
                } 
                
$content_blog str_replace('&copy;2004-2005 All rights reserved''<a href="http://www.gulfson.com" target="_blank">تعريب وتطوير شبكة ابن الخليج</a>'$content_blog); 
                
$output .= $this->block_center($content_blog); 
                if (
$this->loadcolumnright)  { 
                        
$output .= $Skin->view_separator_v(); 
                        
$output .= $Skin->view_column_right($menudx); 
                } 
                
$output .= $editor
                
$output .= $this->footer(); 
                
$this->update_counter(); 
                
$DB->close_db(); 
                print 
$output
                exit; 
        } 

واستبدله بـ:


كود PHP:

كود PHP:
        // كود معدل من قبل مبرمجين شبكة ابن الخليج للنسخة vbulletin 3.7.* http://www.gulfson.com 
        
function printpage_blog ($left$right$title$content_blog$editor="") { 
                global 
$mkportals$DB$Skin$mklib_board$vbulletin
                require 
"mkportal/modules/blog/menusx.php"
                require 
"mkportal/modules/blog/menudx.php"

                
$output $this->header($title$left$right); 
                if (
$this->loadcolumnleft)  { 
                        
$output .= $Skin->view_column_left($menusx); 
                        
$output .= $Skin->view_separator_v(); 
                } 
                
$content_blog str_replace('&copy;2004-2005 All rights reserved''<a href="http://www.gulfson.com" target="_blank">تعريب وتطوير شبكة ابن الخليج</a>'$content_blog); 
                
$output .= $this->block_center($content_blog); 
                if (
$this->loadcolumnright)  { 
                        
$output .= $Skin->view_separator_v(); 
                        
$output .= $Skin->view_column_right($menudx); 
                } 
                
$output .= $editor
                
$output .= $this->footer(); 
                
$this->update_counter(); 
                
$DB->close_db(); 
                
$output str_replace('</form>''<input type="hidden" name="securitytoken" value="' $vbulletin->userinfo['securitytoken'] . '" /></form>'$output); 
                print 
$output
                exit; 
        } 
        
// كود معدل من قبل مبرمجين شبكة ابن الخليج للنسخة vbulletin 3.7.* http://www.gulfson.com 
علماً ان الاكواد محسنه ومخفف عن ماسبقها
بارك الله فيكم وفى باقى فريق ابن الخليج الذى عملنا معى بعضنا على حل هذه المشكلة

وان حدث شئ عند التركيب هذه الوسوم ارجو قولها فى موضوع المشاكل بهذا القسم وسوف نحلها معى بعضنا انشاء الله تعالى

 

الموضوع الأصلي : [Edit][vb3.7] حل مشكلة Security Token Errors الرمز الأمني مفقود     -||-     المصدر : |: معهد أول ستايل :|     -||-     الكاتب : op4host





التعديل الأخير تم بواسطة op4host ; 01-07-2008 الساعة 02:02 AM.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
رد مع اقتباس
awlstyle-4
awlstyle-7 awlstyle-6
awlstyle-9 awlstyle-10 awlstyle-8

إضافة رد
Submit Thread >  Submit to AddThisTo Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Google Submit to Yahoo! This Submit to Technorati Submit to StumbleUpon Submit to Spurl Submit to Netscape  < Submit Thread


الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 
أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة

الانتقال السريع


الساعة الآن 06:10 AM.

Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 ,
Ads Management Version 3.0.0 by Saeed Al-Atwi

a.d - i.s.s.w


Alexa Group By SudanSon

ضع ايميلك ليصلك كل جديد في شبكتنا:

Delivered by FeedBurner

خريطة الموقع

معاً لعهد جديد بالداخلية ولنرجع مصرنا آمنة 

FOOTER-2
FOOTER-1

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

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