المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : نظام تسريع المنتديات بتقليل عدد استعلامات الهاكات وضغط المنتجات



Bunny-Star
03-16-2009, 02:51 AM
السلام عليكم ورحمة الله وبركاتة كنت وعدتكم باني راح اطرح نظام تسريع المنتديات وانا الان انفذ وعدي بطرح الهاك للجميع دعك من كل هاكات التسريع واعتمد علي هذا الهاك لما له من تاثير في زيادة سرعة المنتدي فعليا وذلك لان الهاك يقوم بعمل الاتي
1 - يقوم بتعديل وتصحيح جميع الهاكات وضغط استعلاماتها

والان يا احبائي ناتي لطريقة التركيب وهيا معقدة شوي
في البداية افتح ملف admincp/global.php
ثم ابحث عن



$specialtemplates[] = 'pluginlistadmin';


بعدها اضف



$specialtemplates[] = 'acc_p_enabled';
$specialtemplates[] = 'acc_p_cache';


ثم احفظ الملف
ثم افتح ملف admincp/plugin.php
ثم ابحث عن



print_de******ion_row($vbphrase['plugins_disable_config']);
}
print_table_footer(2, '', '', false);
}
}


اسفل منه اضف



/**
* Vbulletin Plugin Accelerator
* @author Dusty Burns (Trigunflame@charter.net)
*/
// ###################### Rebuild Hook Key Cache ######################
if ($_REQUEST['do'] == 'rebuild_acc_cache')
{
/*
* Require Plugin Accelerator Class
* Normally I wouldn't use an external source file, but otherwise
* we're just going to be using a lot of redundant code inside here.
*/
if (@!include_once(DIR . '/includes/class_plugin_accelerator.php'))
{
print_stop_message("acc_class_nfound");
}
/*
* Rebuild Our Hashmap of hook_name => file
* This will be stored in the Vbulletin Datastore
*/
$p_accel = new vb_plugin_accelerator();
if ($h = $p_accel->build_hook_cache())
{
print_cp_message("Rebuilt Plugin Accelerator Hook Cache (<b>$h Hooks</b>)", "plugin.php", 3);
}
}
// ###################### Rebuild All Plugins ######################
if ($_REQUEST['do'] == 'rebuild_acc_plugins')
{
/*
* Require Plugin Accelerator Class
* Normally I wouldn't use an external source file, but otherwise
* we're just going to be using a lot of redundant code inside here.
*/
if (@!include_once(DIR . '/includes/class_plugin_accelerator.php'))
{
print_stop_message("acc_class_nfound");
}
/*
* Rebuild Hook Cache, Reparse all Vbulletin Hooks
* and then insert PHP Code into the correct files.
*/
$p_accel = new vb_plugin_accelerator();
if ($p_accel->build_all_plugins())
{
print_cp_message("Rebuilt All Plugins Successfully", "plugin.php", 3);
}
}
// ###################### Switch Accelerator Status ######################
if ($_REQUEST['do'] == 'status_acc')
{
/*
* Require Plugin Accelerator Class
* Normally I wouldn't use an external source file, but otherwise
* we're just going to be using a lot of redundant code inside here.
*/
if (@!include_once(DIR . '/includes/class_plugin_accelerator.php'))
{
print_stop_message("acc_class_nfound");
}
/*
* Handle Turning On and Off the Plugin Accelerator
*/
$p_accel = new vb_plugin_accelerator();
$p_accel->change_status();
}
/**
* Vbulletin Plugin Accelerator
*/



ثم ارفع جميع الملفات المرفقة داخل مجلد includes
ومن ثم استورد البرودكت
وقم بعد ذلك باعطاء جميع ملفات المنتدي تصريح الكتابة وهو 666 ثم قم بتشغيل الهاك وقم بارجاع التصاريح مرة اخري الي 644 بعد تشغيل الهاك
الملفات التي يجب اعطاء التصريح 666 لها هيا



# Root Directory
ajax.php
announcement.php
attachment.php
calendar.php
cron.php
editpost.php
external.php
faq.php
forumdisplay.php
global.php
index.php
inlinemod.php
joinrequests.php
login.php
member.php
memberlist.php
misc.php
newattachment.php
online.php
payments.php
poll.php
postings.php
printthread.php
private.php
profile.php
register.php
report.php
reputation.php
search.php
sendmessage.php
showgroups.php
showpost.php
showthread.php
sub******ion.php
threadrate.php
usercp.php
usernote.php
# Alternate Index.php Used
# By Some People with CMS
# Uncomment to enable them
#home.php
#forum.php
#index2.php
# AdminCP Directory
#admincp/adminpermissions.php
#admincp/attachment.php
#admincp/forum.php
#admincp/forumpermission.php
#admincp/global.php
#admincp/index.php
#admincp/misc.php
#admincp/moderator.php
#admincp/options.php
#admincp/template.php
#admincp/user.php
#admincp/usergroup.php
#admincp/usertools.php
# Archive Directory
#archive/global.php
#archive/index.php
# Includes Directory
includes/adminfunctions_forums.php
includes/adminfunctions_options.php
includes/adminfunctions_template.php
includes/adminfunctions.php
includes/class_bbcode.php
includes/class_dm_admin.php
includes/class_dm_attachment.php
includes/class_dm_event.php
includes/class_dm_forum.php
includes/class_dm_moderator.php
includes/class_dm_pm.php
includes/class_dm_poll.php
includes/class_dm_pollvote.php
includes/class_dm_threadpost.php
includes/class_dm_threadrate.php
includes/class_dm_user.php
includes/class_dm_userpic.php
includes/class_mail.php
includes/class_paid_sub******ion.php
includes/class_postbit.php
includes/functions_bigthree.php
includes/functions_calendar.php
includes/functions_cron.php
includes/functions_digest.php
includes/functions_editor.php
includes/functions_faq.php
includes/functions_forumdisplay.php
includes/functions_forumlist.php
includes/functions_log_error.php
includes/functions_login.php
includes/functions_newpost.php
includes/functions_online.php
includes/functions_reputation.php
includes/functions_threadedmode.php
includes/functions_threadmanage.php
includes/functions_user.php
includes/functions_wysiwyg.php
includes/functions.php
includes/init.php
includes/searchwords.php
# Includes/Cron Directory
#includes/cron/cleanup.php
# ModCP Directory
#modcp/global.php
#modcp/index.php
#modcp/user.php



وما تنسونا من صالح دعائكم

safa2
10-20-2009, 11:27 AM
السلام عليكم ورحمة الله و بركاتة
مشكور علي مجهودك
تسلم ايدك

محمد مدحت
03-22-2010, 12:43 PM
شكررررررررررررا على الموضوع