الرئيسية | الشروط والقوانين | سياسة الخصوصية | اتصل بنا | الأرشيف | RSS |
يمنع منعا باتا وضع موضوع إعلاني |
#1
|
||||
|
||||
طريقة تسريع تصفح المنتدى
طريقة تسريع تصفخ المنتدى كود:
$dotuserid=''; $dotjoin=''; $votequery=''; if ($showdots and $bbuserinfo[userid] >= 1) { $dotuserid = 'DISTINCT post.userid,'; $dotjoin = "LEFT JOIN post ON (thread.threadid = post.threadid AND post.userid = '$bbuserinfo[userid]' AND post.visible = 1)"; } إستبدله بهذا الكود *************************************** كود:
$votequery=''; إبحث عن هذا الكود ******************************** كود:
$threads=$DB_site->query(" SELECT $dotuserid $votequery ".iif($foruminfo[allowicons],'icon.title as icontitle,icon.iconpath,','')." thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid, lastposter,thread.dateline,views,thread.iconid,not es,thread.visible,sticky,votetotal,attach FROM thread ".iif($foruminfo[allowicons],'LEFT JOIN icon ON (icon.iconid = thread.iconid)','')." $dotjoin WHERE $threadids ORDER BY sticky DESC, $sortfield $sqlsortorder "); إستبدله بهذا الكود ********************************** كود:
$threads=$DB_site->query(" SELECT $votequery ".iif($foruminfo[allowicons],'icon.title as icontitle,icon.iconpath,','')." thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid, lastposter,thread.dateline,views,thread.iconid,not es,thread.visible,sticky,votetotal,attach FROM thread ".iif($foruminfo[allowicons],'LEFT JOIN icon ON (icon.iconid = thread.iconid)','')." WHERE $threadids ORDER BY sticky DESC, $sortfield $sqlsortorder "); if ($showdots and $bbuserinfo[userid] >= 1) { $dotthreads = array(); $dottedthreads = $DB_site->query("SELECT DISTINCT threadid FROM post WHERE userid = '$bbuserinfo[userid]' AND visible = 1 AND ".substr($threadids,7)); while ($dottedthread = $DB_site->fetch_array($dottedthreads)) { $dotthreads[] = $dottedthread['threadid']; } } ************************************* إبحث عن هذا الكود ************************************* كود:
if ($showdots and $bbuserinfo[userid] >= 1 an $bbuserinfo[userid] == $thread[userid]) { d$thread[newoldhot] = 'dot_' . $thread[newoldhot]; } ************************************* إستبدله بهذا الكود ************************************** كود:
if ($showdots and $bbuserinfo[userid] >= 1 and in_array($thread['threadid'],$dotthreads)) { $thread[newoldhot] = 'dot_' . $thread[newoldhot]; } ********************************* إنتهى
|
30-11-2005, 08:51 AM | رقم المشاركة : 2 | |
|
شكرا اخوي |
|
|
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
|
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
طريقة تسريع فتح صفحات الويب بلا برنامج ولا هم يحزنون والله وصاروخ | VIP | منـتدى المشاكل والحلول | 4 | 31-12-2005 02:51 AM |
لتسريع تصفح المنتدى !! | VIP | تطويــــر المنتديــ VB3 ـات | 2 | 23-08-2005 08:02 AM |
طريقة تسريع المنتدى 300% او اكثر..... | VIP | تطويــــر المنتديــ VB3 ـات | 2 | 02-08-2005 11:22 AM |
30 طريقة لكسب الاجر فى المنتدى | ROLZ | المنـتدى الاسـلامي | 8 | 05-06-2005 04:24 PM |
** / طريقة تسريع المتصفح بدون برامج \ ** | الذهبي | منـتدى البـرامـج والشروحات | 4 | 26-03-2005 01:18 PM |
الساعة الآن 09:26 AM
|