Hello,
I use Anspress on my website, but notifications don’t work properly. This is the case:
When new users create an account the notifications shows the following:
When I click on the notifications:
When I check the reputation of a new user there are 5 point added (just like it supposed to be).
With everything else (answer create/answere questions, etc.) the notifications work properly.
How can I fix this?
I would like to integrate AnsPress with BuddyPress groups and wondering if there’s a way to achieve this. I would like each group to have its own AnsPress category as a tab. The user goes to the group and clicks on the tab to view questions and answers. Then they list of questions. From there they can click on each question to view it.
I know I can create a custom tab in a group and using shortcode add a category into that tab. But the problem I think will happen is that when a user goes to that tab and clicks a question it will load the question on its own instead of loading the group page with the question now displaying in the custom tab. Basically, the user should at all times stay in the group instead of leaving it to view the question.
Is this even possible with custom development and if so any feedback on how to get this achieved would be appreciated.
Do you have any plans to add a private groups feature?
I’m trying to set a profile picture to one of my accounts and this is not persistent, it’s changes even if its showing the “successfully uploaded avatar” message, and when I refresh the page is vanishing, I’ve searched into wp-content/uploads/ap_avatars and the picture is there but not showing in front.
For the profile-cover-image it works perfect.
I’m NOT using buddy-press.
What can i do ?
Good morning,
I’d like to ask how to configure OneSignal and Anspress in order to have push notifications. The update said it works automatically, on my site it doesn’t. A previous post said the documentation was in progress, but it has been more than a year. Please, could someone help me? Thank you!
Good day, Mr. Aryan
Your direction, please, for correcting the following error message:
Warning: imagejpeg(/home/redactedname/public_html/redactedwebsitename.com/wp-content/uploads/ap_avatars/8e296a067a37563370ded05f5a3bf3ec.jpg): failed to open stream: No such file or directory in /home/customer/www/redactedwebsitename.com/public_html/wp-content/plugins/anspress-question-answer/addons/avatar/class-generator.php on line 229
To avoid any misunderstanding, let me report the obvious. For this example, I have redacted the name of the site.
This warning repeats when I have the plugin activated for the site.
You will undoubtedly need more information before you can offer a solution. What else would you like to know?
Erik
What I need: Some way to check whether a vote has been added to a post by a particular user before so they won’t be awarded again with points if that vote is removed and added again.
If anyone with a bit of technical knowledge or even better Rahul could give me some input here that would be amazing. I have managed to write code to reward a user with myCred points if they get their post upvoted by using ap_vote_up hook (See code below)
//Registers a myCred custom hook add_filter( 'mycred_setup_hooks', 'register_my_custom_hook' ); function register_my_custom_hook( $installed ) { $installed['upvoted_anspress_comment'] = array( 'title' => __( 'Upvoted Anspress Comment', 'textdomain' ), 'description' => __( 'Every time a user has a comment upvoted in the Anspress-powered discussion forum.', 'textdomain' ), 'callback' => array( 'anspress_upvote_class' ) ); } //Anspress Comment Upvote Class class anspress_upvote_class extends myCRED_Hook{ function __construct( $hook_prefs, $type ) { parent::__construct( array( 'id' => 'upvoted_anspress_comment', 'defaults' => array( 'creds' => 5 , 'log' => '%plural% for getting an upvote on your comment' ) ), $hook_prefs, $type ); } //Giving Points public function run(){ add_action('ap_vote_up', array($this, 'points_for_anspress_upvotes'), 10, 2); } public function points_for_anspress_upvotes($post_id, $counts){ $user_id = get_the_author_meta('ID', get_post($post_id)->post_author); $this->core->add_creds( 'upvoted_anspress_comment', $user_id, $this->prefs['creds'], $this->prefs['log'], 0, '', $m ); } }
. However I am currently trying to deal with an issue where if the person who awards the upvote removes their vote and votes again, points would be awarded twice. To combat this, I used the ap_undo_vote_up hook to remove the same number of points whenever a vote is removed. The only issue is if I do this, the total lifetime earned points still registers duplicate points (i.e. user rewarded for being upvoted both times).
What I need: Some way to check whether a vote has been added to a post by a particular user before so they won’t be awarded again with points if that vote is removed and added again.
Hello,
I’m trying Anspress plug-in for my website but I encounter difficulties with question page.
After creating a new question, if I want to consult it on my website the page do not exist. www.mywebsite.com/question/questionname –> 404 not found.
Thanks for your help,
Sorry for my bad english and wp lvl
Pls How can I remove the Register or Login Links at the footer, see attached
Hi
I’m using anspress questions and answers (http://expertsacademyeg.com/questions/)
and I want to change the font.
my knowledge of WordPress is poor, i’m not experienced.
so please tell me step by step how to change the font properties like font name, & size.