Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter endgeek

    (@endgeek)

    Hey braekling,

    don’t get me wrong. I don’t want to exclude me from tracking (I saw this feature in WP Piwik and the cookie in piwik) and I also don’t need seperate tracking.

    I set up a “dev.blubb.com” if I open the dashboard, wp piwik automatically adds this domain to piwik and assign a id to this domain. So for example dev.blubb.com got the id 7

    Now I want to clone “dev.blubb.com” to “anotherpage.blubb.com” via “Multisite Cloner”. And while cloning the dev site 1:1 to “anotherpage” it also has the id 7 (since it’s stored into the database: wp-piwik_settings).

    So I need to reset the piwik settings, each time the “dev.blubb.com” site get automaticaly an ID and set all the id manually.

    I need a solution to prevent new pages from beeing added to piwik automatically or just exclude a single page by id or reset the id from jsut a single subpage without resetting the whole piwik settings.

    Kind regards

    Thread Starter endgeek

    (@endgeek)

    I couldn’t wait and just created a quick (and dirty) workarround:

    I replaced the following lines in the group-to-wp.php

    $access_token = $option['app_id'] . '|' . $option['app_secret'];

    with

    $access_token = "xxxx";

    Take the access token from https://developers.facebook.com/tools/explorer/

    and

    $fb_url = 'https://graph.facebook.com/' . $group_id . '/feed/?limit=' . $limit . '&access_token=' . $access_token;

    with

    $fb_url = 'https://graph.facebook.com/v2.0/' . $group_id . '/feed/?limit=' . $limit . '&access_token=' . $access_token;

    Works fine for me, also with the “pagination”… ??

    *edit*

    Sometimes (every 20 Sites maybe) I got the following error:

    Warning: First parameter must either be an object or the name of an existing class in /var/www/xxxx/html/xxxxxxx.xxx/wp-content/plugins/fb-group-to-wp/group-to-wp.php on line 313

    But after hitting F5 / reload the page, everthing works again. ??

    Thread Starter endgeek

    (@endgeek)

    anyone else?

Viewing 3 replies - 1 through 3 (of 3 total)