حرّر القالب profile
ابحث في بدايته (في السطر 8) عن
CODE
<table border="0" width="100%" cellspacing="1" cellpadding="0">
استبدله ب
CODE
<table class="UserProfile" border="0" width="100%" cellspacing="1" cellpadding="0">
وأضف هذا الكود في بداية أو نهاية القالب
CODE
<?php
$profile_group = $PowerBB->_CONF['group_info']['id'] ;
$first_group = "1,4"; // أرقام المجموعات الخاصة الأولى
$second_group = "5,6"; // أرقام المجموعات الخاصة الثانية
if (in_array($profile_group, preg_split('#\s*,\s*#s', $first_group, -1, PREG_SPLIT_NO_EMPTY))) // خلفيات بروفايل أعضاء المجموعات الخاصة الأولى
{
echo "
<style type='text/css'>
.UserProfile .pp-name{
}
.UserProfile .pp-tabon{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .pp-taboff, .UserProfile .pp-tabshaded{
background: #E1DDD8 url('images/gradient_thead.gif');
}
.UserProfile .pp-contentbox-back{
background: #323FE2;
}
.UserProfile .pp-tabclear{
background: #4F3030 url('images/bar_bg.gif');
}
.UserProfile .borderwrap{
}
.UserProfile .tcat{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .row1{
background: #F9F6F6;
}
.UserProfile .row3{
background: #F9F6F6;
}
</style>
" ;
}elseif (in_array($profile_group, preg_split('#\s*,\s*#s', $second_group, -1, PREG_SPLIT_NO_EMPTY))) // خلفيات بروفايل أعضاء المجموعات الخاصة الثانية
{
echo "
<style type='text/css'>
.UserProfile .pp-name{
}
.UserProfile .pp-tabon{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .pp-taboff, .UserProfile .pp-tabshaded{
background: #E1DDD8 url('images/gradient_thead.gif');
}
.UserProfile .pp-contentbox-back{
background: #323FE2;
}
.UserProfile .pp-tabclear{
background: #4F3030 url('images/bar_bg.gif');
}
.UserProfile .borderwrap{
}
.UserProfile .tcat{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .row1{
background: #F9F6F6;
}
.UserProfile .row3{
background: #F9F6F6;
}
</style>
" ;
}else{ // خلفيات بروفايل المجموعات الأخرى
echo "
<style type='text/css'>
.UserProfile .pp-name{
}
.UserProfile .pp-tabon{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .pp-taboff, .UserProfile .pp-tabshaded{
background: #E1DDD8 url('images/gradient_thead.gif');
}
.UserProfile .pp-contentbox-back{
background: #323FE2;
}
.UserProfile .pp-tabclear{
background: #4F3030 url('images/bar_bg.gif');
}
.UserProfile .borderwrap{
}
.UserProfile .tcat{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .row1{
background: #F9F6F6;
}
.UserProfile .row3{
background: #F9F6F6;
}
</style>
" ;
}
?>
مع التعديل على تلك الخلفيات بما يناسبك
وعند الانتهاء اضغط " حفظ وإعادة تحميل"
ثمّ حرّر استايل شييت وابحث عن هذه الكلاسات واحذف منها background و background-image و background-color
CODE
.pp-name
.pp-tabon
.pp-taboff, .pp-tabshaded
.pp-contentbox-back
.pp-tabclear
.borderwrap