Viewing 15 replies - 16 through 30 (of 30 total)
  • @manu1033,

    The four different email types are stored in the ‘s2_format’ key. Registered users are collected in batches based on this key at the time of sending for per post emails.

    Thread Starter manu1033

    (@manu1033)

    All users had ‘text’ for s2_format, and according to the source, full plaintext is ‘post’. I changed that but everyone still receive excerpt format. Here are the subscribe2 usermeta for a given user, do you see anything wrong?

    +———-+———+—————+—————-+
    | umeta_id | user_id | meta_key | meta_value |
    +———-+———+—————+—————-+
    | 596 | 3 | s2_format | post |
    | 598 | 3 | s2_subscribed | 1,1036,3835,54 |
    | 720 | 3 | s2_autosub | no |
    | 721 | 3 | s2_cat1 | 1 |
    | 1544 | 3 | s2_cat1036 | 1036 |
    | 1545 | 3 | s2_cat3835 | 3835 |
    | 1546 | 3 | s2_cat54 | 54 |
    +———-+———+—————+—————-+

    @manu1033,

    Are you sending emails per-post or digest? Are you looking at emails sent to a Public Subscriber (they will always het a plain text excerpt in the free version – usermeta applies only to Registered Subscribers).

    Thread Starter manu1033

    (@manu1033)

    I send per-post. Result is the same for registered and public subscribers: I get the version without the link, and I understand this is because it is the excerpt version (as said earlier: adding error_log in the code shows the full plain text has links)

    @manu1033,

    What do you get when you send the preview emails from Subscribe2->Templates?

    @manu1033,

    I’ve just checked in a few more minor changes, I’ve tested this code and it works fine on my local test install. Perhaps in my code tidying I’ve fixed something without knowing it.

    Thread Starter manu1033

    (@manu1033)

    I get the four expected messages for the latest blog post, one of them being the plain text with links in {REFERENCELINKS}.

    The problem is that on normal sends, all users get the excerpt version.

    Thread Starter manu1033

    (@manu1033)

    I get the same result with latest code fetched after the “just checked in a few more minor changes” message.

    @manu1033,

    In Subscribe2->Registered Subscribers have a look in the drop down. Are any of your sites categories listed with a number by the side? Is this also the category you are using when posting? It may be that there are no active Registered Subscribers.

    Thread Starter manu1033

    (@manu1033)

    You got it: if registered users are not subscribed to any category, they receive the excerpt whatever setting they have. If they are subscribed to a category, they receive the requested format, here full plain text with links. This is rather counter-intuitive. Shall we call it a bug?

    Public users always get excerpt. How can I change that?

    @manu1033,

    Registered Subscribers who have no categories selected don’t receive an email at all. Maybe you are getting is if the number of recipients per email is set to something other than 1, in that case emails are sent to the sender address with subscribers in the BCC header.

    To allow Public Subscribers to get a different email type you will either need to by Subscribe2 HTML or hack the code.

    Thread Starter manu1033

    (@manu1033)

    Number of recipient per email is set to 0, and everyone received excerpt while no category was checked.

    The situation is rather frustrating. What about a global option to override format settings on all users? That would be easy to implement.

    @manu1033,

    Did this / does this happen with the current stable release (9.0) on your site? I am not seeing this on any of my installs so I suspect a conflict or a configuration error. That’s not the same as a bug that needs fixing.

    Thread Starter manu1033

    (@manu1033)

    Perhaps it happened with stable release, but I could not tell it since there was no difference between full plain text and excerpt – the difference appear only since links were introduced.

    If that is a conflict/configuration error, how do I fix it?

    @manu1033,

    To check for a conflict disable all other plugins and revert to a core WordPress theme and test the email again. If it now works restore your theme and test again. If it still works re-introduce each of your plugins one at a time testing after each one.

    If doing the above made no difference check all of the Settings pages, make sure you are not excluding categories. Also go to the Subscribe2->Subscribers page and use the bulk management section at the bottom of the Registered Users page and change all Registered users to another email type.

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Add links to text version’ is closed to new replies.