Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.0k views
in Q2A Core by
reopened by
i want to remove that complete feature out there

2 Answers

+4 votes
by
selected by
 
Best answer

1. Edit file qa-theme/<your-theme>/qa-theme.php

2. Add (if they don't exist) or merge (if they already exist) the following functions):

// Removes checkbox from answers
public function a_form($form) {
    if ($this->template === 'question') {
        unset($form['fields']['notify']);
    }
    parent::a_form($form);
}

// Removes checkbox from comments
public function c_form($form) {
    if ($this->template === 'question') {
        unset($form['fields']['notify']);
    }
    parent::c_form($form);
}

// Removes checkbox from ask form
public function initialize() {
    if ($this->template === 'ask') {
        unset($this->content['form']['fields']['notify']);
    }
    parent::initialize();
}
by
pupi i tried this code in the new hosted q2a, still the checkbox appears
by
Try the code in my updated answer
by
it works fine pupi
by
nice, its work
+2 votes
by
edited by

Admin,posting,to remove a tick

by
+1
@niko i want to remove thst complete thing displayed over there
by
Thank you Niko
...