Admin Cpye girmeye gerek kalmadan direk postbitten, üyenin nickine tıklayınca açılan menüye extra bir seçenek eklenir ve buradan doğrudan üye banlanabilir.
- postbit_legacy templatesinde bulun;
Altına şunları ekleyin;
- postbit_legacy templatesinde bulun;
Kod:
[COLOR=#ff0000][COLOR=#ff0000]<if condition=[COLOR=#0000ff]"$post['userid'] AND $show['member']"[/COLOR]>[/COLOR] [COLOR=#008080]<tr>[/COLOR][COLOR=#008080]<td class=[COLOR=#0000ff]"vbmenu_option"[/COLOR]>[/COLOR][COLOR=#008000]<a href=[COLOR=#0000ff]"profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"[/COLOR]>[/COLOR][COLOR=#000080]<phrase 1=[COLOR=#0000ff]"$post[username]"[/COLOR]>[/COLOR]$vbphrase[add_x_to_buddy_list][COLOR=#000080]</phrase>[/COLOR][COLOR=#008000]</a>[/COLOR][COLOR=#008080]</td>[/COLOR][COLOR=#008080]</tr>[/COLOR] [COLOR=#ff0000]</if>[/COLOR][/COLOR]
Kod:
[COLOR=#ff0000][COLOR=black][COLOR=#ff0000][COLOR=#ff0000][COLOR=#ff0000]<if condition=[COLOR=#0000ff]"$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"[/COLOR]>[/COLOR] [COLOR=#008080]<tr>[/COLOR][COLOR=#008080]<td class=[COLOR=#0000ff]"vbmenu_option"[/COLOR]>[/COLOR][COLOR=#000080]<span onmouseover=[COLOR=#0000ff]"this.style.cursor='hand';"[/COLOR] onClick=[COLOR=#0000ff]"window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=550,height=375,scrollbars=yes')"[/COLOR]>[/COLOR][COLOR=#000080]<b>[/COLOR]Bu Elemanı Banla $post[username][COLOR=#000080]</b>[/COLOR][COLOR=#000080]</span>[/COLOR][COLOR=#008080]</td>[/COLOR][COLOR=#008080]</tr>[/COLOR] [COLOR=#ff0000]</if>[/COLOR][/COLOR][/COLOR][/COLOR][/COLOR]