Alariel
Forum Replies Created
-
Glad to hear anything worked out.
I don’t really freelance – if not for small projects taking not excessive amounts of time. Normally i like to relax after my main job, so i see it more as a “paid hobby” – if so. 😉
Well… besides of deleting readygraph-extension.php and the extension/readygraph-folder, and commenting out any reference in the subscribe2.php file, to get rid of the banners one has to do some extra editing…
In every file in the /admin folder this “banner” is… well, kind of hardcoded. I just commented out these sections – but, obviously, this has to be done with every update.
Just look for “Connect ReadyGraph” to find the mentioned sections.Indeed, this did the trick! 🙂
Thanks a lot, claytondaley!
I added the URLs with /blog, and the test script runs fine:
*** Test 1/2: SitesManager.getSitesWithAtLeastViewAccess *** Using: cURL SSL peer verification: enabled User Agent: WP-Piwik Call: https://www.firstdomain.de/PiWk/?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=XML&token_auth= + TOKEN Result: HTTP/1.1 200 OK Date: Thu, 04 Sep 2014 19:33:04 GMT Server: Apache/2.2.22 (Debian) Strict-Transport-Security: max-age=15768000 Vary: Accept-Encoding Content-Length: 565 Content-Type: text/xml; charset=utf-8 <?xml version="1.0" encoding="utf-8" ?> <result> <row> <idsite>2</idsite> <name>Blauer Schwan</name> <main_url>https://www.blauer-schwan.de</main_url> <ts_created>2014-08-05 00:00:00</ts_created> <ecommerce>0</ecommerce> <sitesearch>1</sitesearch> <sitesearch_keyword_parameters /> <sitesearch_category_parameters /> <timezone>Europe/Berlin</timezone> <currency>EUR</currency> <excluded_ips /> <excluded_parameters /> <excluded_user_agents /> <group /> <type>website</type> <keep_url_fragment>0</keep_url_fragment> </row> </result> Time: 0.05s *** Test 2/2: SitesManager.getSitesIdFromSiteUrl *** Using: cURL SSL peer verification: enabled User Agent: WP-Piwik Call: https://www.firstdomain.de/PiWk/?module=API&method=SitesManager.getSitesIdFromSiteUrl&url=https%3A%2F%2Fwww.seconddomain.de%2Fblog&format=XML&token_auth= + TOKEN Result: HTTP/1.1 200 OK Date: Thu, 04 Sep 2014 19:33:04 GMT Server: Apache/2.2.22 (Debian) Strict-Transport-Security: max-age=15768000 Vary: Accept-Encoding Content-Length: 94 Content-Type: text/xml; charset=utf-8 <?xml version="1.0" encoding="utf-8" ?> <result> <row> <idsite>2</idsite> </row> </result> Time: 0.05sAs one can see, now the idsite is correct. Also, the second test url gives the siteid – with “blog” or without…
<result> <row> <idsite>2</idsite> </row> </result>I’ve chosen the site manually – it’s the only option displayed by wp-piwik (the user has access only to the secondomain’s statistics). However, all display functions result in using siteid 1.
I’ll try and give the user read access to firstdomain, too – just to be sure this is not a weird counting error…
Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] Readygraph banner?Same Problem here.
The “X” just closes the banner once – as soon as you reload the page, BANG – it’s there again.I really wish that “RG features are totally optional” – but obviously, they are needed to get rid of the banner. I’ll go a while with it, waiting for a fix – but it get’s annoying on the long run…
Edit:
– removed file readygraph-extension.php
– removed directory readygraph/
– in file plugins/subscribe2/subscribe2.php , remove or comment the line “include “readygraph-extension.php””Worked for me, no sign of the existence of ReadyGraph anymore 🙂