هيلبرنت |
11-17-2016 04:11 PM |
كود اضفنى كصديق بقالب البوست للجيل الثالث
1 مرفق
السلام عليكم ورحمة الله وبركاته
[ اسم الكود ] :اضفنى كصديق بقالب البوست للجيل الثالث
[ وصف الكود ] :عبار عن زر يظهر فى قالب البوست بالمشاركات والردود عند الضغط عليه يضفى صاحب الرد
[ يتوافق مع اي اصدار ] :vb3.x.x
التركيب :
ابحث في قالب : postbit عن :
كود:
<div id="post_message_$post[postid]">
وبعدها ضع هذا الكود
كود:
<div class="wall_last_post">
<div class="wall_last_post_auhor"><a rel="nofollow" href="member.php?$session[sessionurl]u=$post[userid]">
$post[username]</a></div>
<div class="add_as_friend">
<span><a rel="nofollow" href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$post[userid]" style="color: #E96D10;">
أضفني كصديق</a></span>
</div>
<div class="wall_last_post_footer">
</div>
</div>
الكود الخاص باكواد css
كود:
.wall_last_post {
float: left;
width: 226px;
height: 65px;
background: #F6F6F6;
border-right: 3px #990000 solid;
border-left: 3px #990000 solid;
border-top: 3px #CCC dotted;
border-bottom: 3px #CCC dotted;
border-radius: 0px 21px 21px 0px;
-moz-border-radius: 0px 21px 21px 0px;
padding-bottom: 5px;
margin: 2px;
}
.wall_last_post .wall_last_post_auhor {
font-size: 12px;
color: #606060;
font-weight: normal;
font-family: Tahoma;
padding-right: 11px;
padding-top: 4px;
background: transparent url('images/1-ta.png') no-repeat;
background-position: left;
margin-left: 10px;
text-shadow: 1px 0px 1px #88CED8;
}
.wall_last_post .wall_last_post_auhor a
{
font-size: 12px;
color: #990000;
font-weight: bold;}
.wall_last_post p {
font-size: 11px;
font-family: Tahoma;
font-weight: normal;
color: #606060;
padding: 3px;
min-height: 27px;
line-height: 15px;
margin: 0px;
}
.wall_last_post_footer {
font-family: Tahoma;
font-size: 11px;
color: #0B5A73;
font-weight: normal;
}
.add_as_friend
{
height:28px;
padding-left:40px;
background:transparent url('images/1-a.png') no-repeat;
background-position:left;
width: 151px;
margin-top:9px;
margin:auto;
}
.add_as_friend span
{
background: none repeat scroll 0 0 #FFE5CD;
border: 1px solid #F4C182;
border-radius: 3px 3px 3px 3px;
color: #E96D10;
display: block;
font-family: Tahoma;
font-size: 11px;
height: 21px;
line-height: 23px;
margin-top: 9px;
padding-bottom: 5px;
padding-left: 5px;
padding-right: 5px;
text-align: center;
}
|