To remove/disable the mandatory email for comments is you have to edit the code. here are the following instructions but NOTE: Back up the following files:
FILE A.) b2evolution/blogs/skins/_item_comment_form.inc.php
FILE B.) b2evolution/blogs/htsrv/comment_post1.php
DELETE THESE LINES IN FILE _item_comment_form.inc.php
LINE 62: $comment_author_email = $Comment->author_email;
LINE 77: $comment_author_email = '';
LINE 83: $comment_author_email = isset($_COOKIE[$cookie_email]) ? trim($_COOKIE[$cookie_email]) : ''
LINE: 143: $Form->text( 'i', $comment_author_email, 40, T_('Email'), '<br />'.T_('Your email address will <strong>not</strong> be revealed on this site.'), 100, 'bComment' );
SAVE IT!
NEXT DELETE THESE LINES IN FILE comment_post1.php
LINE 195: $Comment->set( 'author_email', $email );
LINE 128-132:
if( empty($email) )
{
$Messages->add( T_('Please fill in your email.'), 'error' );
}
Hi
To remove/disable the mandatory email for comments is you have to edit the code. here are the following instructions but NOTE: Back up the following files:
FILE A.) b2evolution/blogs/skins/_item_comment_form.inc.php
FILE B.) b2evolution/blogs/htsrv/comment_post1.php
DELETE THESE LINES IN FILE _item_comment_form.inc.php
LINE 62: $comment_author_email = $Comment->author_email;
LINE 77: $comment_author_email = '';
LINE 83: $comment_author_email = isset($_COOKIE[$cookie_email]) ? trim($_COOKIE[$cookie_email]) : ''
LINE: 143: $Form->text( 'i', $comment_author_email, 40, T_('Email'), '<br />'.T_('Your email address will <strong>not</strong> be revealed on this site.'), 100, 'bComment' );
SAVE IT!
NEXT DELETE THESE LINES IN FILE comment_post1.php
LINE 195: $Comment->set( 'author_email', $email );
LINE 128-132:
if( empty($email) )
{
$Messages->add( T_('Please fill in your email.'), 'error' );
}
SAVE IT!
YOUR DONE! CONGRATULATIONS!