Today we released some improvements to the EEWeb Forums. Our goal is to cut down on the incomplete questions posted here and give users an opportunity to preview, update, and correct their posts. We also wanted to improve the experience for those of you who receive automatic email alerts when questions are posted.
The following changes were implemented today:
# javascript will prevent you from submitting a post with empty fields (title, body, tags).
# when submitting a post, you will now see a preview of the post prior to it going up on the site, there will be two buttons on this page: "Edit Question" and "Post Question." This will let you check your submission for formatting errors and such.
# the email that is sent to subscribers of our forums will not be sent until a question is posted from the preview page.
# the HTML version of the email that is sent will be run through our textile formatter first, so it won't be one gigantic block of text anymore, assuming the post isn't like that itself.
# users can now edit their existing forum posts by clicking on the "edit question" link below their profile picture in the upper right corner of the forum post, although it is worth noting that the title of the post cannot be changed.
Additionally, we made a site-wide change recently and added support for code blocks in articles, blog posts, forum questions, etc. The shortcut for using this feature is found by clicking on the right-most icon above the text editing area. It looks like a curled page with the "" characters on top of it. It supports keyword highlighting for many languages (use "none" to disable) and you can choose whether to have line numbers on or off.
As an example:
[code lang="php"]
/**
* ctype_alnum()
*
* Determines if a string is comprised of only alphanumeric characters
* http://us.php.net/manual/en/function.ctype-alnum.php
*
* @access public
* @Param string
* @return_ bool
*/
if ( ! function_exists('ctype_alnum'))
{
function ctype_alnum($str)
{
if ( ! is_string($str) OR $str == '')
{
return FALSE;
}
return ! preg_match('/[^0-9a-z]/i', $str);
}
}
[/code]
We hope you enjoy these new features, please let us know if you encounter any bugs or have any other feedback for us.
The following changes were implemented today:
# javascript will prevent you from submitting a post with empty fields (title, body, tags).
# when submitting a post, you will now see a preview of the post prior to it going up on the site, there will be two buttons on this page: "Edit Question" and "Post Question." This will let you check your submission for formatting errors and such.
# the email that is sent to subscribers of our forums will not be sent until a question is posted from the preview page.
# the HTML version of the email that is sent will be run through our textile formatter first, so it won't be one gigantic block of text anymore, assuming the post isn't like that itself.
# users can now edit their existing forum posts by clicking on the "edit question" link below their profile picture in the upper right corner of the forum post, although it is worth noting that the title of the post cannot be changed.
Additionally, we made a site-wide change recently and added support for code blocks in articles, blog posts, forum questions, etc. The shortcut for using this feature is found by clicking on the right-most icon above the text editing area. It looks like a curled page with the "" characters on top of it. It supports keyword highlighting for many languages (use "none" to disable) and you can choose whether to have line numbers on or off.
As an example:
[code lang="php"]
/**
* ctype_alnum()
*
* Determines if a string is comprised of only alphanumeric characters
* http://us.php.net/manual/en/function.ctype-alnum.php
*
* @access public
* @Param string
* @return_ bool
*/
if ( ! function_exists('ctype_alnum'))
{
function ctype_alnum($str)
{
if ( ! is_string($str) OR $str == '')
{
return FALSE;
}
return ! preg_match('/[^0-9a-z]/i', $str);
}
}
[/code]
We hope you enjoy these new features, please let us know if you encounter any bugs or have any other feedback for us.