friendlyfire
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Encrypt] ERROR: Registration key is already in usesame issue here. Let’s Encrypt: Registration key is already in use
I used the dangerzone to reset the plugin since I was havning trouble reissuing the certs. Now I’m getting the error “Let’s Encrypt: Registration key is already in use” when I try to register again. I tried to delete the account folder from the server but I’m still getting this.
Also, this hook will run regardless if the user has logged in and viewed the dashboard, right?
Hey, just donated some cash to help out with this. Hope it helps!
I’ve tried echoing something out on both
add_action('wp-piwik_site_added', 'your_code');
and
add_action('wp-piwik_site_created', 'your_code');
And neither one seem to firing. When I try the same code on another hook, I see the echo.
I checked and I do have the latest version and double checked that the newly added do_action is in the WP_Piwik.php file.
What am I missing?
Also, per the code, it’s wp-piwik_site_created, yes?
Awesome! Do I have access to the $blog_id var or any other vars via this hook? all I really need is access to the blog id that was created.
We could do blog visit but since we have a new site creation routine, we’d love the option of firing on new blog creation – if possible?
I can’t believe i just wrote all that. It’s handled via the auth token. DUH!
Close this out and sorry!
Also, could I just change the db’s site_id manually to match the one in the wp-admin for now until we get it sorted out? Would that cause any issues? I’d like to start testing some work that requires the id.
OK, I set all that up but now I’m really confused.
on my local install, when I alert the site_id from javascript, I keep seeing the id of ‘1’. This happens regardless of the site I’m looking at.
When I go to the database and look at wp_options, I see “wp-piwik-site_id” is set to 1 for every site on the network.
Just to test it again, I made a completely new install with piwik and multisite with wp-piwik installed as the “central approach”. I set up a bunch of sites , configured them and made sure to log visits and checked to make sure they show up in piwik (they all do).
In most cases, the site_id is totally blank in the db even though it’s showing in the wp-admin panel when I look at the sites under wp-piwik.
For example:
site 35’s db: https://drive.google.com/open?id=0B-r5llGpXi8xWVJXdHFuczRuYzA
site 35 in the admin: https://drive.google.com/open?id=0B-r5llGpXi8xeGZfbjJZZmJiRTgThe really weird part is in some other site’s wp_options “wp-piwik-site_id”, I see the number 2 (similar to the local install problem above).
Any help is appreciated. This one completely has me stumped.
Forum: Plugins
In reply to: [Remote Media Libraries] Still active?Hey, just checking back. How’s the progress on this? Want to upgrade to pro but need to be sure our version of the builder is supported.
Lmk and looking forward to it.
Forum: Plugins
In reply to: [Broadcast] not recognizing new site on networkOK, actually it just randomly started working. Not sure what I did but it was magic. Thanks for the quick response.
Forum: Plugins
In reply to: [Broadcast] not recognizing new site on networkI’m a super admin so I know I have proper access. I just updated everything (had to renew my license) and it’s still not working. Super weird.
Forum: Plugins
In reply to: [Broadcast] not recognizing new site on networkI thought about that and gave it a try. Still no luck.
update: I tried this too:
$piwik_site_id = $GLOBALS ['wp-piwik']->settings->getOption( 'site_id' );
but got :
Cannot access private property WP_Piwik::$settings