Hi,

Everything needed is accessible in front-end (profile, post question, post answer, modify these…). By the way this website is not sending me to the admin panel after connexion nor to ask this question.

So I wonder why mine is doing it and if I have done anything wrong in the settings.

Many thanks in advancefor your help (eventually by mp?)

Sincerely,

Thierry

Hi,

I am working on WordPress 4.7 with AP 3.0.7

I was really happy customizing AP and my website until I tried the workflow with a subscriber profile (role by default in my wp)… and I got this notice msg in the admin (under each menu item):

Notice: Undefined offset: 2 in … wp-admin/includes/plugin.php on line 1550 

(Please note that this this msg didnt show up when I was logged in as an administrator.)

Consequently, I desactivated and I reactivated all plugins and got back to twentyfourteen as theme. I reactivated one by one and then Askbug… The notice seems to come from Anspress core plugin, and is activated until the author role (not for Editor, nor for Admin).

I hope this will be settled with the new update.

I see two ways two solve it on my side: Change role by default (contributor>editor) or prevent the contributors to get in admin panel… but I will look for an answer and eventually post a new question for this.

Cheers, and thanks again for your great work!!!

Sincerely,

 

Thierry

can I also add normal post entries with comments or only questions and answers in your Askbug theme? Is the theme that you are using here Askbug?

I would like to ask if the version 4.0 will have the capability to mark the whole category as private (only accessible by certain user type) instead of marking individual question as private?

Is there any way to extend the Ask a Question form to allow the user to attached files to the question, not just images as they can do already, but any file, or any file of a specified range and size.

Hello, is it possible to disable the WYSIWYG Editor? I have seen that the editor is hardcoded in the markup. I need to convert this field to a standard textarea.

Thanks in advance

Hello, is it possible to view all Questions with the Answers on one page with pagination?

I tried to setup my own template overrides for Anspress, but the following code shows all the quesions but as well every answer under the questions. But I want to view only the answer for the coresponding question.

Thanks in advance!

 

content-list.php

<?php

/**
 * Question list item template
 *
 *<a class="ap-mention-link" href="https://anspress.io/user/link">@link</a>  https://anspress.io
 *<a class="ap-mention-link" href="https://anspress.io/user/since">@since</a>  0.1
 *<a class="ap-mention-link" href="https://anspress.io/user/license">@license</a>  GPL 2+
 *<a class="ap-mention-link" href="https://anspress.io/user/package">@package</a>  AnsPress
 */

if ( ! ap_user_can_view_post(get_the_ID() ) ) {
	return;
}

global $post;
$clearfix_class = array( 'ap-questions-item clearfix' );
$have_permission = ap_user_can_read_answer( $post );

?>

<!-- Frage -->
<div id="question-<?php ap_question_the_ID(); ?>" <?php post_class($clearfix_class ); ?>>
    <div class="ap-questions-inner">
        <div class="ap-questions-summery no-overflow">
			<p class="post-meta">
				<?php the_author(); ?>, <?php ap_question_the_time(); ?>
			</p>
			<h2 class="entry-title"><?php the_title(); ?></h2>
			<?php the_content(); ?>
        </div>
    </div>
</div>
<!-- /Frage -->

<!-- Antwort -->
<?php ap_question_the_answers(); ?>
<!-- /Antwort -->

 

anwers.php

<?php

/**
 * Answers content
 *
 * Control the output of answers
 *
 *<a class="ap-mention-link" href="https://anspress.io/user/link">@link</a>  https://anspress.io/anspress
 *<a class="ap-mention-link" href="https://anspress.io/user/since">@since</a>  2.0.1
 *
 *<a class="ap-mention-link" href="https://anspress.io/user/package">@package</a>  AnsPress
 */
?>
<?php if(ap_have_answers()): ?>
	<div id="ap-answers-c">
		<?php if(ap_user_can_see_answers()): ?>
			<div id="answers">
				<?php
					$i = 1;
					while ( ap_have_answers() ) : ap_the_answer();
						include(ap_get_theme_location('answer.php'));
						$i++;
					endwhile ;
				?>
			</div>
		<?php else: ?>
			<div class="ap-login-to-see-ans">
				<?php
					printf(__('Please %s or %s to view answers and comments', 'anspress-question-answer'), '<a class="ap-open-modal ap-btn" title="Click here to login if you already have an account on this site." href="#ap_login_modal">Login</a>', '<a class="ap-open-modal ap-btn" title="Click here to signup if you do not have an account on this site." href="#ap_signup_modal">Sign Up</a>');
				?>
			</div>
			<?php do_action('ap_after_answer_form'); ?>
		<?php endif; ?>
	</div>
<?php endif; ?>

 

answer.php

<?php
/**
 * Answer content
 *
 *<a class="ap-mention-link" href="https://anspress.io/user/author">@author</a>  Rahul Aryan <[email protected]>
 *<a class="ap-mention-link" href="https://anspress.io/user/link">@link</a>  https://anspress.io/anspress
 *<a class="ap-mention-link" href="https://anspress.io/user/since">@since</a>  0.1
 *
 *<a class="ap-mention-link" href="https://anspress.io/user/package">@package</a>  AnsPress
 */
global $post;
$have_permission = ap_user_can_read_answer( $post );
?>
<div id="answer_<?php the_ID(); ?>" <?php post_class() ?> data-id="<?php the_ID(); ?>">
    <div class="ap-q-inner">
        <div class="ap-answer-content ap-q-content" itemprop="text">
            <p class="post-meta">
                <?php the_author(); ?>, <?php ap_answer_the_time(); ?>
            </p>
            <h2 class="entry-title">Meine Antwort:</h2>
			<?php the_content(); ?>
        </div>
    </div>
</div>

Hi I keep getting this message “website resources limit exceeded” when i try to view user profiles or the page for a user profile just keeps loading without viewing the profile and once it starts loading it doesnt allow me to go back or go to other pages.

What might be the issue because my cpanel also shows that the website has used 100% of the CPU.

 

here is my website: http://askmzansi.co.za/

HI i hope you are as well.

Thank You Very Much For Your Great Plugin . IM Very Appreciate you Guys For That

1- Is This Possible for you to make the tapatalk plugin for anspress ?

BBpress has plugin for that. i hope you can make it too.

because the default integrated anspress theme is useless its very simple and anspress is pretty and beautifull just in the dedicated thems (answerbox and ansbug) and i think its time to release the first tapatalk plugin for that.

 

2-WHEN WE CAN SEE THE ANSWERBOX THEME ?

WHEN YOU WANT TO RELEASE IT?

GUYS I HAD SEARCHED A LOT AND I SEE YOU JUST SAID FOR NEXT TIME AND NEXT TIME AND NEXT TIME NOT COMING ! 😀 AND YOU HANT RELEASED IT.

PLEASE DO IT IF POSSIBLE.

THANK YOU VERY MUCH.

Hello,
My site uses https. When I am asking question from user “subscriber”, after clicking “Send question” I redirected to http and have many problems with displaying icons FontAwesome in the tab of AnsPress and at the site in general. How can I solve this?