'; require_once('style.css'); echo ''; update_user_meta(get_current_user_id(), 'author_discussion_unread_posts', 0); $editor_settings = array( 'media_buttons' => false, 'textarea_rows' => 6, 'tinymce' => array( 'theme_advanced_buttons1' => 'bold,italic,underline,|,' . 'bullist,blockquote,|,justifyleft,justifycenter' . ',justifyright,justifyfull,|,link,unlink', 'theme_advanced_buttons2' => ''), 'quicktags' => false ); $authdiscuss_cap = get_option('author_discussion_capability'); $page_message_limit = get_option('author_discussion_msg_limit'); if($authdiscuss_cap == 'manage_options'){ $authdiscuss_cap = 'Administrator'; }elseif($authdiscuss_cap == 'moderate_comments'){ $authdiscuss_cap = 'Editor and Higher'; }elseif($authdiscuss_cap == 'publish_posts'){ $authdiscuss_cap = 'Author and Higher'; } ?>

Welcome to the admin page for "Author Discussion".

You have successfully posted the message.


prefix . "authordiscuss"; $messages = "SELECT * FROM $table_name ORDER BY id DESC LIMIT $page_message_limit"; $messages = $wpdb->get_results($messages); foreach($messages as $row){ //get author info here $auth_name = get_userdata($row->userid); $auth_name = $auth_name->first_name . ' ' . $auth_name->last_name; $time = strtotime($row->time); $time = date('M j, Y g:i A', $time); $message = stripslashes($row->text); $message = apply_filters('the_content', $message); echo '
' . $message . '
' . $auth_name . '
' . $time . '
'; } ?>

Welcome to the Author Discussion page. This is a public page for anyone granted access. Right now is granted access to this system.

There are future plans to do the following:

These will come as soon as possible. Thanks for your patience!