الرئيسيةمكتبة الصورس .و .جبحـثالتسجيلدخول

شاطر | 
 

 النسخة 2.1 Ipb نظام الداونلودفى الموقع

استعرض الموضوع السابق استعرض الموضوع التالي اذهب الى الأسفل 
كاتب الموضوعرسالة
weko20108
Admin
avatar

ذكر
عدد الرسائل : 559
العمر : 29
\"المزاج\" :
الاوسمه :
sms :


My SMS
WelCome in NewGoo


الشخصيه :
السٌّمعَة : 0
تاريخ التسجيل : 10/05/2008

مُساهمةموضوع: النسخة 2.1 Ipb نظام الداونلودفى الموقع   الأحد يونيو 08, 2008 7:21 am

الهاك رائع جدا

يحيث انه يقوم بعمل نظام خاص بك يسمح لك باضافة ملفات حتى يتمكن الاعضاء من تنزيلها

ويمكن للاعضاء ايضا ان يقوموا بوضع اشياء فى قائمة الداونلود ولكن بصورة منظمة واحسن.

ارفع المجلدات المرفقة االى اماكنها هنا:

sources/*=====> forum/sources/* - 755
/cache/*======> - forum/cache/* - 755
/skin_acp/* -=====> forum/skin_acp/* - 755
/downloads - ======> forum/downloads - 777
/* - forum/* - 755


بعدها ثم بتشغيل الملف mod_install.php.


افتح الملف index.php :

ابحث عن:

HTML كود
'component' => array( 'component' , 'component' , array() ),


اضف بعدها:

HTML كود
'downloads' => array( 'Modifications/Downloads/downloads' , 'downloads' , array() ),



احفظ الملف وارفعه.

افتح الملف sources/action_admin/groups.php.

ابحث عن:

HTML كود
//-----------------------------------------

$perm_masks = array();

$this->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'forum_perms' ) );
$this->ipsclass->DB->simple_exec();

while ( $r = $this->ipsclass->DB->fetch_row() )
{
$perm_masks[] = array( $r['perm_id'], $r['perm_name'] );
}




اضف تحتها:

HTML كود
//-----------------------------------------

$dls_perm_masks = array();
$dls_perm_masks[] = array('0', 'No Permission');
$this->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'download_permissions' ) );
$this->ipsclass->DB->simple_exec();

while ( $dls_r = $this->ipsclass->DB->fetch_row() )
{
$dls_perm_masks[] = array( $dls_r['perm_id'], $dls_r['perm_name'] );
}



ابحث عن:

HTML كود
'g_max_messages' => $this->ipsclass->input['g_max_messages'],


اضف بعدها:

HTML كود
'g_see_dls_offline' => $this->ipsclass->input['g_see_dls_offline'],
'g_add_dls_files' => $this->ipsclass->input['g_add_dls_files'],
'g_view_dls_cats' => $this->ipsclass->input['g_view_dls_cats'],
'g_view_dls_files' => $this->ipsclass->input['g_view_dls_files'],
'g_only_view_own_files' => $this->ipsclass->input['g_only_view_own_files'],
'g_rate_dls_files' => $this->ipsclass->input['g_rate_dls_files'],
'g_can_dl_files' => $this->ipsclass->input['g_can_dl_files'],
'g_d4upload_on' => $this->ipsclass->input['g_d4upload_on'],
'g_d4upload_amt' => $this->ipsclass->input['g_d4upload_amt'],
'g_dls_apremove_files' => $this->ipsclass->input['g_dls_apremove_files'],
'dls_perm_id' => $this->ipsclass->input['g_dls_apremove_files'],



ابحث عن:

HTML كود
//-----------------------------------------

$this->ipsclass->adskin->td_header[] = array( " " , "40%" );
$this->ipsclass->adskin->td_header[] = array( " " , "60%" );

//-----------------------------------------

$dd_topic_rate = array( 0 => array( 0, 'No' ), 1 => array( 1, 'Yes (Not allowed to change vote)' ), 2 => array( 2, 'Yes (Allowed to change vote)' ) );



اضف اعلاها:

HTML كود
//-----------------------------------------

$this->ipsclass->adskin->td_header[] = array( " " , "40%" );
$this->ipsclass->adskin->td_header[] = array( " " , "60%" );

//-----------------------------------------

$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Downloads System Permissions", "Restricting what this group can do" );

$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Can use System When Offline?
This will allow this group to view the downloads system when it is turned offline." ,
$this->ipsclass->adskin->form_yes_no("g_see_dls_offline", $group['g_see_dls_offline'] )
) );

$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Can add files to the Downloads System?" ,
$this->ipsclass->adskin->form_yes_no("g_add_dls_files", $group['g_add_dls_files'] )
) );

$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Can view Categories in the System
When checking this to no, this group can not visit a Category." ,
$this->ipsclass->adskin->form_yes_no("g_view_dls_cats", $group['g_view_dls_cats'] )
) );
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Can view Files in the System
When checking this to no, this group can not visit a file's page." ,
$this->ipsclass->adskin->form_yes_no("g_view_dls_files", $group['g_view_dls_files'] )
) );
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Can View Own Files
If the above option is set to no, this means that if you set this to yes, they can view their own files." ,
$this->ipsclass->adskin->form_yes_no("g_only_view_own_files", $group['g_only_view_own_files'] )
) );
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Can Rate Files?" ,
$this->ipsclass->adskin->form_yes_no("g_rate_dls_files", $group['g_rate_dls_files'] )
) );
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Can Download Files?" ,
$this->ipsclass->adskin->form_yes_no("g_can_dl_files", $group['g_can_dl_files'] )
) );
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Number of Downloads for Every Upload Turned On?
Turning this on will result in this group being allowed to download a certain number of files for every upload." ,
$this->ipsclass->adskin->form_yes_no("g_d4upload_on", $group['g_d4upload_on'] )
) );
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Number of Downloads for Every Upload Amount?
This is the amount of downloads they can have for every upload." ,
$this->ipsclass->adskin->form_input("g_d4upload_amt", $group['g_d4upload_amt'] )
) );
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Can Approve/Remove Files?" ,
$this->ipsclass->adskin->form_yes_no("g_dls_apremove_files", $group['g_dls_apremove_files'] )
) );

$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Download Permission Mask?" ,
$this->ipsclass->adskin->form_dropdown("dls_perm_id", $dls_perm_masks, $group['dls_perm_id'] )
) );


$this->ipsclass->html .= $this->ipsclass->adskin->end_table();




احفظ الملف وارفعه.

افتح الملف cache/lang_cache/lang_error.php :

ابحث عن:

HTML كود
$lang = array (


اضف تحتها:

HTML كود
// Downloads System
'dl_offline' => "Sorry, The Downloads System is Currently Offline",
'dl_invalidcat' => "Sorry, that category does not exist, please go to one that exists",
'dl_invalidfile' => "Sorry, that file does not exist, please go to one that exists",
'dl_bad_perm' => "Sorry, your permission does not allow you to do that.",
'dl_bad_group_cats' => "Sorry, your user group is not permitted to view categories in the Downloads System.",
'dl_bad_group_files' => "Sorry, your user group is not permitted to view files in the Downloads System.",
'dl_cant_rate_files' => "Sorry, your user group is not permitted to rate files in the Downloads System.",
'dl_already_rated' => 'You already rated this file',
'dl_cant_dl_files' => "Sorry, your user group is not permitted to download files in the Downloads System.",
'dl_not_enough_uploads' => "Sorry, you do not have enough uploads to download this file, please upload more files to increase the amount you can download",
'dl_not_admin' => "Nice Try, your group can't do that",
'dl_no_specified_fid' => "There was no File ID Specified, this could be result of a system error or incorrect reach of access",
'uploading_error' => "Error uploading file",
'dl_dlsdir_!exist' => "The Download Directory is not valid",
'dl_incorrect_ext' => "Sorry, the extension of the file you provided is not allowed.",
'dl_too_large' => "Sorry, that file is too large to be upload it, please condense its size.",





بعدها قم بالدخول الى لوحة التحكم الادارى الخاصة بك

وبعدها قم بعمل الاتى:

->ADMIN->Components->Manage Components->Import XML Component File.


وانتهى تركيب اهاك على كده *y12*

الملفات مرفقة

_________________

الرجوع الى أعلى الصفحة اذهب الى الأسفل
معاينة صفحة البيانات الشخصي للعضو
DarkLord
Dracola
Dracola
avatar

ذكر
عدد الرسائل : 652
العمر : 29
\"المزاج\" :
sms : <!--- MySMS By AlBa7ar Semauae.com -->
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" u-file="fpweb:///_private/form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" --><fieldset style="padding: 2; width:208; height:104">
<legend><b>My SMS</b></legend>
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrolldelay="2" scrollamount="1" style="text-align: center; font-family: Tahoma; " height="78">WelCome in NewGoo</marquee></fieldset></form>
<!--- MySMS By AlBa7ar Semauae.com -->
الشخصيه :
السٌّمعَة : 0
تاريخ التسجيل : 07/05/2008

مُساهمةموضوع: رد: النسخة 2.1 Ipb نظام الداونلودفى الموقع   الأحد يونيو 08, 2008 7:27 am

مشكوووووور يا ويكووووووووو
الرجوع الى أعلى الصفحة اذهب الى الأسفل
معاينة صفحة البيانات الشخصي للعضو http://portsaid.wow-wars.net
 
النسخة 2.1 Ipb نظام الداونلودفى الموقع
استعرض الموضوع السابق استعرض الموضوع التالي الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
 :: منتدى البرامج و الصيانه ومناقشات الكمبيوتر :: قسم تطوير المواقع والمنتديات-
انتقل الى: