Both plugins override the function q_list_and_form($q_list) (see layer.php) as follows:
https://github.com/svivian/q2a-user-activity-plus/
function q_list_and_form($q_list)
{
qa_html_theme_base::q_list_and_form($q_list);
$handle_raw = $this->user_handle();
// output activity links under recent activity
if ( $this->template === 'user' )
{
$this->output(
'<div class="qa-useract-page-links">',
qa_lang_html('useractivity/more_activity') . ':',
' <a href="' . qa_path('user-activity/questions/'.$handle_raw) . '">' . qa_lang_html('useractivity/all_questions') . '</a>',
' • ',
' <a href="' . qa_path('user-activity/answers/'.$handle_raw) . '">' . qa_lang_html('useractivity/all_answers') . '</a>',
'</div>'
);
}
}
https://github.com/NoahY/q2a-history
function q_list_and_form($q_list)
{
if($this->template == 'user' && qa_opt('user_act_list_active') && qa_opt('user_act_list_replace'))
return;
qa_html_theme_base::q_list_and_form($q_list);
}
q2a executes plugins by alphabetically order!
Having user-activity executed first and then history plugin, overrides the function above, and the useractivity/more_activity lines will not be printed.
Any chance to prevent this?