manu1033
Forum Replies Created
-
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?
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.
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?
I get the same result with latest code fetched after the “just checked in a few more minor changes” message.
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.
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)
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 |
+———-+———+—————+—————-+How is it decided to use excerpt then? I just have theses keys in database:
mysql> select meta_key from wp_usermeta where meta_key like ‘s2%’ group by meta_key;
+—————+
| meta_key |
+—————+
| s2_autosub |
| s2_cat1 |
| s2_cat1036 |
| s2_cat3835 |
| s2_cat54 |
| s2_excerpt |
| s2_format |
| s2_subscribed |
+—————+It seems some users have no s2_excerpt meta. Does it default to excerpt?
If I add an error_log() in the code I can see it works, however, all users get the result without links. It must be that they get excerpt. I tried bulk-changing, but it seems it is not taken into account.
Where are subscribe2 user preference stored in database?
I suspect you forgot to commit the bits in classes/class-s2-core.php. I see {REFERENCELINKS} in the settings help, but not the code that should handle it.
Great. Where can I checkout latest code?
As you wish. Will you do the {KEYWORD} part, or should I look at it?
I fear the excerpt case will be difficult to fix.Well, one could argue that links are really part of {POST}. Perhaps an option in the admin.php?page=s2 control panel? We currently have:
– HTML Full
– HTML Excerpt
– Plain Text Full
– Plain Text ExcerptWe could have this:
– HTML Full
– HTML Excerpt
– Plain Text Ful with links
– Plain Text Full without links
– Plain Text Excerpt