Heya, I found a conflict using a combination of WooThemes’s Sensei plugin & Anspress.

Since Sensei supports quizes and questions, I think they use the same for their question custom post type as Anspress does.

This makes Anspress questions show up as questions in the Sensei question bank:

https://www.evernote.com/l/AGL9XxAekUpPj7JQ7ROjyXkBM8bB2K4pxE8

Would be great to have this resolved, since this would get really messy real quick when there are lots of questions coming in :p

Cheers,
Nick

Hi,

On mobile/responsive view, the list of questions shows only the number the views each question has had, but I think it would be great if it would show the number of answers as well.I just want the number of answers to show up beside the number of views, in the same line, and with the same styling. Please view the image below.

I am using the Anspress plugin with a child theme theme on the Genesis framework.

Can someone give me a piece of code which I can add to my functions.php file on my child theme?

Thanks!

Not sure you are in Slack, I’ll report it here. After updating from 2.4.4 to 2.4.5 latest, my transfer script is throwing errors. I traced it down to a new method:

$ap->add_action( 'transition_post_status',  $this, 'change_activity_status', 10, 3 );


	/**
	 * Update status of activities if parent status get updated.
	 * @param  string $new_status New status of post.
	 * @param  string $old_status Previous status of post.
	 * @param  object $post       Post object.
	 */
	public function change_activity_status( $new_status, $old_status, $post ) {
		if ( 'question' == $post->post_type ) {
			ap_update_activities( array( 'question_id' => $post->ID, 'parent_type' => 'post' ) , array( 'status' => $new_status ) );
		} elseif ( 'answer' == $post->post_type ) {
			ap_update_activities( array( 'answer_id' => $post->ID, 'parent_type' => 'post' ) , array( 'status' => $new_status ) );
		}
	}

Happens when adding answers. Error is

<p class="wpdberror"><strong>Ошибка базы данных WordPress:</strong> [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]<br /><code>UPDATE `wp_ap_activity` SET `status` = 'publish' WHERE </code></p></div>

Looks like “where” is not set.

Hello good day, somebody know how install now anspress, some time ago i had installed but now i don’t know how install, i create the base_page.php, ask.php and answer.php and Adjust the pages in the configuration of anspress and the base_page.php i write [anspress] but not appear nothig. thanks

Hello friends,

We are not getting enough time to improve our reputation system and its not working properly in some points. So, instead of re-inventing the wheel we have decided to integrate MyCRED plugin with AnsPress for better pointing system. As it is widely used and open source.

Also, we will integrate AnsPress with OpenBadge plugin for user achievements.

This will save our time, so that we can focus on our core codes. Feel free to let us know if you know any better alternatives for this two plugins (must be open source).

Thanks.