Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: compatibility wit WPML #43502
    matom
    Participant

    Any news about the WPML compatibility?

    in reply to: How to edit composer templates #31314
    matom
    Participant

    Any news about this? For start there could be a define option in wp-config or in the theme with the default location of the tnp-composer folder

    Something like
    define('TNP_COMPOSER_DIR','/wp-content/uploads/custom-tnp-composer/');

    Where we could keep and maintain our own copy of tnp-composer.
    Of course if there is no define option it should default to /wp-content/plugins/newsletter/emails/tnp-composer


    @Stefano
    what do you think?

    in reply to: open redirect #17300
    matom
    Participant

    I suppose it is fixed, the date is from 30TH MARCH 2015 about version Newsletter 3.6.9 but a official answer would help more on this.

    EDIT: Actually I just saw this https://www.thenewsletterplugin.com/version-3-8-6-redirect-issue-fixed

    • This reply was modified 7 years, 7 months ago by matom. Reason: link
    in reply to: Import contacts with profile fields #14929
    matom
    Participant

    I wrote a simple hack to import profile_x fields as well

    Go to wp-content\plugins\newsletter\users\import.php

    Find

    if (isset($data[3])) {
                    $subscriber['sex'] = $newsletter->normalize_sex($data[3]);
                }

    and add below of that the following

    
    if (isset($data[4])) {
                    $subscriber['profile_1'] = $newsletter->normalize_name($data[4]);
                }
    			if (isset($data[5])) {
                    $subscriber['profile_2'] = $newsletter->normalize_name($data[5]);
                }
    

    and then at line 101 right after

    
    $subscriber['surname'] = $newsletter->normalize_name($data[2]);
    

    add again the same code.

    This way you can import the first two profile extra fields like this

     email 1[separator]first name 1[separator]last name 1[separator]gender 1[separator]profile_1[separator]profile_2[new line]
    

    EDIT:replace above where & # 039 ; to ‘

    Maybe the developer can provide a better solution and include it in future releases

    • This reply was modified 8 years, 2 months ago by matom.
    • This reply was modified 8 years, 2 months ago by matom. Reason: replace above where ' to '
    • This reply was modified 8 years, 2 months ago by matom.
    in reply to: Import contacts with profile fields #14928
    matom
    Participant

    Hello guys, have you found any way to import profile fields as well? I have the premium extensions

Viewing 5 posts - 1 through 5 (of 5 total)