Hi, just for info, the schedule of posts and comments is far-fetched, I do not know if you’ve seen it.

Hi Rahul,

 

1.When i vote up to any Question/Answer after that ideally “vote up buttton” should be disable, but instead of that “vote down button” disappearing.

2. I want to increase views count only once from every IP, how i can achieve that?

3. how i can assign question to all parent category of selected category?

4. how i can overwrite theme/plugins files.

 

Actually I did as you mention in any other answer, but it’s not working

I copied files from

wp-content/themes/askbug/includes/hooks.php

to

wp-content/themes/askbug-child/includes/hooks.php

but nothing happening.

 

Please guide me which files and how i can overwrite? also need solution for the plugin files.

I found the support topic which will allow for a PDF to be uploaded when a question is submitted, but is is possible to allow a user to add/upload a PDF in a comment? Thanks.

Hi,

I am using latest version.

I have set an image to category without setting an icon class and a color.

But it automatically takes an icon.

Please advice how to overcome this.

Hi,

I learnt from following FAQ about how to create and implement custom forms –

https://anspress.io/resources/faq/anspress-form-and-validation-api/

 

I tested the demo form provided in the tutorial and it’s working as expected. However the form retains the fields values after the form is submitted. I am unable to figure out how to reset form fields values?

 

  1. Is there any way to reset the all fields values at once?
  2. What if I just want to reset any particular field value (for e.g. if I only want to reset Editor field in sample form of above FAQ). [I am particularly interested in this one.]

Edit 1-

As I have posted gist for inserting question programmatically –

https://gist.github.com/atultiwari/4bc9fd36c5fb2a18081762189fd6a347

 

In that only for testing purpose, I posted a sample custom form with the help of FAQ, I am still unable to figure out how to reset fields entries after submission. Please look into this?

Edit 2 –

I did try the answer posted by Rahul, but unfortunately it didn’t unset. Maybe I didn’t understand some part properly.

@rahul, can you please little bit elaborate. For e.g., my customized form name is – “at_question_form” (with two fields named “post_title” and “post_content”), so I used following code –

 

unset( anspress()->forms[’at_question_form’] );

 

Since it didn’t unset out of the box, I thought of all possible places where I could have used this code –

  1. In the end of function “at_custom_question_form_in_ap”
  2. In the end of function “at_submit_question_form”
  3. And soon after generating this form

But, neither of them could unset the form.

So please help me out with this.

Also is there anything like (unset only specific field)-

unset( anspress()->forms[’at_question_form’][’post_content’] );

 

Thanks.

Regards

I use Grammarly, and there are millions of people that do the same. It is a browser extension that will underline spelling and grammar mistakes, then you hover your mouse over the mistake, a little box appears above with the suggested correction, when you click on a correction it makes the modal and everything you just wrote, disappear.

There needs to be a way to not have the modal disappear like that so easily.

when inside a question, the menu display of my site is superimposed on all other pages. what can I do?

Rahul – is there any facility to enable users to edit their profile on anspress.io ? For example, there are a number of things I would like to change, but cannot see anywhere this is enabled.

Thanks