:: عضو نشيط ::
بيانات موقعي
السلام عليكم و رحمة الله
اليوم أقدم لكم شرحا حصريا لهاك الأوسمة الجديد
الداعم لتوزيع المشرفين
أولا حمل الهاك من المرفقات
بعد التحمل مباشرة نفك الضغط عن الملف
و نتجه إلى برنامج الأف تي بي
الآن نرفع الملفات كالتالي:
بعد الإنتهاء من الرفع نتجه مباشرة إلى لوحة التحكم:
الآن نذهب إلى التحكم بالمنتجات:
نختار المنتج من جهازنا:
ثم نضغط على استيراد:
الآن تم استيراد المنتج بنجاح
الآن حان وقت التعديلات المهم
نتجه إلى البحث عن القوالب
نبحث في البداية عن قالب
MEMBERINFO
نضغط على القالب للتعديل عليه
الآن نحذف القالب كاملا و نضع بدله الكود التالي
رمز PHP:
$stylevar [ htmldoctype ] < html dir = " $stylevar [ textdirection ] " lang = " $stylevar [ languagecode ] " > < head > $headinclude < style type = "text/css" > #additionalinfo_list, #membergroups_list { margin-top: 0px; margin-bottom: 0px; } #additionalinfo_list dd, #membergroups_list dd { margin: 0px 0px $stylevar[cellpadding]px 0px; } </ style > < title > $vboptions [ bbtitle ] - $vbphrase [ view_profile ]: $userinfo [ username ]</ title > </ head > < body > $header $navbar <!-- main info - avatar , profilepic etc . --> < table class= "tborder" cellpadding = " $stylevar [ cellpadding ] " cellspacing = " $stylevar [ cellspacing ] " border = "0" width = "100%" align = "center" > < tr > < td class= "tcat" > $vbphrase [ view_profile ]< span class= "normal" >: $userinfo [ username ]</ span ></ td > </ tr > < tr > < td class= "alt2" > < table cellpadding = "0" cellspacing = "0" border = "0" width = "100%" > < tr > < td style = "border-bottom:1px solid $stylevar [ tborder_bgcolor ] " width = "100%" colspan = "2" > <if condition = " $userinfo [ 'rank'] OR $userinfo [ 'reputationdisplay']" > < div style = "float: $stylevar [ right ] ; padding:4px" > <if condition = " $userinfo [ 'rank']" >< div align = "center" > $userinfo [ rank ]</ div ></if> <if condition = " $userinfo [ 'reputationdisplay']" >< div align = "center" > $userinfo [ reputationdisplay ]</ div ></if> </ div > </if> < div class= "bigusername" > $userinfo [ musername ] $userinfo [ onlinestatus ]</ div > <if condition = " $userinfo [ 'usertitle']" >< div class= "smallfont" > $userinfo [ usertitle ]</ div ></if> </ td > <if condition = " $show [ 'profilepic']" > < td valign = "top" align = " $stylevar [ right ] " rowspan = "2" > < img src = " $userinfo [ profilepicurl ] " $userinfo [ profilepicsize ] alt = "<phrase 1=" $userinfo [ username ] "> $vbphrase [ xs_picture ] </phrase>" border = "0" style = "border:1px solid $stylevar [ tborder_bgcolor ] ; border-top:none" /> </ td > </if> </ tr > < tr valign = "top" > <if condition = " $show [ 'avatar']" > < td >< img src = " $userinfo [ avatarurl ] " $userinfo [ avatarsize ] alt = "<phrase 1=" $userinfo [ username ] "> $vbphrase [ xs_avatar ] </phrase>" border = "0" style = "border:1px solid $stylevar [ tborder_bgcolor ] ; border-top:none" /></ td > <else /> < td >& nbsp ;</ td > </if> < td class= "smallfont" valign = "bottom" align = " $stylevar [ right ] " > <if condition = " $show [ 'lastactivity']" > < div > $vbphrase [ last_activity ]: $userinfo [ lastactivitydate ] < span class= "time" > $userinfo [ lastactivitytime ]</ span >& nbsp ;</ div > </if> <if condition = " $show [ 'currentlocation']" > < div > $userinfo [ action ] $userinfo [ where ]<if condition = " $show [ 'detailedtime']" > - <else /> @ </if> $userinfo [ time ]& nbsp ;</ div > </if> </ td > </ tr > </ table > </ td > </ tr > </ table > <!-- / main info - avatar , profilepic etc . --> $template_hook [ memberinfo_pos1 ] <!-- button row --> <if condition = " $show [ 'profilelinks']" > < table class= "tborder" cellpadding = " $stylevar [ cellpadding ] " cellspacing = "0" border = "0" width = "100%" align = "center" style = "border-top-width:0px" > < tr align = "center" > <if condition = " $userinfo [ 'showvcard']" > < td class= "vbmenu_control" >< a href = "member.php? $session [ sessionurl ] do=vcard&u= $userinfo [ userid ] " rel = "nofollow" > $vbphrase [ download_vcard ]</ a ></ td > </if> <if condition = " $show [ 'member']" > < td class= "vbmenu_control" > <if condition = " $show [ 'addbuddylist']" > < a href = "profile.php? $session [ sessionurl ] do=addlist&userlist=buddy&u= $userinfo [ userid ] " >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ add_x_to_buddy_list ]</ phrase ></ a > <else /> < a href = "profile.php? $session [ sessionurl ] do=removelist&userlist=buddy&u= $userinfo [ userid ] " >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ remove_x_from_your_buddylist ]</ phrase ></ a > </if> </ td > < td class= "vbmenu_control" > <if condition = " $show [ 'addignorelist']" > < a href = "profile.php? $session [ sessionurl ] do=addlist&userlist=ignore&u= $userinfo [ userid ] " >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ add_x_to_ignore_list ]</ phrase ></ a > <else /> < a href = "profile.php? $session [ sessionurl ] do=removelist&userlist=ignore&u= $userinfo [ userid ] " >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ remove_x_from_your_ignorelist ]</ phrase ></ a > </if> </ td > </if> <if condition = "can_moderate()" > < td class= "vbmenu_control" >< a href = "moderator.php? $session [ sessionurl ] do=useroptions&u= $userinfo [ userid ] " > $vbphrase [ user_options ]</ a ></ td > </if> <if condition = " $show [ 'giveinfraction']" > < td class= "vbmenu_control" >< a href = "infraction.php? $session [ sessionurl ] do=report&u= $userinfo [ userid ] " > $vbphrase [ give_infraction ]</ a ></ td > </if> </ tr > </ table > </if> <!-- / button row --> < br /> $template_hook [ memberinfo_pos2 ] <if condition = " $show [ 'infractions']" > <!-- infractions row --> < table class= "tborder" cellpadding = " $stylevar [ cellpadding ] " cellspacing = " $stylevar [ cellspacing ] " border = "0" width = "100%" align = "center" > < tr > < td class= "tcat" colspan = " $colspan " >< span style = "float: $stylevar [ right ] " class= "smallfont" >< phrase 1 = " $userinfo [ ipoints ] " > $vbphrase [ x_points_total ]</ phrase >& nbsp ; & nbsp ;</ span > $vbphrase [ infractions ]</ td > </ tr > < tr > < td class= "thead" >& nbsp ;</ td > < td class= "thead" > $vbphrase [ post ]</ td > < td class= "thead" > $vbphrase [ date ]</ td > < td class= "thead" > $vbphrase [ expires ]</ td > < td class= "thead" > $vbphrase [ points ]</ td > < td class= "thead" > $vbphrase [ reason ]</ td > < td class= "thead" nowrap = "nowrap" > $vbphrase [ posted_by ]</ td > <if condition = " $show [ 'reverse']" >< td class= "thead" > $vbphrase [ details ]</ td ></if> </ tr > $infractionbits </ table > <if condition = " $pagenav " > < table cellpadding = "0" cellspacing = "0" border = "0" width = "100%" style = "margin-top:3px" > < tr valign = "bottom" > < td align = " $stylevar [ right ] " > $pagenav </ td > </ tr > </ table > </if> <!-- / infractions row --> < br /> </if> $template_hook [ memberinfo_pos3 ] <if condition = " $show [ 'signature']" > <!-- signature row --> < table class= "tborder" cellpadding = " $stylevar [ cellpadding ] " cellspacing = " $stylevar [ cellspacing ] " border = "0" width = "100%" align = "center" > < tr > < td class= "thead" > $vbphrase [ signature ]</ td > </ tr > < tr > < td class= "alt1" title = " $vbphrase [ signature ] " > $userinfo [ signature ]</ td > </ tr > </ table > <!-- / signature row --> < br /> </if> $template_hook [ memberinfo_pos4 ] < table class= "tborder" cellpadding = " $stylevar [ cellpadding ] " cellspacing = " $stylevar [ cellspacing ] " border = "0" width = "100%" align = "center" > < tr > < td class= "tcat" width = "50%" > $vbphrase [ forum_info ]</ td > < td class= "tcat" width = "50%" > $vbphrase [ contact_info ]</ td > </ tr > < tr valign = "top" > < td class= "panelsurround" align = "center" > < div class= "panel" > < div align = " $stylevar [ left ] " > < div class= "fieldset" > < div style = "padding: $stylevar [ formspacer ] px" > $vbphrase [ join_date ]: < strong > $userinfo [ datejoined ]</ strong > </ div > </ div > < fieldset class= "fieldset" > < legend > $vbphrase [ posts ]</ legend > < table cellpadding = "0" cellspacing = " $stylevar [ formspacer ] " border = "0" > < tr > < td > $vbphrase [ total_posts ]: < strong > $userinfo [ posts ]</ strong > (< phrase 1 = " $postsperday " > $vbphrase [ x_posts_per_day ]</ phrase >) </ td > </ tr > <if condition = " $vboptions [ 'profilelastpost']" > < tr > < td > $vbphrase [ last_post ]:< br /> < a href = " $userinfo [ lastposturl ] " > $userinfo [ lastposttitle ]</ a >< br /> $userinfo [ lastpostdate ] < span class= "time" > $userinfo [ lastposttime ]</ span > </ td > </ tr > </if> < tr > < td >< a href = "search.php? $session [ sessionurl ] do=finduser&u= $userinfo [ userid ] " rel = "nofollow" >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ find_all_posts_by_x ]</ phrase ></ a ></ td > </ tr > < tr > < td >< a href = "search.php? $session [ sessionurl ] do=finduser&u= $userinfo [ userid ] &starteronly=1" rel = "nofollow" >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ find_all_threads_started_by_x ]</ phrase ></ a ></ td > </ tr > </ table > </ fieldset > <if condition = " $vboptions [ 'usereferrer']" > < div class= "fieldset" > < div style = "padding: $stylevar [ formspacer ] px" > $vbphrase [ referrals ]: < strong > $referrals </ strong > </ div > </ div > </if> <if condition = " $show [ 'usernotes']" >
< div class= "fieldset" > < div style = "padding: $stylevar [ formspacer ] px" > $vbphrase [ user_notes ]: <if condition = " $show [ 'usernoteview']" > < strong > $usernote [ total ]</ strong > [< a href = "usernote.php? $session [ sessionurl ] u= $userinfo [ userid ] " > $vbphrase [ view ]</ a >] </if> <if condition = " $show [ 'usernotepost']" > [< a href = "usernote.php? $session [ sessionurl ] do=newnote&u= $userinfo [ userid ] " > $vbphrase [ post_user_note ]</ a >] </if> <if condition = " $show [ 'usernoteview']" > < br />( $vbphrase [ last_note ]: $usernote [ lastpostdate ] < span class= "time" > $usernote [ lastposttime ]</ span >) </if> </ div > </ div > </if> $template_hook [ memberinfo_foruminfo ] </ div > </ div > </ td > < td class= "panelsurround" align = "center" > < div class= "panel" > < div align = " $stylevar [ left ] " > < div class= "fieldset" > < table cellpadding = "0" cellspacing = " $stylevar [ formspacer ] " border = "0" > <if condition = "! $show [ 'contactlinks']" > < tr > < td >< strong >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ x_has_no_contact_info ]</ phrase ></ strong ></ td > </ tr > </if> <if condition = " $show [ 'homepage']" > < tr > < td > $vbphrase [ home_page ]:< br /> < a href = " $userinfo [ homepage ] " target = "_blank" dir = "ltr" > $userinfo [ homepage ]</ a > </ td > </ tr > </if> <if condition = " $show [ 'email']" > < tr > < td > $vbphrase [ email ]:< br /> < a href = "sendmessage.php? $session [ sessionurl ] do=mailmember&u= $userinfo [ userid ] " rel = "nofollow" >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ send_message_via_email_to_x ]</ phrase ></ a > </ td > </ tr > </if> <if condition = " $show [ 'pm']" > < tr > < td > $vbphrase [ private_message ]:< br /> < a href = "private.php? $session [ sessionurl ] do=newpm&u= $userinfo [ userid ] " rel = "nofollow" >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ send_private_message_to_x ]</ phrase ></ a > </ td > </ tr > </if> </ table > </ div > <if condition = " $show [ 'hasimicons']" > < fieldset class= "fieldset" > < legend > $vbphrase [ instant_messaging ]</ legend > < table cellpadding = "0" cellspacing = " $stylevar [ formspacer ] " border = "0" > <if condition = " $show [ 'textimicons']" > <if condition = " $userinfo [ 'showicq']" > < tr > < td > $vbphrase [ icq ]</ td > < td > $userinfo [ icq ]</ td > </ tr > </if> <if condition = " $userinfo [ 'showaim']" > < tr > < td > $vbphrase [ aim ]</ td > < td > $userinfo [ aim ]</ td > </ tr > </if> <if condition = " $userinfo [ 'showmsn']" > < tr > < td > $vbphrase [ msn ]</ td > < td > $userinfo [ msn ]</ td > </ tr > </if> <if condition = " $userinfo [ 'showyahoo']" > < tr > < td > $vbphrase [ yahoo ]</ td > < td > $userinfo [ yahoo ]</ td > </ tr > </if> <if condition = " $userinfo [ 'skype']" > < tr > < td > $vbphrase [ skype ]</ td > < td > $userinfo [ skype ]</ td > </ tr > </if> <else /> <if condition = " $userinfo [ 'showicq']" > < tr > < td > $userinfo [ icqicon ]</ td > < td >< a href = "#" dir = "ltr" onclick = "imwindow('icq', ' $userinfo [ userid ] ', 500, 450); return false;" > $userinfo [ icq ]</ a ></ td > </ tr > </if> <if condition = " $userinfo [ 'showaim']" > < tr > < td > $userinfo [ aimicon ]</ td > < td >< a href = "#" dir = "ltr" onclick = "imwindow('aim', ' $userinfo [ userid ] ', 400, 200); return false;" > $userinfo [ aim ]</ a ></ td > </ tr > </if> <if condition = " $userinfo [ 'showmsn']" > < tr > < td > $userinfo [ msnicon ]</ td > < td >< a href = "#" dir = "ltr" onclick = "imwindow('msn', ' $userinfo [ userid ] ', 400, 200); return false;" > $userinfo [ msn ]</ a ></ td > </ tr > </if> <if condition = " $userinfo [ 'showyahoo']" > < tr > < td > $userinfo [ yahooicon ]</ td > < td >< a href = "#" dir = "ltr" onclick = "imwindow('yahoo', ' $userinfo [ userid ] ', 400, 200); return false;" > $userinfo [ yahoo ]</ a ></ td > </ tr > </if> <if condition = " $userinfo [ 'showskype']" > < tr > < td > $userinfo [ skypeicon ]</ td > < td >< a href = "#" dir = "ltr" onclick = "imwindow('skype', ' $userinfo [ userid ] ', 400, 285); return false;" > $userinfo [ skype ]</ a ></ td > </ tr > </if> </if> $template_hook [ memberinfo_iminfo ] </ table > </ fieldset > </if> $template_hook [ memberinfo_contactinfo ] </ div > </ div > </ td > </ tr > < tr > < td class= "tcat" width = "50%" > $vbphrase [ additional_information ]</ td > < td class= "tcat" width = "50%" > $vbphrase [ group_memberships ]</ td > </ tr > < tr valign = "top" > < td class= "panelsurround" align = "center" > < div class= "panel" > < div align = " $stylevar [ left ] " > <if condition = " $show [ 'extrainfo']" > < dl id = "additionalinfo_list" > <if condition = " $show [ 'birthday']" > < dt class= "smallfont" >< strong > $vbphrase [ birth_date ]</ strong >:</ dt > < dd class= "smallfont" > $userinfo [ birthday ]</ dd > </if> <if condition = " $show [ 'age']" > < dt class= "smallfont" >< strong > $vbphrase [ age ]</ strong >:</ dt > < dd class= "smallfont" > $userinfo [ age ]</ dd > </if> $customfields </ dl > <else /> < em > $vbphrase [ n_a ]</ em > </if> $template_hook [ memberinfo_additionalinfo ] </ div > </ div > </ td > < td class= "panelsurround" align = "center" > < div class= "panel" > < div align = " $stylevar [ left ] " > <if condition = " $show [ 'membergroups']" > < dl id = "membergroups_list" class= "smallfont" > $membergroupbits </ dl > <else /> < div class= "smallfont" >< strong >< phrase 1 = " $userinfo [ username ] " > $vbphrase [ x_is_not_a_member_of_any_public_groups ]</ phrase ></ strong ></ div > </if> $template_hook [ memberinfo_groups ] </ div > </ div > </ td > </ tr > </ table > < br /> $footer </ body > </ html >
كالتالي ثم نضغط حفظ:
نبحث عن قالب:
memberlist_resultsbit
الآن نضغط عليه للتعديل:
نحذف محتواه كاملا
ثم نعوضه بالكود التالي:
رمز PHP:
< tr align = "center" > < td class= "alt1Active" align = " $stylevar [ left ] " id = "u $userinfo [ userid ] " > < a href = "member.php? $session [ sessionurl ] u= $userinfo [ userid ] " > $userinfo [ musername ]</ a > <if condition = " $show [ 'usertitlecol']" >< div class= "smallfont" > $userinfo [ usertitle ]</ div ></if> </ td > <!-- show awards --> <if condition = " $vbulletin -> options ['aw_memberlist']" >< td class= " $bgclass " > $userinfo [ userawards ]<if condition = " $userinfo [ num_awards ] " >< div nowrap >< a href = "member.php? $session [ sessionurl ] u= $userinfo [ userid ] #award" > Total : $userinfo [ num_awards ]</ a ></ div ></if></ td ></if><!-- / show awards --> <if condition = " $show [ 'emailcol'] AND exec_switch_bg()" >< td class= " $bgclass " ><if condition = " $show [ 'emaillink']" >< a href = "sendmessage.php? $session [ sessionurl ] do=mailmember&u= $userinfo [ userid ] " target = "_blank" >< img src = " $stylevar [ imgdir_button ] /email.gif" alt = "email.gif" title = "<phrase 1=" $userinfo [ username ] "> $vbphrase [ click_here_to_email_x ] </phrase>" border = "0" /></ a ></if> <if condition = " $show [ 'pmlink']" >< a href = "private.php? $session [ sessionurl ] do=newpm&u= $userinfo [ userid ] " target = "_blank" >< img src = " $stylevar [ imgdir_button ] /sendpm.gif" alt = "sendpm.gif" title = "<phrase 1=" $userinfo [ username ] "> $vbphrase [ send_private_message_to_x ] </phrase>" border = "0" /></ a ></if></ td ></if> <if condition = " $show [ 'imicons'] AND exec_switch_bg()" >< td class= " $bgclass " > $userinfo [ icqicon ] $userinfo [ aimicon ] $userinfo [ msnicon ] $userinfo [ yahooicon ]</ td ></if> <if condition = " $show [ 'homepagecol'] AND exec_switch_bg()" >< td class= " $bgclass " ><if condition = " $show [ 'homepagelink']" >< a href = " $userinfo [ homepage ] " target = "_blank" >< img src = " $stylevar [ imgdir_button ] /home.gif" alt = "home.gif" title = "<phrase 1=" $userinfo [ username ] "> $vbphrase [ visit_xs_homepage ] </phrase>" border = "0" /></ a ><else /> </if></ td ></if> <if condition = " $show [ 'searchcol'] AND exec_switch_bg()" >< td class= " $bgclass " ><if condition = " $show [ 'searchlink']" >< a href = "search.php? $session [ sessionurl ] do=finduser&u= $userinfo [ userid ] " >< img src = " $stylevar [ imgdir_button ] /find.gif" alt = "find.gif" title = "<phrase 1=" $userinfo [ username ] "> $vbphrase [ find_all_posts_by_x ] </phrase>" border = "0" /></ a ><else /> </if></ td ></if> <if condition = " $show [ 'datejoinedcol'] AND exec_switch_bg()" >< td class= " $bgclass " > $userinfo [ datejoined ]</ td ></if> <if condition = " $show [ 'postscol'] AND exec_switch_bg()" >< td class= " $bgclass " > $userinfo [ posts ]</ td ></if> <if condition = " $show [ 'lastvisitcol'] AND exec_switch_bg()" >< td class= " $bgclass " > $userinfo [ lastvisit ]</ td ></if> <if condition = " $show [ 'reputationcol'] AND exec_switch_bg()" >< td class= " $bgclass " > $userinfo [ reputationdisplay ]</ td ></if> <if condition = " $show [ 'avatarcol'] AND exec_switch_bg()" >< td class= " $bgclass " ><if condition = " $show [ 'avatar']" >< img src = " $avatarurl " border = "0" $avwidth $avheight alt = "<phrase 1=" $userinfo [ username ] "> $vbphrase [ xs_avatar ] </phrase>" hspace = "4" vspace = "4" /><else /> </if></ td ></if> <if condition = " $show [ 'profilepiccol'] AND exec_switch_bg()" >< td class= " $bgclass " > $userinfo [ profilepic ]</ td ></if> <if condition = " $show [ 'birthdaycol'] AND exec_switch_bg()" >< td class= " $bgclass " > $userinfo [ birthday ]</ td ></if> <if condition = " $show [ 'agecol'] AND exec_switch_bg()" >< td class= " $bgclass " > $userinfo [ age ]</ td ></if> <if condition = " $show [ 'customfields']" > $customfields </if> <if condition = " $show [ 'usergroup'] AND exec_switch_bg()" >< td class= " $bgclass " ><if condition = " $show [ 'hideleader']" > <else />< input type = "checkbox" name = "deletebox[ $userinfo [ userid ] ]" value = "yes" /></if></ td ></if></ tr >
[right]
رمز PHP:
<!-- post #$post[postid] --><if condition="$show['spacer']"> $spacer_open <if condition="!$post['islastshown']"> <div style="padding:0px 0px $stylevar[cellpadding]px 0px"> <else /> <if condition="$post['toppadding']"> <div style="padding:$stylevar[cellpadding]px 0px 0px 0px"> </if> </if> <div id="edit$post[postid]"></if><table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"><tr> <if condition="$show['announcement']"> <td class="thead" style="font-weight:normal" colspan="2"> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /> <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase> </td> <else /> <td class="thead" style="font-weight:normal" $post[scrolltothis]> <!-- status icon and date --> <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a> $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if> $post[firstnewinsert] <!-- / status icon and date --> </td> <td class="thead" style="font-weight:normal" align="$stylevar[right]"> <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if> <if condition="$show['inlinemod']"> <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" /> </if> </td> </if></tr><tr valign="top"> <td class="alt2" width="175"> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> <if condition="$show['avatar']"> <div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> </if> <div class="smallfont"> <br /> <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <div> $vbphrase[posts]: $post[posts] </div> <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if> <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> </div> <!-- show awards --><if condition="$post[showuserawards]"><div>$post[userawards]<br>$vbphrase[total_awards]: $post[num_awards] (<a href="member.php?$session[sessionurl]u=$post[userid]#award">$vbphrase[more_awards] ...</a>)</div></if><!-- /show awards --> </td> <if condition="$show['moderated']"> <td class="alt2" id="td_post_$post[postid]"> <else /> <td class="alt1" id="td_post_$post[postid]"> </if> <if condition="$show['messageicon'] OR $post['title']"> <!-- icon and title --> <div class="smallfont"> <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if> <if condition="$post['title']"><strong>$post[title]</strong></if> </div> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <!-- / icon and title --> </if> <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> <if condition="$show['attachments']"> <!-- attachments --> <div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:$stylevar[formspacer]px"> $post[thumbnailattachments] </div> </fieldset> </if> <if condition="$show['imageattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <div style="padding:$stylevar[formspacer]px"> $post[imageattachments] </div> </fieldset> </if> <if condition="$show['imageattachmentlink']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[imageattachmentlinks] </table> </fieldset> </if> <if condition="$show['otherattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_files]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[otherattachments] </table> </fieldset> </if> <if condition="$show['moderatedattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attachments_pending_approval]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[moderatedattachments] </table> </fieldset> </if> </div> <!-- / attachments --> </if> <if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> <if condition="$show['postedited']"> <!-- edit note --> <div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <em> <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> </em> </div> <!-- / edit note --> </if> </td></tr><tr> <td class="alt2"> $post[onlinestatus] <if condition="$show['reputationlink']"><a href="#" onclick="reputation($post[postid]); return false;"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if> <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if> $post[iplogged] </td> <if condition="$show['moderated']"> <td class="alt2" align="$stylevar[right]"> <else /> <td class="alt1" align="$stylevar[right]"> </if> <!-- controls --> <if condition="$post['editlink']"> <a href="$post[editlink]" name="vB ::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> </if> <if condition="$post['forwardlink']"> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a> </if> <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$show['quickreply'] AND !$show['threadedmode']"> <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a> </if> <if condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /> </if> <!-- / controls --> </td></tr></table><!-- post $post[postid] popup menu --><div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$post[username]</td> </tr> <if condition="$show['profile']"> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr> </if> <if condition="$show['pmlink']"> <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr> </if> <if condition="$show['emaillink']"> <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr> </if> <if condition="$show['homepage']"> <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr> </if> <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr> </if> <if condition="$post['userid'] AND $show['member']"> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr> </if> </table></div><!-- / post $post[postid] popup menu --><if condition="$show['spacer']"></div><if condition="!$post['islastshown']"></div></if>$spacer_close</if><!-- / post #$post[postid] -->[/right]
[right]
رمز PHP:
<!-- post #$post[postid] --><if condition="$show['spacer']"> $spacer_open <div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px"> <if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if> </if><table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"><tr> <td class="thead" $post[scrolltothis]> <div class="normal" style="float:$stylevar[right]"> <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if> <if condition="$show['reputationlink']"><a href="#" onclick="reputation($post[postid]); return false;"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> </if> <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> </if> $post[iplogged] <if condition="$show['inlinemod']"> <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" /> </if> </div> <div class="normal"> <!-- status icon and date --> <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a> <if condition="!$show['announcement']"> $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if> <else /> <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase> </if> $post[firstnewinsert] <!-- / status icon and date --> </div> </td></tr><tr> <td class="alt2" style="padding:0px"> <!-- user info --> <table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%"> <tr> <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> <td nowrap="nowrap"> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> $post[onlinestatus] <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> </td> <td width="100%"> </td> <td valign="top" nowrap="nowrap"> <div class="smallfont"> <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <div> $vbphrase[posts]: $post[posts] </div> <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if> <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> <!-- show awards --><if condition="$post[showuserawards]"><div>$post[userawards]<br>$vbphrase[total_awards]: $post[num_awards] (<a href="member.php?$session[sessionurl]u=$post[userid]#award">$vbphrase[more_awards] ...</a>)</div></if><!-- /show awards --> </div> </td> </tr> </table> <!-- / user info --> </td></tr><tr> <td class="alt1" id="td_post_$post[postid]"> <!-- message, attachments, sig --> <if condition="$show['messageicon'] OR $post['title']"> <!-- icon and title --> <div class="smallfont"> <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if> <if condition="$post['title']"><strong>$post[title]</strong></if> </div> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <!-- / icon and title --> </if> <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> <if condition="$show['attachments']"> <!-- attachments --> <div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:$stylevar[formspacer]px"> $post[thumbnailattachments] </div> </fieldset> </if> <if condition="$show['imageattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <div style="padding:$stylevar[formspacer]px"> $post[imageattachments] </div> </fieldset> </if> <if condition="$show['imageattachmentlink']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[imageattachmentlinks] </table> </fieldset> </if> <if condition="$show['otherattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_files]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[otherattachments] </table> </fieldset> </if> <if condition="$show['moderatedattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attachments_pending_approval]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[moderatedattachments] </table> </fieldset> </if> </div> <!-- / attachments --> </if> <if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> <if condition="$show['postedited']"> <!-- edit note --> <div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <em> <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> </em> </div> <!-- / edit note --> </if> <div align="$stylevar[right]"> <!-- controls --> <if condition="$post['editlink']"> <a href="$post[editlink]" name="vB ::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> </if> <if condition="$post['forwardlink']"> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a> </if> <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$show['quickreply'] AND !$show['threadedmode']"> <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a> </if> <if condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /> </if> <!-- / controls --> </div> <!-- message, attachments, sig --> </td></tr></table><!-- post $post[postid] popup menu --><div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$post[username]</td> </tr> <if condition="$show['profile']"> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr> </if> <if condition="$show['pmlink']"> <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr> </if> <if condition="$show['emaillink']"> <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr> </if> <if condition="$show['homepage']"> <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr> </if> <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr> </if> <if condition="$post['userid'] AND $show['member']"> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr> </if> </table></div><!-- / post $post[postid] popup menu --> <if condition="$show['spacer']"> </div> $spacer_close</if><!-- / post #$post[postid] -->[/right]
الآن نلصق الكود ثم نحفظ العمل:
الآن نضغط على
زر F5 من الكيبورد
و ألف مبروك عليك الاعدادات
و طبعا نتجه إلى إعداد نظام الأوسمة
نرجع خيار إتحاة التوزيع للمشرفين إلى
نعم ثم نضغط حفظ:
نتأكد من لوحة تحكم المراقبين:
و ألف مبرووك عليك
النتيجة بعد توزيع الوسام:
تحياتي لكم
محب الحكمة
::روح الوفاء سابقا::
توقيع خادمك زكريا
◙────█──█──█────────█────────◙
◙────█──█──█────█───█────────◙
◙────█──█──█────█▀█─█──▀─────◙
◙───▀▀──▀▀▀▀▀▀▀▀▀▀▀─█────────◙
◙───█─█─█───────────█─█──█───◙
◙───█─█─█──█──█▀▀▀──█─█──█───◙
◙───▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀─▀▀▀▀───◙
◙──────────▀─────────────────◙
http://www.alsafae.com