- الرئيسية
- ما الجديد !
-
الصفحات▼
الصفحات
أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .
طلب كود اداري متصل
-
موضوع مغلق
-
- تمت الإجابة
-
17-07-2017 09:50 مساءً
-
عبدالاله الهذليمعلومات الكاتبالأعضاءعضـو متميز
- انضم في :
- 23-08-2016
- رقم العضوية :
- 6837
- المشاركات :
- 507
- الدولة :
- المملكة العربية السعودية
- الجنس:
- تاريخ الميلاد :
- 17-9-1999
- الدعوات:
- 2
- قوة السمعة:
- 1090
-
السلام عليكم ورحمة الله وبركاته
حبيت أسوي اضافة في القائمة الجانبية .: الأداري المتصل :.
طبعا خلصت منها الحمدالله لكن تبقى فقط ظهور الاداري المتصل فقط

-
تم تحرير الموضوع بواسطة :عبدالاله الهذلي بتاريخ: 17-07-2017 09:55 مساءً
-
-
طلب كود اداري متصل18-07-2017 11:51 مساءً [1]
-
Solimanمعلومات الكاتبالادارة العامةPBBoard developer
- انضم في :
- 18-07-2009
- رقم العضوية :
- 1
- المشاركات :
- 13422
- الدولة :
- KSA
- الجنس:
- الدعوات:
- 55
- قوة السمعة:
- 82296
- موقعي:
- زيارة موقعي
-
وعليكم السلام
ضع الكود كاملاً لنضيف بداخله الكود البرمجي للإداريين المتصلين
-
-
طلب كود اداري متصل19-07-2017 09:41 مساءً [2]
-
Vampiroمعلومات الكاتبالأعضاءعضـو مشارك
- انضم في :
- 14-04-2017
- رقم العضوية :
- 7218
- المشاركات :
- 68
- الدولة :
- مصر
- الجنس:
- تاريخ الميلاد :
- 2-2-2001
- قوة السمعة:
- 0
-
عايز الكود انا
-
-
طلب كود اداري متصل20-07-2017 01:40 صباحاً [3]
-
عبدالاله الهذليمعلومات الكاتبالأعضاءعضـو متميز
- انضم في :
- 23-08-2016
- رقم العضوية :
- 6837
- المشاركات :
- 507
- الدولة :
- المملكة العربية السعودية
- الجنس:
- تاريخ الميلاد :
- 17-9-1999
- الدعوات:
- 2
- قوة السمعة:
- 1090
-
المشاركة الأصلية كتبت بواسطة: Soliman وعليكم السلام
ضع الكود كاملاً لنضيف بداخله الكود البرمجي للإداريين المتصلين
تفضل @Soliman
CODE{if {$_CONF['info_row']['active_static']}} <ul class="sidebar"> <li class="tcat"> <span>الأداري المتصل الأن</span> </li> </ul> <div class="row_sidebar"> </div> {/if}
-
-
طلب كود اداري متصل20-07-2017 02:31 مساءً [4]
-
Solimanمعلومات الكاتبالادارة العامةPBBoard developer
- انضم في :
- 18-07-2009
- رقم العضوية :
- 1
- المشاركات :
- 13422
- الدولة :
- KSA
- الجنس:
- الدعوات:
- 55
- قوة السمعة:
- 82296
- موقعي:
- زيارة موقعي
-
يشمل المشرفين ولا فقط الإدارة !
-
-
طلب كود اداري متصل20-07-2017 03:05 مساءً [5]
-
عبدالاله الهذليمعلومات الكاتبالأعضاءعضـو متميز
- انضم في :
- 23-08-2016
- رقم العضوية :
- 6837
- المشاركات :
- 507
- الدولة :
- المملكة العربية السعودية
- الجنس:
- تاريخ الميلاد :
- 17-9-1999
- الدعوات:
- 2
- قوة السمعة:
- 1090
-
الادارة أذا أمكن

مثلا بـ الجانب الأيمن [صورة للعضوية ] ومثلا بـ النصف [اسم الأداري ]
وتحت اسمه [اسم المجموعة الخاصة به مثلا [مراقب عام ] او [مدير المنتدى ]
-
تم تحرير المشاركة بواسطة :عبدالاله الهذلي بتاريخ:20-07-2017 03:12 مساءً
-
-
طلب كود اداري متصل21-07-2017 05:16 صباحاً [6]
-
Solimanمعلومات الكاتبالادارة العامةPBBoard developer
- انضم في :
- 18-07-2009
- رقم العضوية :
- 1
- المشاركات :
- 13422
- الدولة :
- KSA
- الجنس:
- الدعوات:
- 55
- قوة السمعة:
- 82296
- موقعي:
- زيارة موقعي
-
المشاركة الأصلية كتبت بواسطة: عبدالاله الهذلي الادارة أذا أمكن

مثلا بـ الجانب الأيمن [صورة للعضوية ] ومثلا بـ النصف [اسم الأداري ]
وتحت اسمه [اسم المجموعة الخاصة به مثلا [مراقب عام ] او [مدير المنتدى ]
تفضل الكود بعد اضافة الكود البرمجي للإداريين المتصلين عدلته بشكل سريع ولم اختبره
CODE{if {$_CONF['info_row']['active_static']}} <ul class="sidebar"> <li class="tcat"> <span>الأداري المتصل الأن</span> </li> </ul> <div class="row_sidebar"> <?php // Get all admin group id = 1 $forum_team_query = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE usergroup='1' or usergroup='2' or usergroup='8' "); while ($forum_team = $PowerBB->DB->sql_fetch_array($forum_team_query)) { // Get admin Online $OnlineArr = array(); $OnlineArr['where'] = array('user_id',$forum_team['id']); $OnlineList = $PowerBB->core->GetInfo($OnlineArr,'online'); if($OnlineList) { ?> <ul class="whatis_new"> <li class="last_posts" style="padding-bottom: 10px;margin-bottom: 10px;"> <ul class="PBBList_reset"> {if {$_CONF['info_row']['allow_avatar']}} <li class="Photo_lastPoster" style="display:inline-block; margin-top:-3px; padding:2px; width: 32px; height: 32px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px;"> <a href="index.php?page=profile&show=1&id=<?php echo $forum_team['id'];?>"> {if {$lastPostsList['avater_path']} != ''} <?php if (@!strstr($forum_team['avater_path'],'http') or @!strstr($forum_team['avater_path'],'www.')) { if (@strstr($forum_team['avater_path'],'download/avatar/') or @strstr($forum_team['avater_path'],'look/images/avatar/')) { $forum_team['avater_path'] = $PowerBB->_CONF['template']['ForumAdress'].$forum_team['avater_path']; $forum_team['avater_path'] = str_replace($PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['ForumAdress'], $PowerBB->_CONF['template']['ForumAdress'], $forum_team['avater_path']); } } if ($PowerBB->functions->GetServerProtocol() == 'https://') { $https_ = "https://".$PowerBB->_SERVER['HTTP_HOST']; $httpswww_ = "https://www.".$PowerBB->_SERVER['HTTP_HOST']; $http_ = "http://".$PowerBB->_SERVER['HTTP_HOST']; $http_www_ = "http://www.".$PowerBB->_SERVER['HTTP_HOST']; $forum_team['avater_path'] = str_replace($http_, $https_, $forum_team['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_, $https_, $forum_team['avater_path']); $forum_team['avater_path'] = str_replace($http_www_, $httpswww_, $forum_team['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_www_, $httpswww_, $forum_team['avater_path']); } ?> <span class="brd0" style="width: 32px; height: 32px; background-image: url({$lastPostsList['avater_path']});width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {else} <span class="brd0" style="background-image: url(<?php echo $PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['image_path'];?>/{$_CONF['info_row']['default_avatar']}); width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {/if} </a> </li> {/if} <li class="last_subjectid" style="position:relative; vertical-align:middle; margin-top: -2px; display:inline-block;"> <a href="index.php?page=profile&show=1&id=<?php echo $forum_team['id'];?>"> <?php // اسم العضو echo $forum_team['username_style_cache']; ?> </a> <div class="last_time_post"> <span class="last_time_ago"><?php // لقب العضو echo $forum_team['user_title']; ?></span> </div> </li> </ul> </li> </ul> </div> <?php } else { echo "لا يوجد إداري متصل حاليا .."; } } ?> {/if} <div style="clear: both;"></div> <div style="clear: both;"></div>
-
-
طلب كود اداري متصل21-07-2017 03:52 مساءً [7]
-
عبدالاله الهذليمعلومات الكاتبالأعضاءعضـو متميز
- انضم في :
- 23-08-2016
- رقم العضوية :
- 6837
- المشاركات :
- 507
- الدولة :
- المملكة العربية السعودية
- الجنس:
- تاريخ الميلاد :
- 17-9-1999
- الدعوات:
- 2
- قوة السمعة:
- 1090
-
المشاركة الأصلية كتبت بواسطة: Soliman
المشاركة الأصلية كتبت بواسطة: عبدالاله الهذلي الادارة أذا أمكن

مثلا بـ الجانب الأيمن [صورة للعضوية ] ومثلا بـ النصف [اسم الأداري ]
وتحت اسمه [اسم المجموعة الخاصة به مثلا [مراقب عام ] او [مدير المنتدى ]
تفضل الكود بعد اضافة الكود البرمجي للإداريين المتصلين عدلته بشكل سريع ولم اختبره
CODE{if {$_CONF['info_row']['active_static']}} <ul class="sidebar"> <li class="tcat"> <span>الأداري المتصل الأن</span> </li> </ul> <div class="row_sidebar"> <?php // Get all admin group id = 1 $forum_team_query = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE usergroup='1' or usergroup='2' or usergroup='8' "); while ($forum_team = $PowerBB->DB->sql_fetch_array($forum_team_query)) { // Get admin Online $OnlineArr = array(); $OnlineArr['where'] = array('user_id',$forum_team['id']); $OnlineList = $PowerBB->core->GetInfo($OnlineArr,'online'); if($OnlineList) { ?> <ul class="whatis_new"> <li class="last_posts" style="padding-bottom: 10px;margin-bottom: 10px;"> <ul class="PBBList_reset"> {if {$_CONF['info_row']['allow_avatar']}} <li class="Photo_lastPoster" style="display:inline-block; margin-top:-3px; padding:2px; width: 32px; height: 32px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px;"> <a href="index.php?page=profile&show=1&id=<?php echo $forum_team['id'];?>"> {if {$lastPostsList['avater_path']} != ''} <?php if (@!strstr($forum_team['avater_path'],'http') or @!strstr($forum_team['avater_path'],'www.')) { if (@strstr($forum_team['avater_path'],'download/avatar/') or @strstr($forum_team['avater_path'],'look/images/avatar/')) { $forum_team['avater_path'] = $PowerBB->_CONF['template']['ForumAdress'].$forum_team['avater_path']; $forum_team['avater_path'] = str_replace($PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['ForumAdress'], $PowerBB->_CONF['template']['ForumAdress'], $forum_team['avater_path']); } } if ($PowerBB->functions->GetServerProtocol() == 'https://') { $https_ = "https://".$PowerBB->_SERVER['HTTP_HOST']; $httpswww_ = "https://www.".$PowerBB->_SERVER['HTTP_HOST']; $http_ = "http://".$PowerBB->_SERVER['HTTP_HOST']; $http_www_ = "http://www.".$PowerBB->_SERVER['HTTP_HOST']; $forum_team['avater_path'] = str_replace($http_, $https_, $forum_team['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_, $https_, $forum_team['avater_path']); $forum_team['avater_path'] = str_replace($http_www_, $httpswww_, $forum_team['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_www_, $httpswww_, $forum_team['avater_path']); } ?> <span class="brd0" style="width: 32px; height: 32px; background-image: url({$lastPostsList['avater_path']});width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {else} <span class="brd0" style="background-image: url(<?php echo $PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['image_path'];?>/{$_CONF['info_row']['default_avatar']}); width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {/if} </a> </li> {/if} <li class="last_subjectid" style="position:relative; vertical-align:middle; margin-top: -2px; display:inline-block;"> <a href="index.php?page=profile&show=1&id=<?php echo $forum_team['id'];?>"> <?php // اسم العضو echo $forum_team['username_style_cache']; ?> </a> <div class="last_time_post"> <span class="last_time_ago"><?php // لقب العضو echo $forum_team['user_title']; ?></span> </div> </li> </ul> </li> </ul> </div> <?php } else { echo "لا يوجد إداري متصل حاليا .."; } } ?> {/if} <div style="clear: both;"></div> <div style="clear: both;"></div>
شكرا لك سليمان !
ولكن عند دخول 2 من الادارة او اكثر تتشوه القائمة الجانبية , وعند دخول اداري 1 تظهر كلمة لايوجد اداري متصل الان
-
-
طلب كود اداري متصل22-07-2017 01:23 صباحاً [8]
-
Solimanمعلومات الكاتبالادارة العامةPBBoard developer
- انضم في :
- 18-07-2009
- رقم العضوية :
- 1
- المشاركات :
- 13422
- الدولة :
- KSA
- الجنس:
- الدعوات:
- 55
- قوة السمعة:
- 82296
- موقعي:
- زيارة موقعي
-
اعتقد هذا سيعمل معك
CODE{if {$_CONF['info_row']['active_static']}} <ul class="sidebar"> <li class="tcat"> <span>الأداري المتصل الأن</span> </li> </ul> <div class="row_sidebar"> <?php // ارقام مجموعات الإداريين 1 و 2 و 8 $usergroupsteam = '1,2,8'; $usergroup_query = $PowerBB->DB->sql_query('SELECT * FROM ' . $PowerBB->table['member'] . ' WHERE usergroup in (' .$usergroupsteam. ') '); while ($usergroup_team = $PowerBB->DB->sql_fetch_array($usergroup_query)) { $usergroupsid .= ','.$usergroup_team['id']; } $usergroupsid = "0".$usergroupsid; $usergroupsid = str_replace("0,","",$usergroupsid); $forum_team_query = $PowerBB->DB->sql_query('SELECT * FROM ' . $PowerBB->table['online'] . ' WHERE user_id in (' .$usergroupsid. ') '); while ($forum_team = $PowerBB->DB->sql_fetch_array($forum_team_query)) { // Get admin Online if($forum_team) { $memberadmin_query = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE id = " .$forum_team['user_id']. " "); $memberadmin = $PowerBB->DB->sql_fetch_array($memberadmin_query); $group_query = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['group'] . " WHERE id = " .$memberadmin['usergroup']. " "); $group = $PowerBB->DB->sql_fetch_array($group_query); ?> <ul class="whatis_new"> <li class="last_posts" style="padding-bottom: 10px;margin-bottom: 10px;"> <ul class="PBBList_reset"> {if {$_CONF['info_row']['allow_avatar']}} <li class="Photo_lastPoster" style="display:inline-block; margin-top:-3px; padding:2px; width: 32px; height: 32px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px;"> <a href="index.php?page=profile&show=1&id=<?php echo $memberadmin['id'];?>"> <?php if($memberadmin['avater_path']!= '') { if (@!strstr($memberadmin['avater_path'],'http') or @!strstr($memberadmin['avater_path'],'www.')) { if (@strstr($memberadmin['avater_path'],'download/avatar/') or @strstr($memberadmin['avater_path'],'look/images/avatar/')) { $memberadmin['avater_path'] = $PowerBB->_CONF['template']['ForumAdress'].$memberadmin['avater_path']; $memberadmin['avater_path'] = str_replace($PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['ForumAdress'], $PowerBB->_CONF['template']['ForumAdress'], $memberadmin['avater_path']); } } if ($PowerBB->functions->GetServerProtocol() == 'https://') { $https_ = "https://".$PowerBB->_SERVER['HTTP_HOST']; $httpswww_ = "https://www.".$PowerBB->_SERVER['HTTP_HOST']; $http_ = "http://".$PowerBB->_SERVER['HTTP_HOST']; $http_www_ = "http://www.".$PowerBB->_SERVER['HTTP_HOST']; $forum_team['avater_path'] = str_replace($http_, $https_, $memberadmin['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_, $https_, $memberadmin['avater_path']); $forum_team['avater_path'] = str_replace($http_www_, $httpswww_, $memberadmin['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_www_, $httpswww_, $memberadmin['avater_path']); } ?> <span class="brd0" style="width: 32px; height: 32px; background-image: url(<?php echo $memberadmin['avater_path'] ?>);width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {else} <span class="brd0" style="background-image: url(<?php echo $PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['image_path'];?>/{$_CONF['info_row']['default_avatar']}); width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {/if} </a> </li> {/if} <li class="last_subjectid" style="position:relative; vertical-align:middle; margin-top: -2px; display:inline-block;"> <a href="index.php?page=profile&show=1&id=<?php echo $memberadmin['id'];?>"> <?php // اسم العضو echo $memberadmin['username_style_cache']; ?> </a> <div class="last_time_post"> <?php // لقب العضو echo $group['title']; ?> </div> </li> </ul> </li> </ul> </div> <?php } } ?> {/if} <div style="clear: both;"></div> <div style="clear: both;"></div>
-
-
طلب كود اداري متصل22-07-2017 01:52 صباحاً [9]
-
عبدالاله الهذليمعلومات الكاتبالأعضاءعضـو متميز
- انضم في :
- 23-08-2016
- رقم العضوية :
- 6837
- المشاركات :
- 507
- الدولة :
- المملكة العربية السعودية
- الجنس:
- تاريخ الميلاد :
- 17-9-1999
- الدعوات:
- 2
- قوة السمعة:
- 1090
-
المشاركة الأصلية كتبت بواسطة: Soliman اعتقد هذا سيعمل معك
CODE{if {$_CONF['info_row']['active_static']}} <ul class="sidebar"> <li class="tcat"> <span>الأداري المتصل الأن</span> </li> </ul> <div class="row_sidebar"> <?php // ارقام مجموعات الإداريين 1 و 2 و 8 $usergroupsteam = '1,2,8'; $usergroup_query = $PowerBB->DB->sql_query('SELECT * FROM ' . $PowerBB->table['member'] . ' WHERE usergroup in (' .$usergroupsteam. ') '); while ($usergroup_team = $PowerBB->DB->sql_fetch_array($usergroup_query)) { $usergroupsid .= ','.$usergroup_team['id']; } $usergroupsid = "0".$usergroupsid; $usergroupsid = str_replace("0,","",$usergroupsid); $forum_team_query = $PowerBB->DB->sql_query('SELECT * FROM ' . $PowerBB->table['online'] . ' WHERE user_id in (' .$usergroupsid. ') '); while ($forum_team = $PowerBB->DB->sql_fetch_array($forum_team_query)) { // Get admin Online if($forum_team) { $memberadmin_query = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE id = " .$forum_team['user_id']. " "); $memberadmin = $PowerBB->DB->sql_fetch_array($memberadmin_query); $group_query = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['group'] . " WHERE id = " .$memberadmin['usergroup']. " "); $group = $PowerBB->DB->sql_fetch_array($group_query); ?> <ul class="whatis_new"> <li class="last_posts" style="padding-bottom: 10px;margin-bottom: 10px;"> <ul class="PBBList_reset"> {if {$_CONF['info_row']['allow_avatar']}} <li class="Photo_lastPoster" style="display:inline-block; margin-top:-3px; padding:2px; width: 32px; height: 32px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px;"> <a href="index.php?page=profile&show=1&id=<?php echo $memberadmin['id'];?>"> <?php if($memberadmin['avater_path']!= '') { if (@!strstr($memberadmin['avater_path'],'http') or @!strstr($memberadmin['avater_path'],'www.')) { if (@strstr($memberadmin['avater_path'],'download/avatar/') or @strstr($memberadmin['avater_path'],'look/images/avatar/')) { $memberadmin['avater_path'] = $PowerBB->_CONF['template']['ForumAdress'].$memberadmin['avater_path']; $memberadmin['avater_path'] = str_replace($PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['ForumAdress'], $PowerBB->_CONF['template']['ForumAdress'], $memberadmin['avater_path']); } } if ($PowerBB->functions->GetServerProtocol() == 'https://') { $https_ = "https://".$PowerBB->_SERVER['HTTP_HOST']; $httpswww_ = "https://www.".$PowerBB->_SERVER['HTTP_HOST']; $http_ = "http://".$PowerBB->_SERVER['HTTP_HOST']; $http_www_ = "http://www.".$PowerBB->_SERVER['HTTP_HOST']; $forum_team['avater_path'] = str_replace($http_, $https_, $memberadmin['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_, $https_, $memberadmin['avater_path']); $forum_team['avater_path'] = str_replace($http_www_, $httpswww_, $memberadmin['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_www_, $httpswww_, $memberadmin['avater_path']); } ?> <span class="brd0" style="width: 32px; height: 32px; background-image: url(<?php echo $memberadmin['avater_path'] ?>);width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {else} <span class="brd0" style="background-image: url(<?php echo $PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['image_path'];?>/{$_CONF['info_row']['default_avatar']}); width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {/if} </a> </li> {/if} <li class="last_subjectid" style="position:relative; vertical-align:middle; margin-top: -2px; display:inline-block;"> <a href="index.php?page=profile&show=1&id=<?php echo $memberadmin['id'];?>"> <?php // اسم العضو echo $memberadmin['username_style_cache']; ?> </a> <div class="last_time_post"> <?php // لقب العضو echo $group['title']; ?> </div> </li> </ul> </li> </ul> </div> <?php } } ?> {/if} <div style="clear: both;"></div> <div style="clear: both;"></div>
الى الان مشكلة تشوه القائمة مستمرة
-
تم تحرير المشاركة بواسطة :عبدالاله الهذلي بتاريخ:22-07-2017 02:13 صباحاً
-
-
طلب كود اداري متصل22-07-2017 02:22 صباحاً [10]
-
عبدالاله الهذليمعلومات الكاتبالأعضاءعضـو متميز
- انضم في :
- 23-08-2016
- رقم العضوية :
- 6837
- المشاركات :
- 507
- الدولة :
- المملكة العربية السعودية
- الجنس:
- تاريخ الميلاد :
- 17-9-1999
- الدعوات:
- 2
- قوة السمعة:
- 1090
-
صورة لتشوه القائمة

-
-
طلب كود اداري متصل22-07-2017 05:07 صباحاً [11]
-
Solimanمعلومات الكاتبالادارة العامةPBBoard developer
- انضم في :
- 18-07-2009
- رقم العضوية :
- 1
- المشاركات :
- 13422
- الدولة :
- KSA
- الجنس:
- الدعوات:
- 55
- قوة السمعة:
- 82296
- موقعي:
- زيارة موقعي
-
تفضل تم اصلاح التصميم للإداريين المتصلين
CODE{if {$_CONF['info_row']['active_static']}} <ul class="sidebar"> <li class="tcat"> <span>الأداري المتصل الأن</span> </li> </ul> <div class="row_sidebar"> <?php // ارقام مجموعات الإداريين 1 و 2 و 8 $usergroupsteam = '1,2,8'; $usergroup_query = $PowerBB->DB->sql_query('SELECT * FROM ' . $PowerBB->table['member'] . ' WHERE usergroup in (' .$usergroupsteam. ') '); while ($usergroup_team = $PowerBB->DB->sql_fetch_array($usergroup_query)) { $usergroupsid .= ','.$usergroup_team['id']; } $usergroupsid = "0".$usergroupsid; $usergroupsid = str_replace("0,","",$usergroupsid); $forum_team_query = $PowerBB->DB->sql_query('SELECT * FROM ' . $PowerBB->table['online'] . ' WHERE user_id in (' .$usergroupsid. ') '); while ($forum_team = $PowerBB->DB->sql_fetch_array($forum_team_query)) { // Get admin Online if($forum_team) { $memberadmin_query = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE id = " .$forum_team['user_id']. " "); $memberadmin = $PowerBB->DB->sql_fetch_array($memberadmin_query); $group_query = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['group'] . " WHERE id = " .$memberadmin['usergroup']. " "); $group = $PowerBB->DB->sql_fetch_array($group_query); ?> <div class="discussionCount"> {if {$_CONF['info_row']['allow_avatar']}} <a href="index.php?page=profile&show=1&id=<?php echo $memberadmin['id'];?>"> <?php if($memberadmin['avater_path']!= '') { if (@!strstr($memberadmin['avater_path'],'http') or @!strstr($memberadmin['avater_path'],'www.')) { if (@strstr($memberadmin['avater_path'],'download/avatar/') or @strstr($memberadmin['avater_path'],'look/images/avatar/')) { $memberadmin['avater_path'] = $PowerBB->_CONF['template']['ForumAdress'].$memberadmin['avater_path']; $memberadmin['avater_path'] = str_replace($PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['ForumAdress'], $PowerBB->_CONF['template']['ForumAdress'], $memberadmin['avater_path']); } } if ($PowerBB->functions->GetServerProtocol() == 'https://') { $https_ = "https://".$PowerBB->_SERVER['HTTP_HOST']; $httpswww_ = "https://www.".$PowerBB->_SERVER['HTTP_HOST']; $http_ = "http://".$PowerBB->_SERVER['HTTP_HOST']; $http_www_ = "http://www.".$PowerBB->_SERVER['HTTP_HOST']; $forum_team['avater_path'] = str_replace($http_, $https_, $memberadmin['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_, $https_, $memberadmin['avater_path']); $forum_team['avater_path'] = str_replace($http_www_, $httpswww_, $memberadmin['avater_path']); $forum_team['avater_path'] = @str_ireplace($http_www_, $httpswww_, $memberadmin['avater_path']); } ?> <span class="brd0" style="width: 32px; height: 32px; background-image: url(<?php echo $memberadmin['avater_path'] ?>);width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {else} <span class="brd0" style="background-image: url(<?php echo $PowerBB->_CONF['template']['ForumAdress'].$PowerBB->_CONF['template']['image_path'];?>/{$_CONF['info_row']['default_avatar']}); width: 32px; height: 32px; background-position: center; background-repeat: no-repeat; background-size: 32px; display: inline-block; vertical-align: middle;"></span> {/if} </a> {/if} <a href="index.php?page=profile&show=1&id=<?php echo $memberadmin['id'];?>"> <?php // اسم العضو echo $memberadmin['username_style_cache']; ?> </a> <?php // لقب العضو echo $group['title']; ?> </div> <?php } } ?> </div> <div style="clear: both;"></div> <div style="clear: both;"></div> {/if}
-
-
طلب كود اداري متصل22-07-2017 07:52 مساءً [12]
-
عبدالاله الهذليمعلومات الكاتبالأعضاءعضـو متميز
- انضم في :
- 23-08-2016
- رقم العضوية :
- 6837
- المشاركات :
- 507
- الدولة :
- المملكة العربية السعودية
- الجنس:
- تاريخ الميلاد :
- 17-9-1999
- الدعوات:
- 2
- قوة السمعة:
- 1090
-
شكرا جزيلا لك أخي سليمان
جاري العمل على جعله اضافة برمجية وطرحه للمنتدى
-
-
-
-
-
-