Support » Plugin: Pierre's Wordspew » [Plugin: Pierre's Wordspew] Editor can't ban users

  • Hello, thanks for your useful plugin.

    My problem is: I am the administrator of the blog, and i can ban ips easily with a simple button at the bottom of the control panel. The editors of the blog can clear messages but they doesn’t have the possibilities for ban users because the button doesn’t exist at their cpanel. How can I fix that? How can i show the “ban user” button for the editors level of the blog?

    Thank you very much for the answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pierre_02

    (@pierre_02)

    Hi _WILCO_,

    the shoutbox use the native moderation list of WP but Editors can’t access this list. Just try to load the “/wp-admin/options-discussion.php” in your browser when you’ll be logged as Editor and you’ll see what i mean 😉 this is not my choice it’s a WP constraint…

    So BTW i haven’t reason to show them the “ban user” button ;).

    Amicably,

    Pierre.

    Thanks for your answer Pierre.

    This morning I resolved the problem. My php is bad and i don’t know exactly what i did. But it works.

    I`ve copied the code of the line 574 in wordspew_admin.php:
    <input type=”button” name=”jal_ban” value=”‘.__(“Ban this IP”,wordspew).'” onclick=”BanIP(‘.$r->id.’,\”.$r->ipaddr.’\’)”/>

    …And i`ve pasted it a few lines below, before the “delete” button.

    Now the administrator panel has two buttons to ban users, and the EDITOR panel has one button to ban. It`s ok for me.

    Sorry for my English, and congratulations for your great plugin.

    Bram.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Pierre's Wordspew] Editor can't ban users’ is closed to new replies.