Martin Pagac
asked 10 years ago

Hi guys, I really like this plugin, however I miss couple of things to make it work properly. Is there a way to allow unregistered users to see the submit question form like it is on this website?
If NOT, is it possible to disable login on “Ask Question” page and provide only standard login link? 
I use modal login and I disabled login option under question for unregistered users (img 1) however I do not know how to disable it directly on “Ask Question” page… (img 2)
[caption id="" align="aligncenter" width="590"]img 1 img 1[/caption]
 
[caption id="" align="aligncenter" width="590"]img 2 img 2[/caption]

Dom Amor
replied 10 years ago

I’ve modified I think template-function.php with

I replaced Q&A login with the above code after the if statement. It’s been a while but I think that’s what I did if that helps.

3 Answers
DominicStaff
answered 10 years ago

– To disable login on “Ask Question” page and provide only standard login link, You can log in to Dashboard > DW Q&A plugin > Settings > Permission for Question
See the screenshot:
Next, Add the following code to the style.css file.

 #archive-question > form {
    display: none;
}

Our DW Q&A does not yet support to post questions without user registration. We will consider this feature and update in other versions of the plugin.

Martin Pagac
replied 10 years ago

Thank you. Unfortunatelly this affects only the main page with the list of all qestions, not the one with “Add Question” form….
Is there a way how to disable it on that page as well?

Dom Amor
answered 10 years ago

In what file are you saying to place ?

<style>
#archive-question > form {
    display: none;
}
</style>
DominicStaff
answered 10 years ago

@Dom Amor !
Please log in to Dashboard > Appearance > Editor > style.css file, add the following code:

 #archive-question > form {
    display: none;
}

Hope this helps !

harsh deshmukh
replied 10 years ago

Really helpful..:)

Powered by DW Question & Answer Pro