Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
2.4k views
in Q2A Core by

1 Answer

+1 vote
by
It seems to work by below customize. Version is 1.2.

--------------------------------------------------
1.qa-include/qa-page-feedback.php

- step1 -
Search)
$inreferer=qa_post_text('referer');
Add after)
$inwebsite=qa_post_text('website');

- step2 -
Search)
'^email' => empty($inemail) ? '-' : $inemail,
Add after)
'^website' => empty($inwebsite) ? '-' : $inwebsite,

- step3 -
Search)
'email' => array(
    'type' => $feedbacksent ? 'static' : '',
    'label' => qa_lang_html('misc/feedback_email'),
    'tags' => ' NAME="email" ',
    'value' => qa_html(isset($inemail) ? $inemail : qa_get_logged_in_email($qa_db)),
    'note' => $feedbacksent ? null : qa_get_option($qa_db, 'email_privacy'),
),
Add after)
'website' => array(
    'type' => $feedbacksent ? 'static' : '',
    'label' => qa_lang_html('misc/feedback_website'),
    'tags' => ' NAME="website" ',
    'value' => qa_html(isset($inwebsite) ? $inwebsite : @$userprofile['website']),
),

--------------------------------------------------
2.qa-include/ OR qa-lang/*/    qa-lang-misc.php

Add line)
'feedback_website' => 'Your website: (optional)',

--------------------------------------------------
3.qa-include/ OR qa-lang/*/    qa-lang-emails.php

Search)
'feedback_body' => "Comments:\n^message\n\nName:\n^name\n\nEmail:\n^email\n\nPrevious page:\n^previous\n\nUser:\n^url\n\nIP address:\n^ip\n\nBrowser:\n^browser",

Replace)
'feedback_body' => "Comments:\n^message\n\nName:\n^name\n\nEmail:\n^email\n\nWebsite:\n^website\n\nPrevious page:\n^previous\n\nUser:\n^url\n\nIP address:\n^ip\n\nBrowser:\n^browser",
...