Home Forums Newsletter Plugin Support Filter by profile when sending

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #9209
    NormDuffy
    Participant

    Thanks for a great plugin.

    When sending a newsletter, the preferences are easy but I need to filter by profile.

    At the moment it appears I can filter by gender.

    I have in the profile the Country, the State and the AgeGroup

    I need to be able to send a newsletter to all Male subscribers that reside in the State of NSW in Australia and fall into the 20-35 age range.

    Is there a way that I can filter on additional profile fields?

    #9213
    NormDuffy
    Participant

    As an alternative to filtering by the additional profile fields, is it possible to use a list in the preferences rather than just a tick box.

    #9218
    Stefano
    Keymaster

    About profiles, actually it’s not possible to filter by profile. About the preference, are meaning a list while subscribing? It’s possible but the form must be hand coded and it won’t be updated when you change the a preferece (or add a new one).

    #9235
    NormDuffy
    Participant

    Thanks for the reply.

    I think these limitations can be overcome by adding extra fields for the profile, however when I add this line to the config and force an update it does not add the fields to the database or add them to the preferences tab.

    Can you point to anything that may help?

    define(‘NEWSLETTER_LIST_MAX’, 30);

    #9263
    Stefano
    Keymaster

    Newsletter_list_max is a constant to control the number of preferences.

    #9266
    NormDuffy
    Participant

    Hi Stefano

    I realize what it is meant to do, however when I add the line

    define(‘NEWSLETTER_LIST_MAX’, 30);

    to wp-config.php it does not appear to work.

    I would expect to see additional fields added to the table and also these additional fields added to the preferences tab. But no fields are added even though I have forced an update.

    #9268
    Stefano
    Keymaster

    Ah! Ok, so this seems a bug, I’ll check the code!

    #9269
    Stefano
    Keymaster

    Hi, I just followed those steps_
    – added define(‘NEWSLETTER_LIST_MAX’, 22) on mys wp.config
    – entered the diagnostica panel and forced an upgrade
    – on database i find two new list fields in the table (at the end of the table columns)
    – on form configuration panel there are 22 fields.

    At least, adding the new constant, the form configuration panel MUST have the number of fields you specified, since there is a for cycle that print out them.

    A note: you are using the free version 3.3.x, right?

    #9280
    NormDuffy
    Participant

    Ok found my error.
    One of those silly little things that we all do at some time.
    I left the ; off the end of the line.
    Works fine as it should now.
    Thanks

    #9471
    John Ferguson
    Participant

    I am having trouble adding more Preferences. I add the correct line:

    define(‘NEWSLETTER_LIST_MAX’, 30);

    I force upgrade.

    but it does not work. It gives me no change.

    What am I doing wrong?

    #9472
    John Ferguson
    Participant

    I am using Version 3.4.0, FYI.

    #9479
    Stefano
    Keymaster

    Hi, the subscription form panel should show you 30 preferences now, not? Where did you add the define? In your wp-config.php?

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.