Trick to get Emoticons options and better Message editor!
The default message editor is boring, Here is a better one and with another plugin you will have Emoticons.
Here is screenshot!
All you have to do is go to template-message.php and replace the php themex user message line with the below code and it will replace the entire message editor box with the wordpress admin style wp-editor which is better. You can also do this for description section. WordPress by default supports smilies so this works out great. In order to customize the Wp-Editor and add the smilies option install WPEDIT Plugin. It Enables advanced features and plugins in TinyMCE, the visual editor in WordPress.
<?php wp_editor( @$event->description, ‘user_message’, array(
‘media_buttons’ => false,
‘textarea_name’ => ‘user_message’,
‘textarea_class’ => ‘wp-editor-area’,
‘quicktags’ => false,
) ); ?>
<?php _e(‘Send Message’, ‘lovestory’); ?>
<input type=”hidden” name=”user_recipient” value=”<?php echo get_query_var(‘message’); ?>” />
<input type=”hidden” name=”user_action” value=”add_message” />
<input type=”hidden” name=”nonce” value=”<?php echo wp_create_nonce(THEMEX_PREFIX.’nonce’); ?>” />
I would recommend you get the same plugins I have to make the site awesome.
Google XML Sitemaps,
Simple IP Ban,
User Login Log,
Some plugins such as User Login Log I installed in order to see if Romance Scammers are registering, they often register from West African countries and Login Log shows I.P. and all that good stuff.
The wp-editor message box supports colors and font sizes in addition to Emojicons but the font changes don’t display when message in sent and I am looking to find a fix for that now, will update this post when I do. Enjoy it.!
re-uploaded broken image screenshot.
http://themextemplates.com/forums/topic/tinymce-unblock-more-options/ will allow you to get more features but not the emoticons.
Accord to your message. I have followed the message to replace the ccode in template-message.php. it’s not work and I got this message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Thanks for your reply. Now I can use the WPEDIT editor to send message.
However, the editor in the Profile page is still the basic one. Can I change the editor of Profile page, Blog Page as well?
You must be logged in to reply to this topic.