jontaarcs
Forum Replies Created
-
Forum: Plugins
In reply to: [Save Contact Form 7] How delete records ?I have been doing testing with this also. To clear the data I just used phpMyAdmin to remove testing data.
You will see the SaveContactForm7_1, SaveContactForm7_2, etc depending on how many you setup.
Mac (10.11.4), Chrome Version 49.0.2623.108 (64-bit)
Also just duplicated in alert loading on the logs page in:
Safari Version 9.1
Opera Version 36.0.2130.32Also I will get an alert for each line that has the alert code. On one page as I was scrolling through to find them I had just one, then the next page I had 4 alerts, for the 4 separate log entries that were on that page.
Let me know if you need any other information.
Opps, I did not mention my version, I am on version Version 5.3.3. I usually wait a week before updating to new release to avoid any possible bugs.
I just upgraded to version 5.5.4 then went to the Logs Tab, and still get the Javascript popup. I also went to page 2 and get it to load there for the record I showed above (now at the top of page 2)
Thanks,
rdellconsulting,
Thanks for the information. I tried that and it works fine. For others here is what I did.
in my child theme function.php I addedfunction safely_add_stylesheet_to_admin() {
wp_enqueue_style( ‘prefix-style’, get_stylesheet_directory_uri() . ‘/admin-style.css’, false, ‘1.0.0’ );
}
add_action( ‘admin_enqueue_scripts’, ‘safely_add_stylesheet_to_admin’ );created admin-style.css in child theme folder and added
.wp-admin .wrap .updated {
display: none;
}I ended up thought figuring out how to use remove_action to do this. Here is the code. Super Admin still sees the message on the dashboard for that specific site. But multisite admins do not. Tested by updating the database record to re-trigger the message.
/**
*
* Remove Customizr notice after theme updates on multisite sites
* “Good, you’ve just upgraded to Customizr Pro version 1.2.21”
* Continue to show with Super Admins
*/
function remove_customizr_updates_message()
{
if (current_user_can(‘manage_network’)) {
return;
}
remove_action(‘admin_notices’, array(TC_admin_init::$instance, ‘tc_may_be_display_update_notice’));
}
/* Without the if statement I get “PHP Fatal error: Class ‘TC_admin_init’ not found in” so tried this */
if (is_user_logged_in()) {
add_action(‘init’, ‘remove_customizr_updates_message’);
}Menaka, thanks for the response. I have that unchecked already. I was not clear in my question now that I read it again.
The message I am looking at is displayed to a multi site user when they login and go to the admin screen / dashboard.
Example I just created a new site, test2, login, and it shows me the message at the top of the dashboard “Good, you’ve just upgraded to Customizr Pro version 1.2.21” I am trying to not how these messages.