ronaldino
01-03-2005, 02:33 AM
وظيفة الهاك
إذا كان عضو فيقوم بالترحيب له ويعطيه بعض المعلومات
إذا كان العضو يقبل بالرسائل الخاصة فسيظهر إحصائيات خاصة بالرسائل الخاصة
إذا كان ضيف فيقوم بالترحيب به ثم يدعوه للتسجيل بالمنتدى
مثال على الهاك
عفوا صاحب الموضوع تعب في إحضار الروابط لدى فهو محجوب و يتوجب عليك التسجيل
الطريقة
افتح قالب header
ابحث عن
<!-- logo and buttons -->
و استبذلها بهذا
<if condition="$bbuserinfo[userid] != 0">
<SCRIPT>
<!-- Hide from old browsers
message = " مرحبا بك يا $bbuserinfo[username] في $vboptions[bbtitle] ^" +
" آخر زيارة لك كانت في $pmbox[lastvisitdate] $pmbox[lastvisittime]^" +
" بريدك المسجل لدينا هو $bbuserinfo[email]^" +
" أنت الآن في رتبة $bbuserinfo[usertitle]^" +
<if condition="$bbuserinfo['options'] & $_USEROPTIONS['receivepm']">
" يوجد لديك $bbuserinfo[pmunread] رسالة خاصة غير مقروءة^" +
" مجموع الرسائل الخاصة هو $bbuserinfo[pmtotal]^" +
</if>
"^"
scrollSpeed = 50
lineDelay = 1800
// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
// Unhide -->
scrollText(0)
</SCRIPT>
<else />
<SCRIPT>
<!-- Hide from old browsers
message = " مرحبا عزيزي الضيف في $vboptions[bbtitle] ^" +
" أنت غير مسجل لدينا^" +
" يمكنك التسجيل في المنتدى والمشاركة مع $vboptions[bbtitle]^" +
" أو يمكنك تسجيل الدخول إذا كنت قد سجلت مسبقا^" +
"^"
scrollSpeed = 50
lineDelay = 1800
// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
// Unhide -->
scrollText(0)
</SCRIPT>
</if>
<!-- logo and buttons -->
و احفظ التغيير
انتهينا
تحيااااااااااتي
إذا كان عضو فيقوم بالترحيب له ويعطيه بعض المعلومات
إذا كان العضو يقبل بالرسائل الخاصة فسيظهر إحصائيات خاصة بالرسائل الخاصة
إذا كان ضيف فيقوم بالترحيب به ثم يدعوه للتسجيل بالمنتدى
مثال على الهاك
عفوا صاحب الموضوع تعب في إحضار الروابط لدى فهو محجوب و يتوجب عليك التسجيل
الطريقة
افتح قالب header
ابحث عن
<!-- logo and buttons -->
و استبذلها بهذا
<if condition="$bbuserinfo[userid] != 0">
<SCRIPT>
<!-- Hide from old browsers
message = " مرحبا بك يا $bbuserinfo[username] في $vboptions[bbtitle] ^" +
" آخر زيارة لك كانت في $pmbox[lastvisitdate] $pmbox[lastvisittime]^" +
" بريدك المسجل لدينا هو $bbuserinfo[email]^" +
" أنت الآن في رتبة $bbuserinfo[usertitle]^" +
<if condition="$bbuserinfo['options'] & $_USEROPTIONS['receivepm']">
" يوجد لديك $bbuserinfo[pmunread] رسالة خاصة غير مقروءة^" +
" مجموع الرسائل الخاصة هو $bbuserinfo[pmtotal]^" +
</if>
"^"
scrollSpeed = 50
lineDelay = 1800
// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
// Unhide -->
scrollText(0)
</SCRIPT>
<else />
<SCRIPT>
<!-- Hide from old browsers
message = " مرحبا عزيزي الضيف في $vboptions[bbtitle] ^" +
" أنت غير مسجل لدينا^" +
" يمكنك التسجيل في المنتدى والمشاركة مع $vboptions[bbtitle]^" +
" أو يمكنك تسجيل الدخول إذا كنت قد سجلت مسبقا^" +
"^"
scrollSpeed = 50
lineDelay = 1800
// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
// Unhide -->
scrollText(0)
</SCRIPT>
</if>
<!-- logo and buttons -->
و احفظ التغيير
انتهينا
تحيااااااااااتي