WordPress.org

Ready to get started?Download WordPress

Forums

Disallow certain nicknames :) (1 post)

  1. ehab
    Member
    Posted 5 years ago #

    Even though WP is meant for blogging, some of us here use it for "heavy group blogs" where we might not want to trust everyone of our users.

    Such a case occurred today. One of my users duplicated my nickname ;/

    I have searched and could not find any plugins to do that. Looks like a hard code deal to me. But my Php skills are low.

    So, can I add something here to make this work ?

    function update_nickname ( ) {
    
    		var nickname = jQuery('#nickname').val();
    		var display_nickname = jQuery('#display_nickname').val();
    
    		if ( nickname == '' ) {
    			jQuery('#display_nickname').remove();
    		}
    		jQuery('#display_nickname').val(nickname).html(nickname);
    
    	}

    Or perhaps something else ? Anybody got 5 minutes to cook something up :D ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags