Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
785 views
in Plugins by
Hi,

I would like to make the custom ask box visible for everyone, not just visitors, can anyone help me with that?
Q2A version: 1.7.0
by
Does this question mean your previous question has been solved? http://www.question2answer.org/qa/45721

1 Answer

+2 votes
by

Hack example of ask box plugin in core:

qa-include/plugins/qa-widget-ask-box.php (around L39)

Before:

public function output_widget($region, $place, $themeobject, $template, $request, $qa_content)
{

After (Add 2-lines):

public function output_widget($region, $place, $themeobject, $template, $request, $qa_content)
{
    if(qa_user_permit_error(QA_PERMIT_USERS))
        return;

 

 

...