قم بفتح الملف index.php وفي اول سطرين تقريبا ً ستجد الكود :
كود:
$templatesused='forumhome_birthdaybit,error_nopermission,forumhome_pmloggedin,forumhome_welcometext,forumhome_logoutcode,forumhome_newposts,forumhome_todayposts,forumhome_logincode,forumhome_loggedinuser,forumhome_loggedinusers,forumhome_lastpostby,forumhome_moderator,forumhome_forumbit_level1_nopost,forumhome_forumbit_level1_post,forumhome_forumbit_level2_nopost,forumhome_forumbit_level2_post,forumhome,forumhome_unregmessage';
استبدله بـ :
كود:
$templatesused='forumhome_birthdaybit,error_nopermission,forumhome_pmloggedin,forumhome_welcometext,forumhome_logoutcode,forumhome_newposts,forumhome_todayposts,forumhome_logincode,forumhome_loggedinuser,forumhome_loggedinusers,forumhome_lastpostby,forumhome_moderator,forumhome_forumbit_level1_nopost,forumhome_forumbit_level1_post,forumhome_forumbit_level2_nopost,forumhome_forumbit_level2_post,forumhome,forumhome_unregmessage,mytemp,mytext';
في آخر الملف ابحث عن :
كود:
if ($bbuserinfo['userid']==0) {
eval("\$unregwelcomemessage = \"".gettemplate('forumhome_unregmessage')."\";");
}
أسفله مباشرة أضف هذا الكود :-
كود PHP:
eval("\$mytemp = \"".gettemplate('mytemp')."\";");
eval("\$mytext = \"".gettemplate('mytext')."\";");
احفظ العمل .
الآن قم بفتح التمبلت forumhome وضع $mytemp ف يأي مكان تود ظهوره فيه ...
بالنسبة لاستيراد الكود من mytext إلى mytemp افتح التمبلت الثاني ..>> على التوالي
وضع الشفره $mytext في المكان الذي تريد ظهوره فيه ..
هذي أهم الخطوات برأيي والسلام ختام