kb_unhammer
Forum Replies Created
-
I ended up using the
<label> <input type="checkbox" name="mc4wp-subscribe" value="1" /> Sign-up to our newsletter. </label>
method from
https://kb.mc4wp.com/add-sign-checkbox-custom-form/
(after enabling and setting up the “Custom form” integration)- This reply was modified 7 years, 2 months ago by kb_unhammer. Reason: requires enabling and setting up the "Custom form" integration
Sorry, should have mentioned, this is about the default/builtin WordPress contact form.
Is there a special shortcode that I can use for that?
Forum: Fixing WordPress
In reply to: Add Media button stopped workingdo you just put that in wp-config.php or something? did it fix it completely?
Forum: Fixing WordPress
In reply to: No thumbnails creation for images uploaded via XML-RPCI think this may be related: I spent some time trying to figure out why thumbnails weren’t created when I upload images from Python to WordPress over xml-rpc. I was sending:
{'name':'foo.jpg', 'bits':xmlrpclib.Binary(file.read())}
but should also have specified the mime type:
{'name':'foo.jpg', 'type':'image/jpeg', 'bits':xmlrpclib.Binary(file.read())}
Without the mime type, thumbnails are not created when uploading over XML-RPC, so I guess the client is not adding or even detecting the mime type.
Forum: Fixing WordPress
In reply to: Cannot comment on Blogger sites with OpenIDSame here, and it seems a lot of users have had problems with Blogger and openID. But even wordpress.com accounts don’t work last time I checked, so I’m doubting there’s any simple setting / plugin we can change, the problem seems to be all on the Blogger end.
thanks, released a new version ??
The firehose info page mentions the im.wordpress.com service, but when I try to subscribe to my self-hosted blog with that bot, it says it can’t find it (I have jetpack+e.d. activated). Should it work? Would love to have more info about this stuff.
Ah, disabling Adblock Plus worked for me (though Chromium still just shows the text, no idea why.)
With that said, I still can’t get it to work. All I get is a text line saying “Connect with your Facebook Account”, but it’s not a clickable link.
The readme.txt says what to do, but I guess the formatting is a bit off so it doesn’t show on the home page:
4. The login button should appear automatically on your site login bar. If not
you will need to add the following line to your theme (where you want the login button):<?php do_action('fbc_display_login_button') ?>
wow, that works ?? thanks hearsay_kev
darrylinjapan: could you try if it solves anything for you? Ie. go to
YOURSITE.COM/wp-admin/plugin-editor.php?file=empty-paragraph-for-tinymce-editor/editor_plugin.js
and change the return-line (should be the second line in the file) to
return "\n<!--empty paragraph--><br>\n";
Just uploaded 0.9.2, let me know if that works ??
(It’s got the CSS class ’empty-paragraph’, so you can style it with that.)
Just uploaded 0.9.2, let me know if that works ??
Any other TinyMCE-related plugins running?
(On my 3.1 installation it works, but this is the only editor plugin I’ve got installed, so perhaps it conflicts with some other plugin.)
Huh, I wonder where that would come from, the code adds no divs at all. Do you have any other plugins installed which might interfere?
If you’d like to help debug this, go into your Plugins list, and click the “Edit” link under this plugin, then select the file “empty-paragraph-for-tinymce-editor/editor_plugin.js” from the right-hand list.
The second line of that file should say
return "<p>? </p>";
Try changing that to e.g. a one-pixel dot:
return "<p style="font-size:1px;">.</p>";
and see if that works. If the one-pixel dot works for more people than the empty unicode character, then we’ll just have to change the plugin to do that ??