Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Featured Question Lists

+3 votes
439 views
asked Nov 14, 2016 in Plugins by arjunsuresh
edited Nov 16, 2016 by arjunsuresh

The Featured Plugin by Noah allows to make questions featured and let them come on top of question lists. This plugin adds a "Featured" tab for question lists and shows all the featured questions. Any question can be featured/unfeatured by clicking on a button. Also, featured questions can be listed "category-wise".

Screenshots attached..

Download:

https://github.com/arjunsuresh/q2a-feature

Q2A version: 1.7
commented Nov 15, 2016 by Jonatan
It's a good idea for a plugin.
Is it possible to set an order for the featured questions?
(Define which question will appear first in the list.)
commented Nov 16, 2016 by arjunsuresh
@Gurjyot Yes, Sorry I had forgotten to add the link. Added now.
@Jonathan Currently the featured questions follow the created date order.

1 Answer

+1 vote
answered Apr 26, 2017 by Piotr Baranowski
edited Apr 26, 2017 by Piotr Baranowski
Hello @arjunsuresh,
How to fix this problem?

PHP Fatal error:  Call to undefined function qa_db_postmeta_set() in qa-include/qa-base.php(614) : eval()'d code on line 107 .

Line 107 is about qa_db_postmeta_set() function :/

LAYER file from plugin contains:

                        $q_view['form']['buttons'][] = array("tags" => "name='feature-button' value='$postid' title='".qa_lang_html('featured_lang/feature_pop')."'", "label" => qa_lang_html('featured_lang/feature'));

and then my button name is id from post, not "feature" like in language file. Maybe this will help You to fix this:)

Heeelp please ;)
commented Apr 28, 2017 by Piotr Baranowski
can You explain Your question please? You ask me about what's in code (source) after ?
commented Apr 28, 2017 by arjunsuresh
Yes, or can you give me the link to the page- but "Feature" button might not be visible to public right? If you have the new Q2A site which you tried on that is better.
...