niska
Forum Replies Created
-
Do you need any other information to track down this problem?
I’m only using W3TC.
I have now set Object caching method to Disk. But this did not help. Problem is the same as before.
Please advice.
“Enable caching for wp-admin requests” is not enabled.
Will try your Disk-suggestion soon.
Google robot fetches the page. Then Google analyze the page and this affects Google web-search. If you run your wordpress site in Google Pagespeed Insights you will see that the popup affects the scores.
BTW: thank you for #passportfuralle 🙂
Unfortunately googleoff is not supported by Google web-search.
Thanks! Yeah, it seems to show it to robots. Especially google, since it may impact the google ranking in search results.
This might solve it:
https://core.trac.wordpress.org/ticket/51056I solved the count() problem myself by adding the following line in syndicatedpost.class.php line 1334
$frozen_values = get_post_custom_values('_syndication_freeze_updates', $old_post->ID); if (is_array($frozen_values)) { $frozen = (count($frozen_values) > 0 and 'yes' == $frozen_values[0]); }I still haven’t found a solution for:
PHP message: PHP Warning: preg_match() expects parameter 2 to be string, array given in /www/site/public_html/wp-includes/class-simplepie.php on line 2620Yes – I know it is my login URL. I’m using it all the time. But it seems some users have the redirect stored in the cache in their webbrowsers.
How can I exclude the redirect from webbrowsers? I’m thinking this is decided in your plugin?
Forum: Plugins
In reply to: [Flamingo] How to modify data saved by flamingoHave you found a solution to this problem? I also have the same question.
Forum: Plugins
In reply to: [Contact Form 7] Where do I find the data?I’m sorry, it was my misstake. I forgot to add ‘flamingo_edit_inbound_message’ => ‘flamingo’.
My current code seems to be working now, except I’m unable to edit the data. Is data supposed to be editable?
My code:
remove_filter( 'map_meta_cap', 'flamingo_map_meta_cap' ); add_filter( 'map_meta_cap', 'mycustom_flamingo_map_meta_cap', 9, 4 ); function mycustom_flamingo_map_meta_cap( $caps, $cap, $user_id, $args ) { $meta_caps = array( 'flamingo_edit_inbound_message' => 'flamingo', 'flamingo_edit_inbound_messages' => 'flamingo', 'flamingo_delete_inbound_message' => 'flamingo', 'flamingo_delete_inbound_messages' => 'flamingo', 'flamingo_spam_inbound_message' => 'flamingo', 'flamingo_unspam_inbound_message' => 'flamingo', 'flamingo_edit_outbound_message' => 'flamingo', 'flamingo_edit_outbound_messages' => 'flamingo', 'flamingo_delete_outbound_message' => 'flamingo', ); $caps = array_diff( $caps, array_keys( $meta_caps ) ); if ( isset( $meta_caps[$cap] ) ) $caps[] = $meta_caps[$cap]; return $caps; }Forum: Plugins
In reply to: [Contact Form 7] Where do I find the data?Thanks for your reply.
I’ve tried setting all 12 capabilities to my custom permission “flamingo”, but that didn’t make any difference.
I don’t want everyone with edit_pages capability to view the messages so I can’t copy/paste your example code…
Any ideas what I’m doing wrong?
Forum: Plugins
In reply to: [Contact Form 7] Where do I find the data?I’m sorry, there seems to be a problem with permissions. I’m using the User Role Editor and have made a custom permission “flamingo”. Users that have this permission should be able to view the data from the forms.
I have also removed the map_meta_cap filter and added a custom one, like this:
remove_filter( 'map_meta_cap', 'flamingo_map_meta_cap' ); add_filter( 'map_meta_cap', 'mycustom_flamingo_map_meta_cap', 9, 4 ); function mycustom_flamingo_map_meta_cap( $caps, $cap, $user_id, $args ) { $meta_caps = array( 'flamingo_edit_inbound_messages' => 'flamingo', 'flamingo_delete_inbound_message' => 'flamingo', 'flamingo_delete_inbound_messages' => 'flamingo', 'flamingo_spam_inbound_message' => 'flamingo', 'flamingo_unspam_inbound_message' => 'flamingo', 'flamingo_edit_outbound_message' => 'flamingo', 'flamingo_edit_outbound_messages' => 'flamingo', 'flamingo_delete_outbound_message' => 'flamingo', ); $caps = array_diff( $caps, array_keys( $meta_caps ) ); if ( isset( $meta_caps[$cap] ) ) $caps[] = $meta_caps[$cap]; return $caps; }The problem is that users that have “flamingo” can not view the messages. They only see the subject, name and email.
Not sure what I’m doing wrong.
Please help.
- This reply was modified 7 years, 4 months ago by niska.
Forum: Plugins
In reply to: [Contact Form 7] Choose if a form should use Flamingo or notI found the solution:
do_not_store: true