Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
in Plugins by
edited by

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..



Q2A version: 1.7
This is a nice idea, it can also be used for a lot of more purposes if website owners think about it properly. :)
Finally, will this feature link be on the main menu or on just sub-menu of Questions page?
yes, a lot more options. On my site I'm adding it for Corrected Questions/Ambiguous Questions etc. Also, for other filters. But these are not generic to all Q2A users. Can be used for even blog purpose with slight modification..

This links to only the subnav in Question Pages. But you can add a navlink to the corresponding URL in the navbar.
So is this plugin ready to be downloaded and used...?
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.)
@Gurjyot Yes, Sorry I had forgotten to add the link. Added now.
@Jonathan Currently the featured questions follow the created date order.

2 Answers

+1 vote
edited by
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 ;)
Yes, non english - but I know how to change this from language file ;) The problem is, that I have "number", not "feature" text on button ;)
Maybe something from source will help You to fix this issue:

<input name="feature-button" value="252697" type="submit" class="qa-form-light-button qa-form-light-button-0" original-title="Feature this question">

SO VALUE is showing as "name" of button .

My script has MANY core hacks and installed plugins, but i installed on standard q2a 1.7.4 too, and I have same problem :/
yes, the value of the button is the question id and it must be number. Actually "Feature" should come exactly after the close of the <input> tag you have shown. What exactly follows that?
can You explain Your question please? You ask me about what's in code (source) after ?
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.
0 votes

There is a new issue with version 1.8.0 of q2a:

I receive the following warning on

Notice: Undefined index row qa-include/qa-theme-base.php on line 1386

In addition to the fact it does not work in version 1.8.0 of q2a

My installed version of your plugin is Feature Questions v1.1 by Arjun Suresh (latest)