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

Hi everybody and thanks for the great help you provide here,

I have been searching a way to put all Submenu user information only in one page !

How to add "Recent Activity" (post list), just under the user profil main page ?

 

PS : I am just looking for a code to put somewhere under. Someone ask a similar question with no answer => http://www.question2answer.org/qa/15353/how-to-get-full-question-list-in-qa-page-user-php

 

by
I tried to past some content from qa-page-user-activity to qa-page-user-profile with errors...
by
Up ! Nobody ?

1 Answer

0 votes
by

Example of core (V1.6.2) hack.

qa-include/qa-page-user.php (arround L80)

// Replace [start]
//$qa_content=include QA_INCLUDE_DIR.'qa-page-user-profile.php';
qa_set_template('user-activity');
$qa_content_activity=include QA_INCLUDE_DIR.'qa-page-user-activity.php';
qa_set_template('user');
$qa_content=include QA_INCLUDE_DIR.'qa-page-user-profile.php';
$qa_content['custom2'] = '<h2>'.$qa_content_activity['title'].'</h2>';
$qa_content['q_list'] = $qa_content_activity['q_list'];
unset($qa_content_activity);
// Replace [end]
...