Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
976 views
in Q2A Core by
hi, i want to hide the "Recent Activity", "All questions" and "All answers" option into the user profile.

Is it possible?

*** i'm using Donut theme
Q2A version: 1.7.4

1 Answer

0 votes
by

There isn't any good way to do it, unless you use core hacks.

That menu is defined in qa_user_sub_navigation in app/format.php (around line 1283). You could remove the appropriate sections there ('activity', 'questions', 'answers'), which will remove the links from the menu.

To remove the pages entirely you could remove the sections at the bottom of pages/user.php in the switch statement.

...