hand_coding
Forum Replies Created
-
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] "Oops! There is a problem with this form"Not really. I found out that this function was the cause, then I replaced it with the plugin. It turned out the plugin works well without troubling wysija.
Is your function.php pristine or did you add some custom functions?
Did you make some test with all plugins disabled except wysija?Fabrice
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] "Oops! There is a problem with this form"The plugin works just fine ??
https://www.ads-software.com/plugins/remove-dashboard-access-for-non-admins/Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] "Oops! There is a problem with this form"I’ve found the culprit.
It’s a function one add to function.php to prevent users to access the dashboard.
It goes like this:add_action('admin_init', 'no_mo_dashboard'); function no_mo_dashboard() { if (!current_user_can('manage_options') && $_SERVER['DOING_AJAX'] != '/wp-admin/admin-ajax.php') { wp_redirect(home_url()); exit; } }
You can find it here,
It works like a charm but obviously ruins the wysija mechanism (and probably others).
I have no idea on how to modify this hook to make it work with wysija.
I will try to get in touch with Drew Jaynes who also developed a wp plugin for this.Fabrice
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] "Oops! There is a problem with this form"Safari on Mac is a bit more talkative:
Oops! There is a problem with this form: textStatus:parsererror errorThrown:SyntaxError: Unexpected token '<' responseText:
Fabrice
Thanks anabelle.
I will try it ASAP…As an aside, style rules shouldn’t be written if the Custom Menu doesn’t display thumbnails…
Hi rcain & Anabelle,
Thanks rcain, I tested your mods and it seems to fix the “disappearing images problem” with multiple Custom Menus.
For the css part (bottom of the page), I keep Anabelle’s choice to style the
‘li’ element, not the ‘a’ itself.Thanks again; problem solved in my case…
Great! ??
Thanks to you!Fabrice
Forum: Networking WordPress
In reply to: Table prefix question with multisite setup??
Forum: Networking WordPress
In reply to: Table prefix question with multisite setupI don’t think it’s bad coded; it’s just not flexible…
“list-all-posts” was designed for WordPress-mu and was, at the time, a free gift from WPMU Dev along with “list-all”, designed to retrieve every blogs in a WP-mu install.
Those are nowhere to be found now, it seems…Lucky you are if you found “plenty” of WP plugins for this, because I did a lot of search… ??
Forum: Networking WordPress
In reply to: Table prefix question with multisite setupWell… I was unable to find a way to implement your suggestion in a query like
"SELECT post_content FROM " . "wp_" . $blogid . "_posts" …
so I ended up with adding a variable based on the blog id:$wp_bid = $blogid == 1 ? "wp" : "wp_".$blogid;
so the query is now:"SELECT post_content FROM " . $wp_bid . "_posts" …
.It works nicely.
Thanks again…Forum: Networking WordPress
In reply to: Table prefix question with multisite setupHi Curtiss,
I’m not sure I fully understand the ins and outs of your suggestion but I’ll try…Thanks a lot…
Forum: Themes and Templates
In reply to: How to style Private posts ?Yep! You got it…
Thank you very much!