Images do not upload

Hello Kambur,   AnsPress 4.1.4 can not add any image with a filename that contains a whitespace.   Workaround: On /anspress-question-answer/assets/js/tinymce-plugin.js, replace:   [S+]   with:   .   On /anspress-question-answer/includes/hooks.php, replace:   $plugin_array[ ‘anspress’ ] = ANSPRESS_URL . ‘assets/js/min/tinymce-plugin.min.js’;   with:   $plugin_array[ ‘anspress’ ] = ANSPRESS_URL . ‘assets/js/tinymce-plugin.js’;   Hopefully this addresses your problem. Please let me know if you have any question.   Thanks,   Adrian

Some translations don’t seem to work

SOLVED: Well – sort of. I ended up installing the Code Snippets plugin, and adding this as a snippet, which works function my_ap_activity_actions( $actions ) { $actions[’new_a’][’verb’] = ‘Responded to discussion’; $actions[’edit_a’][’verb’] = ‘Edited response’; return $actions; } add_filter( ‘ap_activity_actions’, ‘my_ap_activity_actions’ ); My question here is why does this not work within the child theme functions.php file ? Or within the themes/anspress directory ?

Some translations don’t seem to work

Ok. This is still an issue. Changing class-activity-helper.php (see below) works ‘edit_a’ => array( ‘ref_type’ => ‘answer’, ‘verb’ => __( ‘Edited response‘, ‘anspress-question-answer’ ), ‘icon’ => ‘apicon-answer’, ), But this function does not work at all function my_ap_activity_actions( $actions ) { $actions[’edit_a’][’verb’] = ‘Edited response‘; return $actions; } add_filter( ‘ap_activity_actions’, ‘my_ap_activity_actions’ ); Any ideas please ?

Some translations don’t seem to work

Here it is: https://gist.github.com/rahularyan/376fb0f31adb81d783dfb82a9ce3829c

Using divi builder to edit single question page

Thanks for getting back to me. Please link me to your FAQ, as I cannot find it. I am a little unclear in understanding your reply. I know that anspress is rendered using a shortcode – this is how I have implemented your plugin – I create a page in wordpress, style it with Divi builder then drop in the shortcode. It’s only the single question page that I have not managed to do this on. Is there a way of selecting a separate page to use for the single question page?

Some translations don’t seem to work

I’m missing something here. Even this doesn’t seem to work add_filter( ‘ap_activity_actions’, ‘new_ap_activity_actions’); function new_ap_activity_actions($args) { $args[’new_q’][’ref_type’][’verb’] = “Testing”; return $args; }

Some translations don’t seem to work

@rahul – can you provide a sample please ? Thanks

Some translations don’t seem to work

Thanks Rahul, I want to avoid overriding core files, which is why I’m asking. Can you please provide an example of the hook ? Regards

Some translations don’t seem to work

Hello, Please avoid overriding core files. Instead use hooks for your needs. I think you are trying to modify activity verb then you can use filter ap_activity_actions

SURVEY : insert a picture

Its not possible.