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
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]
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.