Hi,

I can’t write private answers and think it’s a bug.

I’ve had a look at the ap_save_answer  function and saw that ‘private_post’ is correctly set as value of the $status variable. Which is later used as default value for ‘post_status’ in wp_parse_args

if ( isset( $args['is_private'] ) && $args['is_private'] ) {
   $status = 'private_post';
}

$args = wp_parse_args( $args, array(
  'post_title' 		=> $question->post_title,
  'post_author' 	=> get_current_user_id(),
  'post_status' 	=> $status,
  'post_name' 		=> '',
  'comment_status' 	=> 'open',
  'attach_uploads' 	=> false,
) );

But it will never have a chance to get applied to the $args array because the ‘post_status’ is already set.

As I could see, ap_save_answer  is used only in process-form.php in both methods process_answer_form  and edit_answer. Both define ‘post_status’ before calling ap_save_answer 

 

$answer_array['post_status'] = ap_new_edit_post_status( $user_id, 'answer', false );

 

cheers,

Patrick

While Anspress works extremely well with my theme (100% responsive theme and Anspress), the font sizes and type is completely different.

How easy or hard is to make Anspress to use the default fonts and sizes ?

Thanks

Running Anspress latest from Github.

It seems that there is a problem with comments. Posted comments don’t show when posted or just enter to Pending queue and also don’t show ANYWHERE. So i can’t view them or can’t delete them.

But show (number) as Pending. But Pending page is empty. This could be related with some FALSE message i see in comment box.

What now ? I have a queue with 40+ pending comments that i can’t see or change.

Thanks

I WANT TO CHANGE THE FONT SIZE IS IT POSSIBLE?

My custom homepage still gets inserted in the ‘Write your answer’ form when I try to answer a question as a logged-in user – see my previous question.

I guess Anspress checks if the user is logged in before allowing to answer a question and that somehow that check fails even though the user is definitely logged in.

And then something in my theme redirects to the homepage with the login/registration form – although instead of redirecting, Ajax inserts it into Anspress’ answer form.

How does Anspress authenticate users? Is there a way to remove authentication? For troubleshooting or maybe I could just rely on authentication in my theme.

I have a multisite installation with a custom registration process. Does Anspress even work with that kind of set-up?

 here screen shot

how can I disable duplicate check from admin I can’t find the disable option?

also I think that the plugin consider that empty text area description is aduplicate question!!!!

Hello, sorry for bother you. I Want to get numbers of Up votes and Down votes in question page.
<?php echo ap_net_vote() ?> work

but i just want to show exact numbers of  Up votes and Down votes so people could know clearly.

I’ve tried ap_down_vote() and ap_up_vote() but it return nothing.

Can you please help me?