Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
957 views
in Q2A Core by
I want to have like in stackoverflow to let the user find quickly the posts he could be interessed in.
Q2A version: 1.5
by
How would you define "posts they are interested in"? Do you mean just highlighting favourite questions, or another system where the user has specified their favourite tags?
by
Define by Tags, for exemple:
I am interessed in apache stuffs so I've choose the apache tag as a tag I like.
Then when I go on the question page I would like to see all the post tagged as apache with a different background color.

2 Answers

+1 vote
by
edited by
 
Best answer
https://github.com/roine/roine-q2a-obvious-favorite

 

I have create a plugin, which also allow to choose a custom color.
by
edited by
New features:
- widget to display the favorite tags
- option to change the max favorite tags display in the widget
- available for categories
+1 vote
by

No plugin for that currently exists so you'd need to make it yourself. Here's a short summary of the parts you would need:

  • A new database table for storing user's favourite tags.
  • A page plugin to add a tag to the user's favourite, that would get called when the user presses a button on the tag page. (Doesn't need to actually display anything, you can just redirect back to the previous page).
  • A layer override to add said button to each tag page.
  • A layer override that adds a class to the user's favourite questions in the question list.
by
I'm on it, there is already a table with the favorites
...