nrsoft
Forum Replies Created
-
Forum: Plugins
In reply to: [Smart Custom 404 Error Page] Error page trashed@petersplugins I have the same problem and I have WPML on the websites where the problem occured if it can help.
Hello @aamahin
No problem for the suggestion.
In case anyone faces the same issue in the meantime I have solved the override this way in my child theme functions.php
function mep_cat_modify_taxonomy() { // get the arguments of the already-registered taxonomy $mep_cat_category_args = get_taxonomy('mep_cat'); // update slug $mep_cat_category_args->rewrite['slug'] = _x( 'your-new-slug', 'slug', 'your-domain' ); // re-register the taxonomy register_taxonomy('mep_cat', 'mep_events', (array)$mep_cat_category_args); } // hook it up to 11 so that it overrides the original register_taxonomy function add_action('init', 'mep_cat_modify_taxonomy', 11);
Thanks
Nicolas- This reply was modified 4 years, 7 months ago by nrsoft.
OK forget my message I didn’t see there was a
single_template
filter below so I have managed to achieve what I wanted a bit more easily…Thanks @glenwpcoder for getting back to me.
As mentioned in my first comment, the plugin is working fine on the development server and it is also sending attachments using the classic [file] tag on the production server so not really sure what the issue is.
There is no error in the console as the email is correctly sent out (but without any attachment).
I have also checked the form params and the attachment is processed—————————–288098228825023495842957079539
Content-Disposition: form-data; name=”upload-file[]”wp_dndcf7_uploads/my-file.jpg
It is also correcly saved in the uploads folder … just not attached to the email for some reason.
I have switched back to the classic file upload for now but will keep digging this when I get the time.
Thanks
- This reply was modified 4 years, 9 months ago by nrsoft.
FYI, I have just tested with the simple [file] tag from CF7 and attachments are coming through in the mail.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Full Payment or Split Payments@pmagony you should have a look at Paid membership pro add-on https://thimpress.com/product/paid-memberships-pro-add-learnpress/
@renschl if it can help I have now moved to this plugin which is working a lot better and has a Divi integration
https://codemiq.com/en/plugins/wp-html-mail-email-templates/Hi @gonzalesc
Thanks for your answer. Would it help if I give you a temporary admin access to one of the development website I have the issue on?
Regards
Hi
The problem is the
$message
does not call the translation function so this would not work unless I am mistaken.
I found an alternative way by calling thedae_email_message
filter but this is not very clean and I have now the same issue with the email subject which is currently not possible to translate.
Do you think you could update the following 2 lines (484 and 485) in shortcodes.php to the following code to make the subject and message translatable?$subject = __($messages['email_subject'], 'dae'); $message = __(nl2br( wp_kses_post( $messages['email_content'] ) ), 'dae');
Thanks
NicolasOK I think I know why … I don’t have any HTML element with the ‘popmake-{slug }’ class since I am triggering the popup opening after a JS event is fired.
If you have any way to solve this issue I would appreciate, I will keep digging in the code in the meantime.
Thanks
Thanks for your answer. I can confirm that with version 1.9 everything is working fine.
EDIT : quick question though is there any way to customize the English default message?
- This reply was modified 5 years, 4 months ago by nrsoft.
Hi,
Thanks for your answer but I am a bit confused. If I leave the email message empty as you say the email I receive is blank and I don’t see how to translate it in WPML.
Could you please clarify what is the procedure to follow to translate this email message?
Thanks
Nicolas