humptybump
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Photo Perfect] mobile phone portrait single Masonry column?Outstanding! Very helpful.
I used 479px in place of 767px and I now have the response I was asking for.
Thank you.
If I set “Enable auto publish post to my facebook account” to “No” then I assume I’ll have to manually trigger the posting to Facebook. is this correct?
I don’t know if this is significant – I blog via email, the Workdpress mobile app, and a 3rd party mobile app. I do not blog using the web interface.
I probably wasn’t describing my situation very well.
The problem I am seeing is not “while editing” but rather every edit to a WordPress blog post is posted to Facebook as a new Facebook post.
Example:
New blog post is written and posted. This results in a new post on Facebook. Edit a typo error in the blog post and save. A second Facebook post is created.
I have the “auto publish while editing” set to ‘no’ and I am still getting a duplicate post to Facebook for each edit. Is there a log that can help and/or is there another setting to check?
Forum: Plugins
In reply to: [Postie] Request: strip newlines but treat newlines newlines as paragraphHere is the change that is working for me:
function filter_Newlines(&$content, $config) { if ($config['filternewlines']) { $search1 = array( "/\r\n/", "/\r/", "/\n/" ); $search2 = array( "/\n\n/", "/\r\n\r\n/" ); $replace1 = array( 'LINEBREAK', 'LINEBREAK', 'LINEBREAK' ); $replace2 = array( 'DOUBLEBREAK', 'DOUBLEBREAK' ); $result = preg_replace($search2, $replace2, $content); // must replace double first $result = preg_replace($search1, $replace1, $result); if ($config['convertnewline']) { $result = preg_replace('/(LINEBREAK)/', "<br />\n", $result); $content = preg_replace('/(DOUBLEBREAK)/', "<br />\n<br />\n", $result); } else { $result = preg_replace('/(LINEBREAK)/', " ", $result); $content = preg_replace('/(DOUBLEBREAK)/', "\r\n\r\n", $result); } } }
As the comment notes, the key is to replace all double breaks first, then all single breaks.
Forum: Plugins
In reply to: [Postie] Looking for proper settings when emailing from iOS deviceI’m still not getting proper formatting so I’ve started a new read.
Forum: Plugins
In reply to: [Postie] Looking for proper settings when emailing from iOS deviceIn truth, I spoke too soon. The settings I listed treat all new lines as line breaks. This has a negative side effect. Rather than have BR at the end of each paragraph, it creates BR at the plain text default line length which is probably 64 or 72. My posts look something like this …
Lorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua.Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip
ex ea commodo consequat. Duis aute
irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla
pariatur.What I needed to do is set “filter newlines” = no
The confusing part for me was the help-text for that option. It reads, “Filter newlines:
Retain newlines from plain text. Set to no if using markdown or textitle syntax” when set to yes, it DOES NOT retain newlines. Additionally, it needs to be set to no for proper behavior with plain text email.It may be helpful for others if the help-text is made more clear. I figured it out by looking at the code,
Forum: Plugins
In reply to: [Postie] Looking for proper settings when emailing from iOS deviceDOH! never mind. Here is one set of settings that work …
preferred type: plain text
Filter newlines: yes
replace newlines with
: yesForum: Plugins
In reply to: [Postie] incorrect caption – always uses photo file nameWow thanks! I tried digging into the issue and was not having much luck.
If you need me to test, just let me know and I’m happy to run per-release code.
Forum: Plugins
In reply to: [Postie] Postie processing emails immediately, to on specified intervalI have a self hosted “network” site.
I’m happy to help debug if you point me to the right place to start.
Forum: Installing WordPress
In reply to: Blank Dashboard after automatic upgrade to version 3.3Following the “backup and delete plugins” advice, I tracked my problem to down to Postie. YMMV.