Hi,

Just letting you know that adding comments is possible. Nevertheless I can use this module

Thanks, Buckley

Comments

sharique’s picture

Category: bug » feature

Thanks.
I know that, I'll add this feature in next version.
If maintainanace period is short, there won't be many(or any) comments, because most of the people do update site during low traffic time.
I'm very busy with regular things of life, so I'm not able to give much time it.

Thanks.
--
Sharique

avior’s picture

nice module , thank you

i have added this to solve the comments issue

function readonlymode_form_comment_form_alter(&$form, &$form_state) {  
  
    $res = variable_get('readonlymode', '0');
    if ( $res == 1 ) {    
      drupal_set_message(t('Site is in read only mode, so no content can be posted.')); // messgae to be displayed on the site      
      $form = array();
      $form['comment'] = array(
        '#value' => t('Site is in read only mode, so no content can be posted.'),
      );
    }
}

BarisW’s picture

Assigned: Unassigned » BarisW
Status: Active » Fixed

Fixed in the .dev version. Thanks for your comment.

Please test, so that I can make a stable 1.0 version of it!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.