- الرئيسية
- ما الجديد !
-
الصفحات▼
الصفحات
أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .
[مجابه] Making detailed settings for hours
-
موضوع مغلق
-
27-09-2011 08:24 مساءً
-
Darq5معلومات الكاتبالأعضاءعضـو نشيط
- انضم في :
- 10-05-2011
- رقم العضوية :
- 1499
- المشاركات :
- 369
- الدولة :
- Türkiye (Turkey)
- الجنس:
- تاريخ الميلاد :
- 19-5-1990
- قوة السمعة:
- 404
- موقعي:
- زيارة موقعي
-
Il do this by how detailed the clock settings?
How do I close the upper side there is a space
How do I remove that code
t.html">
-
-
[مجابه] Making detailed settings for hours27-09-2011 10:56 مساءً [1]
-
نجم الويبمعلومات الكاتبالأعضاءعضو سوبر ستار
- انضم في :
- 23-07-2010
- رقم العضوية :
- 599
- المشاركات :
- 3734
- الدولة :
- أمي اليمن
- الجنس:
- تاريخ الميلاد :
- 4-3-1987
- الدعوات:
- 1
- قوة السمعة:
- 8237
- موقعي:
- زيارة موقعي
-
اقتبـاس ،، Il do this by how detailed the clock settings?
i don't understand

اقتبـاس ،، How do I close the upper side there is a space
Put your problem in this section the problems of Styles
How do I remove that code
t.html">
On link
https://pbboard.info/forums/f25
-
-
[مجابه] Making detailed settings for hours28-09-2011 04:16 مساءً [2]
-
Darq5معلومات الكاتبالأعضاءعضـو نشيط
- انضم في :
- 10-05-2011
- رقم العضوية :
- 1499
- المشاركات :
- 369
- الدولة :
- Türkiye (Turkey)
- الجنس:
- تاريخ الميلاد :
- 19-5-1990
- قوة السمعة:
- 404
- موقعي:
- زيارة موقعي
-
Detailed time display, for example: as the subject opened 3 days ago
-
-
[مجابه] Making detailed settings for hours14-10-2011 08:58 صباحاً [3]
-
Solimanمعلومات الكاتبالادارة العامةPBBoard developer
- انضم في :
- 18-07-2009
- رقم العضوية :
- 1
- المشاركات :
- 13422
- الدولة :
- KSA
- الجنس:
- الدعوات:
- 55
- قوة السمعة:
- 82296
- موقعي:
- زيارة موقعي
-
Old, but does not prevent that by adding the solution with respect to time
To make history last post on the subject appear on the home page instead of the time when the past history
Open the file: engine/ibs/functions.class.php
And search for:
CODEfunction BackHTML($text)
Place the top:
CODEfunction arabi_time_ago($input,$type = 'ty') { /* get it from :http://css-tricks.com/snippets/php/time-ago-function/ translated by :codeboxy */ if($input > time()){ return false; exit; } $period = array ("seconds", "minute", "hour", "Day", "week", "month", "Year", "decade"); $periods = array ("sec", "minutes", "hours", "days", "weeks", "months", "years", "decade"); $periodtw = array ("two seconds", "minutes", "hours", "day", "two weeks", "two months", "two", "decade"); $lengths = array("60","60","24","7","4.35","12","10"); $now = time(); $difference = $now - $input; for($j = 0; $difference >= $lengths[$j] && $j < count($lengths)-1; $j++) { $difference /= $lengths[$j]; } $difference = round($difference); if($difference == 2){ $x = $periodtw[$j]; return "ago $x"; }elseif($difference != 1 and $difference <= 10) { $x= $periods[$j]; return "ago $difference $x"; }else{ $x = $period[$j]; return "ago $difference $x"; } }
# And save the file
--------------------------------------------
Open the file: includes/functions.class.php
And search for:
CODE$forum['last_date'] = $PowerBB->functions->date($forum_last_time1);
And replace with:
CODE$forum['last_date'] = $PowerBB->sys_functions->arabi_time_ago($forum_last_time1);
# And save the file
Ended ...
-
-
[مجابه] Making detailed settings for hours14-10-2011 01:30 مساءً [4]
-
Darq5معلومات الكاتبالأعضاءعضـو نشيط
- انضم في :
- 10-05-2011
- رقم العضوية :
- 1499
- المشاركات :
- 369
- الدولة :
- Türkiye (Turkey)
- الجنس:
- تاريخ الميلاد :
- 19-5-1990
- قوة السمعة:
- 404
- موقعي:
- زيارة موقعي
-
thank you

-
-
[مجابه] Making detailed settings for hours14-10-2011 10:47 مساءً [5]
-
moadمعلومات الكاتبالأعضاءعضـو بـارز
- انضم في :
- 17-08-2009
- رقم العضوية :
- 82
- المشاركات :
- 1066
- الدولة :
- فلسطين
- الجنس:
- تاريخ الميلاد :
- 3-9-1993
- الدعوات:
- 5
- قوة السمعة:
- 4254
- موقعي:
- زيارة موقعي
-
السلام عليكم ورحمة الله وبركاته ،،
تم غلق الموضوع لأحد الأسباب التالية:
- تم حل المشكلة والحمدلله.
- بقاء الموضوع لمدة 3 أيام بدون الرد عليه أو وجود إشارة تدل على رجوع العضو إليه.
- لا يوجد حل لهذه المشكلة (إذا وجد الحل سوف يتم إعادة فتح الموضوع).
بإمكانك بدأ موضوع جديد أو مراسلة أحد المشرفين إن كنت متأكد من رغبتك في الإستمرار .
إدارة المنتديات،، - تم حل المشكلة والحمدلله.
-