Is there a way to rate users instead of posts?

I would create a custom table that stored a) the user doing the rating b) the user being rated c) the rating d) the time of the rating. Between these 4, you should be able to store, aggregate, and effectively query your data with very little overhead or PHP processing. update note: this is pseudocode … Read more

Use of antispambot with $curauth->email

As the Codex states for the antispambot() function: Return Values (string) Converted email address. You have to do one of the following: echo antispambot( $curauth->publicemail ); // OR… print antispambot( $curauth->publicemail ); So your full example would look like the following: if ( ! empty( $curauth->publicemail ) ) { echo ‘Email <a href=”https://wordpress.stackexchange.com/questions/43732/mailto:”.antispambot( $curauth->publicemail ).’?subject=Webmail”> … Read more

Control Users listed in Users List on dashboard

WordPress doesn’t know which user created which, so first you need to store the creator’s data in the newly created user meta so you can so something like this: add_action( ‘user_register’, ‘Store_creator’ ); function Store_creator($user_id){ $creator = wp_get_current_user(); //only do this when none admin creates the user if ( $creator->roles[0] == ‘administrator’ ) return; update_user_meta($user_id,’_creator’,$creator->ID); … Read more

Cannot Modify Header Info Error on updating User Profile

It is usually because there are spaces, new lines, or other stuff before an opening tag, typically in wp-config.php. This could be true about some other file too, so please check the error message, as it lists the specific file name where the error occurred (see the link below for more info on “Interpreting the … Read more