Admin ban button in post

Started by Dzonny, July 12, 2009, 08:35:25 AM

Previous topic - Next topic

Dzonny

Link to Mod

Admin ban button in post
by Dzonny



- This is simply mod wich allow Admins and other members who has persmissions to ban, to have ban button in post view, and easely ban members.

Please note that on custom themes you'll have to install this mod manually. (Manual Installation of Mods)

I welcome new translations here:
$txt['admin_ban_button'] = 'Ban user';

Versions:

1.0 for smf 1.1.8 and 1.1.9
-   Admin_ban_button.zip
-   This version will add ban button just for admins!

1.1 for smf 1.1.8 - 1.1.10 and for all 2.0 Versions
-   Ban_button_1.1.zip
-   This version will add button for members who has persmissions to ban users, and for admin.


Plans for new versions:
- New version is realised, and i'm welcome new ideas for next versions.



the_shadow

can you make this for 2.0RC1-1?

thnkx

MF30


Dzonny

Quote from: alex30 on July 12, 2009, 05:50:07 PM
Good mod.

Thanks.

Quote from: MF30 on July 12, 2009, 08:29:02 PM
Excellent work Dzonny. :)

Thanks for your comment guys. :)
I'm glad that you like it.. :)

Quote from: the_shadow on July 12, 2009, 06:56:17 PM
can you make this for 2.0RC1-1?

thnkx

Maybe in next version...For now it works only with 1.1.x versions.

TurtleKicker

Is this hard-coded to just be available to admins? Or can any mod with access to edit the ban list also see this button?

Dzonny

For now this allow only admins to view ban button, but in next version (very soon) i will make it for members which can manage bans.

MF30

Modification.portuguese_pt.php

$txt['admin_ban_button'] = 'Banir usuário';

Dzonny

Quote from: MF30 on July 14, 2009, 05:15:12 PM
Modification.portuguese_pt.php

$txt['admin_ban_button'] = 'Banir usuário';
Thanks, i will add that tomorrow... :)

Sabre™

You gave me the idea to use an image instead of the text for This mod lol

Thanks mate :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


JeremyB.

Nice Mod Dzonny, Thanks Here are a Few Translations.

Espanol:

$txt['admin_ban_button'] = 'Prohibición de usuario';

Catalan:
$txt['admin_ban_button'] = 'Prohibició d'usuari';

Ukranian:
$txt['admin_ban_button'] = 'Пан користувача';

Russian:
$txt['admin_ban_button'] = 'Пан пользователя';

Polish:
$txt['admin_ban_button'] = 'Zakaz użytkownika';

-JB








"The most overlooked advantage to owning a computer is that if they foul up, there's no law against whacking them around a little."

Dzonny

Quote from: Sabre™ on July 15, 2009, 02:08:36 AM
You gave me the idea to use an image instead of the text for This mod lol

Thanks mate :)
I know about that mod, and this one is quite different...
Thanks anyway.. :)

Quote from: JeremyB. on July 15, 2009, 02:21:00 AM
Nice Mod Dzonny, Thanks Here are a Few Translations.
Thanks, i will add translation soon.
Thanks for your comment guys.. :)

Regards.

Sabre™

Quote from: Dzonny on July 15, 2009, 12:59:55 PM
I know about that mod, and this one is quite different...
Thanks anyway.. :)

Yeah, with your planned update(s) it will be exactly the same, just a different location.
Thanks anyway.. :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Costa

Congrats, simple but very useful mod ;)

Translations

modifications.portuguese_brazilian.php

$txt['admin_ban_button'] = 'Banir usuário';


modifications.portuguese_brazilian-utf8.php

$txt['admin_ban_button'] = 'Banir usuário';


modifications.portuguese.php

$txt['admin_ban_button'] = 'Banir usuário';


modifications.portuguese-utf8.php

$txt['admin_ban_button'] = 'Banir usuário';


Farewell
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

Antes

Nice Work ...

BoTh same UTF-8 & Norm
$txt['admin_ban_button'] = 'Kullanıcıyı Yasakla';

Dzonny

Costa and Antes, thanks for translation! :)

Teerapat

This is translation to thai and thai-utf8

modifications.thai.php
$txt['admin_ban_button'] = 'แบนผู้ใช้นี้';

modifications.thai-utf8.php
$txt['admin_ban_button'] = 'แบนผู้ใช้นี้';

:)

Forbs


PalmBeachPreps

Installed it but the button is not showing up. :(

Dzonny

Thanks for comments and translation.

Quote from: PalmBeachPreps on October 22, 2009, 04:14:56 PM
Installed it but the button is not showing up. :(
Which forum version, and which theme are you using?
You need to edit themes files manually if you're using custom theme....

Advertisement: