ط±ط³ط§ظ„ط© ط§ظ†طھ ط؛ظٹط± ظ…ط³ط¬ظ„ ظ„ظ„ط²ظˆط§ط± +ط§ظ…ظƒط§ظ†ظٹط© طھط³ط¬ظٹظ„ ط§ظ„ط¯ط®ظˆظ„ + ط¬ط¯ظٹط¯ط© + ظ…ظ…ظٹط²ط© + ط*طµط±ظٹط§ظ‹ ط§ظ„ط*ظ‚ ط*ط§ظ„ظƒ



۪۪۪۪۪۪۫۫۫۫۫۫آ۪۪۪۪۪۪۪۪۪۫۫۫۫۫۫۫۫۫ل۪۪۪۪۪۪۫۫۫۫۫۫س ۪۪۪۫۫ ۪۪۪۫۫۫۫ل۪۪۪۪۪۪۪۪۪۫۫۫۫۫۫۫۫۫آ۪۪۪۪۪۪۪۪۪۫۫۫۫۫۫۫۫م ۪۪۪۫۫ ۫۫ ۪۪۪۫۫۫ع۪۪۪۪۪۪۫۫۫۫۫۫ل۪۪۪۪۪۪۫۫۫۫۫۫ي۪۪۪۪۪۪۫۫۫۫۫ك ۪۪۪۫۫ ۪۪۪۫۫۫۫م۪۪۪۫۫۫۫ ۪۪۪۫۫۫و۪۪۪۪۪۪۫۫۫۫۫۫ر۪۪۪۪۪۪۫۫۫۫۫۫ح۪۪۪۪۪۪۫۫۫۫۫م ۪۪۪۫۫ ۫۫ة ۪۪۪۪۪۪۫۫۫۫۫۫آ۪۪۪۪۪۪۪۪۪۫۫۫۫۫۫۫۫۫ل۪۪۪۪۪۪۫۫۫۫۫۫ل ۪۪۪۫۫ ۪۪۪۪۪۪۫۫۫۫۫۫۫ة۪۪۪۪۪۪۫۫۫۫۫۫ ۪۪۪۫۫۫و۪۪۪۪۪۪۫۫۫۫۫۫ب۪۪۪۪۪۪۫۫۫۫۫۫ر۪۪۪۪۪۪۫۫۫۫۫ك ۪۪۪۫۫ ۪۪۪۪۪۪۫۫۫۫۫۫۫۫آ۪۪۪۪۪۪۪۪۪۫۫۫۫۫۫۫۫۫ت۪۪۪۪۪۪۫۫۫۫۫ ۪۪۫۫۫ ۪۫ة۪۪۪۪۪۪۫۫۫۫۫۫

هلا اخوانى ان شاء الله تكونوا بخيير

بمناسبة افتتاح مدونتى قررت انى اعرب شوية هاك productات

وهذا الهاك product هاك product بسيط جدا ولكن جميل جدا

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

ايضا


صورة



مثال حى

شرح طريقة التركيب install

اولا ارفع هذه الصورة فى مجلد

images/misc



ثانى شئ

التعديل على القوالب

بنفتح قالب template

headinclude

نبحث عن

رمز PHP:
<code style="white-space:nowrap"> <code> <meta name="description" content="$vboptions&#91;description&#93;" />
</if></if>
</code> </code>

نضيف تحته مباشرة

رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$bbuserinfo&#91;'usergroupid'&#93; == 1">
<
style type="text/css">

#topbar{
position: absolute;
border: 1px solid black;
padding: 5px;
background-color: #323232;
width: 450px;
visibility: hidden;
z-index: 400;
}

</
style>
<
script type="text/javascript">

var
persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"

function iecompattest(){
return (
document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function
get_cookie(Name) {
var
search = Name + "="
var returnvalue = "";
if (
document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (
offset != -1) {
offset += search.length
end
= document.cookie.indexOf(";", offset);
if (
end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return
returnvalue;
}

function
closebar(){
if (
persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}

function
staticbar(){
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var
d = document;
function
ml(id){
var
el=d.getElementById(id);
if (!
persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = startX;
if (
verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return
el;
}
window.stayTopLeft=function(){
if (
verticalpos=="fromtop"){
var
pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var
pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}

if (
window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (
window.attachEvent)
window.attachEvent("onload", staticbar)
else if (
document.getElementById)
window.onload=staticbar



</script>
</if>
</code> </code>

ثم نسوى حفظ

وبعدين نفتح قالب template

Header

نضيف فى اوله
رمز Code:
<if condition=&quot;$bbuserinfo['usergroupid'] == 1&quot;> <div id=&quot;topbar&quot;> <a href=&quot;&quot; onClick=&quot;closebar(); return false&quot;><img src=&quot;$stylevar[imgdir_misc]/close.gif&quot; hspace=&quot;0&quot; vspace=&quot;0&quot; border=&quot;0&quot; /></a> <font color=&quot;#FFFFFF&quot;>انت غير مسجل بالمنتدى forum للتسجيل اضغط</font> <strong> <a href=&quot;$vboptions[bburl]/register.php&quot;> <font color=&quot;#FFFFFF&quot;>هنا</font></a><font color=&quot;#FFFFFF&quot;> واذا كنت مسجل بالمنتدى forum قم بتسجيل دخولك من هنا</font></strong>. <script type=&quot;text/javascript&quot; src=&quot;clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]&quot;></script> <form action=&quot;login.php?do=login&quot; method=&quot;post&quot; onsubmit=&quot;md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])&quot;> <table height=&quot;24&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;$stylevar[formspacer]&quot;> <tr> <td class=&quot;smallfont&quot; style=&quot;white-space: nowrap;&quot;><label for=&quot;navbar_username&quot;>$vbphrase[username]:</label></td> <td><input type=&quot;text&quot; class=&quot;bginput&quot; style=&quot;font-size: 11px&quot; name=&quot;vb_login_username&quot; id=&quot;navbar_username&quot; size=&quot;14&quot; accesskey=&quot;u&quot; tabindex=&quot;101&quot; value=&quot;$vbphrase[username]&quot; onfocus=&quot;if (this.value == '$vbphrase[username]') this.value = '';&quot; /></td> <td nowrap=&quot;nowrap&quot; class=&quot;smallfont&quot;><label for=&quot;navbar_password&quot;>$vbphrase[password]:</label></td> <td nowrap=&quot;nowrap&quot; class=&quot;smallfont&quot;><input name=&quot;vb_login_password&quot; type=&quot;password&quot; class=&quot;bginput&quot; id=&quot;navbar_password&quot; style=&quot;font-size: 11px&quot; tabindex=&quot;102&quot; size=&quot;10&quot; /></td> <td nowrap=&quot;nowrap&quot; class=&quot;smallfont&quot;><input type=&quot;submit&quot; class=&quot;button&quot; value=&quot;$vbphrase[log_in]&quot; tabindex=&quot;104&quot; title=&quot;$vbphrase[enter_username_to_login_or_register]&quot; accesskey=&quot;s&quot; /></td> </tr> </table> <input type=&quot;hidden&quot; name=&quot;s&quot; value=&quot;$session[sessionhash]&quot; /> <input type=&quot;hidden&quot; name=&quot;securitytoken&quot; value=&quot;$bbuserinfo[securitytoken]&quot; /> <input type=&quot;hidden&quot; name=&quot;do&quot; value=&quot;login&quot; /> <input type=&quot;hidden&quot; name=&quot;vb_login_md5password&quot; /> <input type=&quot;hidden&quot; name=&quot;vb_login_md5password_utf&quot; /> </form> <!-- / login form --> </div> </if> <!-- / By Hema Www.hema4.net --> <!-- / تعريب Www.hema4.net -->
ومبروك عليك التركيب install

المصدر الرئيسى

مدونتى Hema

ما تنسونى من الدعاء والـ +++ لو نستاهل









©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©