Forum Replies Created
-
AuthorPosts
-
Mohib
ParticipantActually it’s better than what I posted above because the prompt “Newsletters” is actually a modification I made to the subscription.php. The default behaviour doesn’t have that prompt (which is the widest prompt and so takes up the most room) and so more space is left for the fields. The default form would look like this:
http://screencast.com/t/416DROPSBut the fields can be made even wider, with some expense for clarity, if the entire prompt column is hidden when on a smaller mobile screen:
http://screencast.com/t/cyEamzRNvVOf course this won’t be helpful if your form has text fields as the user won’t know easily what the fields are for.
To do remove the field prompts, add this to the end of your theme’s CSS file:
@media screen and (max-width: 680px) {
div.newsletter-profile form th {
display:none;
}
}Or add just this:
div.newsletter-profile form th {
display:none;
}to relevant @media screen section your theme has for smaller screens.
Mohib
ParticipantFor reference, here’s what I posted: http://screencast.com/t/iuXRXJS1pS — and what is appearing when you view posts: http://screencast.com/t/bxbXIuZMlrIw
Mohib
ParticipantHmm, well that didn’t work too well. For some reason all the paragraph/line breaks are being removed from posts when they are displayed because if I re-edit, they’re all still there.
Admins, looks like something’s broken somewhere. 🙂
-
This reply was modified 6 years, 11 months ago by
Mohib.
Mohib
Participant>>>Another solution could be the use of the goodbye email and add in it “if you didn’t unsubscribe your self or you change your mind, click here to reactivate the account”.
This is what I want to do but what link will reactivate the account immediately when clicked?
I tired all the confirmation links and none will reactivate an account. The only way as for the person to reenter his email address, and then it starts the whole double optin process.
I want one link to undo unsubscribe in one click. No, confirmation emails and other click.
Mohib
ParticipantI’d love to but you can’t really share files here, so here are some screen shots of how it appears in my mail client at normal width, narrow width, and in the gmail app on an iPhone 4. The yellow is just an additional heading I have but is not included in the screen shot of the code below. Images just appear as blank boxes or broken as I’ve just got local place holders for now.
http://screencast.com/t/lp7y49HXp
http://screencast.com/t/oNB3QhLyfJz
http://screencast.com/t/76cjEtysVKHere is a screenshot of part of the code from which you’ll get the idea:
http://screencast.com/t/Vwe8TOEoI’ve made some changes to Automated default.php theme and stripped out some heading options I don’t need. I’ve also made some tweaks to the default CSS the responsive template to fit my needs and also have thumbnails set to 200×100 in WordPress so have adjusted the CSS and other code in it accordingly. Extra content I didn’t need (like 2 and 3 columns) is removed (I use the sidebar version for thumbnail image size and one column for medium image size), and additional 1-column sections are added for headers and footers, and such. Dummy text is replaced with PHP calls for images, titles, links and excerpts.
Really all you do is cut and paste into top level table (
<table class="outer" align="center">
)<tr>
sections corresponding to 1-column, 2-column, 3-column, side-bar, sections, from the HTML template.If you use 2 or 3 column you will of course have to fix up the post loop to go skip 1 or 2 posts, and access them directly in the 2nd and 3rd columns after checking you’ve not run out of posts. For example, if you’re doing 3 columns and have 5 posts (2 incomplete rows), then the loop has to stop at post 1 and 4, and posts 2 (current+1), 3 (current+2) and 5 (current+1) you must access manually in the HTML where those would appear, but also checking to ensure current+1 and/or current+2 exist as the row may not be complete (i.e. post 6 to complete the second row is not there in this example).
Essentially, in default.php, delete all the lines in the theme from
<!DOCTYPE html
to</html>
and replace with the responsive HTML from the above after in-lining the CSS.I keep the HTML version with CSS styles not in-lined in a separate file that has
++++?php
and?----
and||||
. Then I in-line the CSS at the website given in the article, paste the new HTML with in-lined CSS back into Automated’s default.php. Then I search and replace to fix these back to<?php
and?>
and->
.I do a similar process for the transaction emails (confirmation, unsubscribe, etc.).
Hope this helps.
Mohib
ParticipantAs you’ll see on the page, the issue with responsive emails is not so much about getting the columns (as you’ll see on the page it’s been done very easily for 2 or 3 equal columns or 2 unequal columns), the real issue is robust compatibility with all the mail systems. In particular Outlook and GMail (which doesn’t support media queries). The method on that page works without media queries which and is also very flexible to allow 1, 2, 3 equal columns and 2 unequal columns (image left or right).
Give it a try. I think you’ll be impressed!
Mohib
ParticipantAre you actually getting that kind of throughput?
My Amazon limit is 75k per hour, but per my tests above, I can only get the current, single threaded, version of Newsletter Plugin to push out 6k per hour.
-
This reply was modified 7 years, 1 month ago by
Mohib.
Mohib
ParticipantBTW for testing I use https://www.fastmail.com/
They have some very interesting features. For, example if you register as xyz@fastmail.com, then you can send mail to abc@xyz.fastmail.com and it will arrive in your fastmail in-box.
So this way you can use Excel to generate several thousand fake email addresses (fake0001@xyz.fastmail.com, fake0002@xyz.fastmail.com, etc.). Then use NewsLetter’s CSV import and, at the same time, tag them as a special list. Then you can test emails to that list.
Mohib
ParticipantMohib
ParticipantFebruary 7, 2016 at 11:26 pm in reply to: Speed results using Amazon SES plugin & SES API. Any way to increase the speed? #20539Mohib
ParticipantAny idea on when the multi-threaded delivery engine may be available?
February 7, 2016 at 11:25 pm in reply to: Custom subscription/profile fields are great buuuut …. #20538Mohib
ParticipantAny response or suggestions regarding the above issues?
February 7, 2016 at 11:25 pm in reply to: Extra list type profile fields: first item displays as a "default" #20537Mohib
ParticipantAny response or suggestions regarding the above questions?
(I’ve patched the code to get rid of the blank row for now, but would appreciate if the table generation code was a little more sophisticated and not start a row that will be blank to start with).
January 30, 2016 at 6:12 pm in reply to: Speed results using Amazon SES plugin & SES API. Any way to increase the speed? #20403Mohib
ParticipantOk great. Yes you are right regarding multi-thread but am very pleased you’re working on a way to simulate that for TNP. Any idea when that might be ready because that would certainly put TNP in a whole new class of delivery capacity compared to all the other WordPress newsletter plugins.
January 29, 2016 at 6:11 am in reply to: Speed results using Amazon SES plugin & SES API. Any way to increase the speed? #20338Mohib
ParticipantI was looking at this information here, https://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#advanced
PHP max execution time
Sending newsletters can be a slow process, it depends on the speed of the mail service. External SMTPs can be much slower than the standard method of sending emails from PHP.
PHP has a maximum execution time that, if exceeded, force the PHP engine to kill the process. Sending many emails can take longer than allowed.Newsletter has an internal protection to avoid that and stops the delivery on a single batch if the maximum allowed time is reached. So, if you set an engine speed of 1200 emails per hour, hence 100 emails per batch, you can experience a lower number of emails sent per run. It’s due to that protection.
If you are confident enough to increase the maximum execution time of PHP, you can force the value (in seconds) using this configuration. Be aware: PHP running in safe mode will ignore this setting. To know the actual PHP preset value, see the system values on the diagnostic panel.
It says “To know the actual PHP preset value, see the system values on the diagnostic panel” and I checked the diagnostics and both my bluehost and local versions say:
PHP Execution Time 0 (seconds)
I don’t understand what 0 seconds means.
Can I increase the email speed if I enter something in “PHP max execution time” on “Advanced settings”? If so what kind of numbers should I try to see the difference?
Thx
January 25, 2016 at 6:33 am in reply to: What am I missing? {tags} don't work on custom pages? #20218Mohib
ParticipantThanks, that works but I’m still finding custom pages confusing and not working the way that seems logical as the odd pages seem to pop up on some events.
Nevertheless, I was looking at your general tag list here (which BTW you should add in the contents as it took me almost 30 mins to find it because you also don’t have a search on the website):
https://www.thenewsletterplugin.com/plugins/newsletter/newsletter-tags
but didn’t find tags I require tags for the subscriber creation date/time (not just their IP address) and also the sender email address as it is important to include these in some messaging. Do these exist and/or are they being added?
Thx
-
This reply was modified 6 years, 11 months ago by
-
AuthorPosts