Support » Plugin: CubePM » Only Message Admin

  • First of all, thanks for the plugin – it’s great!

    This post is sort of in reply to an earlier post (Feature request – Delete, groups and nonce) where the OP wanted the ability to have users only be able to send a message to the admin. I’ve been looking for a solution as well, and I found a workaround.

    In the cubepm/css/cubepm.css file of the plugin, find this code:

    .ac_results {
    	padding: 0px;
    	border: 1px solid #ccc;
    	background-color: #fff;
    	overflow: hidden;
    	z-index: 99999;
    }

    …and add a visibility property, like so:

    .ac_results {
    	visibility: hidden;
    	padding: 0px;
    	border: 1px solid #ccc;
    	background-color: #fff;
    	overflow: hidden;
    	z-index: 99999;
    }

    Technically, all members can still message each other, but they have to type in the name of anyone they want to message. (Example: JohnAdmin)

    Granted this won’t work for everyone, but it would work if the site members didn’t know each other’s user names. All they would need to know is the Admin’s username.

    Just an idea…

    http://wordpress.org/extend/plugins/cubepm/

  • The topic ‘Only Message Admin’ is closed to new replies.