Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+5 votes
1.0k views
in Q2A Core by
I want to display only favorited user's questions in UPDATEs page, is it possible?
Q2A version: 1.7.4

4 Answers

0 votes
by
I need this too
0 votes
by
any advice? thanks
+2 votes
by
edited by
You can comment out the other two pages as follows:

qa-include/pages/updates.php
line 88
    $qa_content['navigation']['sub']=array(
        //'all' => array(
            //'label' => qa_lang_html('misc/nav_all_my_updates'),
            //'url' => qa_path_html('updates'),
            //'selected' => $forfavorites && $forcontent,
        //),    
    
        'favorites' => array(
            'label' => qa_lang_html('misc/nav_my_favorites'),
            'url' => qa_path_html('updates', array('show' => 'favorites')),
            'selected' => $forfavorites && !$forcontent,
        ),
    
        //'myposts' => array(
            //'label' => qa_lang_html('misc/nav_my_content'),
            //'url' => qa_path_html('updates', array('show' => 'content')),
            //'selected' => $forcontent && !$forfavorites,
        //),
    );
by
thanks for answer but I want to show only favorited user's questions , not favorited questions  or questions which are my favorited user's answered !
0 votes
by

I think we need to change someting in qa-include/db/selects.php 

function qa_db_user_updates_selectspec($userid, $forfavorites=true, $forcontent=true)
{

.

.

.

}
...