Forum Replies Created

Viewing 15 replies - 16 through 30 (of 259 total)
  • Plugin Author Presslabs

    (@presslabs)

    Hello @rodricus,

    We will check this problem and get back to you!

    Thanks,

    Forum: Plugins
    In reply to: [Gitium] Does not work
    Plugin Author Presslabs

    (@presslabs)

    Alright, thank you for your confirmation!

    Forum: Plugins
    In reply to: [Gitium] Does not work
    Plugin Author Presslabs

    (@presslabs)

    Hello @rodricus,

    Can you try the following steps

    1. After activation, go to the Gitium settings in your WordPress admin area.
    2. Copy the Public Key that Gitium has generated for you from the Key Pair field(you can press regenerate key pair).
    3. In your repository manager of choice (GitHub, GitLab, or Bitbucket), go to the settings page and find the “Deploy keys” (or similar) section. There you will need to add the Public Key you’ve copied from Gitium. This will grant Gitium access to your repository. Make sure to allow write access as well. Also make sure that you copy the entire key from gitium.
    4. Now go back to your main repository page and copy the SSH URL to your repo. Paste this URL in Gitium and press the “Fetch” button.
    5. A “Repository initialized successfully” message will show up. This means that your repository has been populated with the current code of your website and it is ready to start working with Gitium.

    Webook configuration:

    Gitium uses the webhook to automatically deploy remote changes to your server. To configure it follow these steps:

    1. Go to your WordPress website and go to your Gitium Settings page;
    2. Copy the full Webhook URL that Gitium provides;
    3. In your Git Manager settings, go to Webhook section, add a new webhook and paste the webhook URL you have copied from Gitium.
    4. Press Add, no settings changes needed. The webook simply needs a ping, nothing more. The security key is already embedded in the final URL Gitium has generated for you.

    Now when you push to your repo, this webhook will automatically pull the changes to your remote server and deploy them.

    Plugin Author Presslabs

    (@presslabs)

    Hello @ssvirtual,

    Thank you so much for your patience! Upon reproducing the problem on a Docker setup, I think permissions are the culprit.

    Could you please test this version to see if it displays the message related to permissions dl.presslabs.net/temp/gitium.zip?

    Make sure you enable error reporting to ALL to see errors, warnings, and notices, and if you see anything when setting up the repository, please send us the logs.

    Best regards,

    Plugin Author Presslabs

    (@presslabs)

    Hello @franktomas,

    Could you set up the blank WordPress site and send us the credentials to support@presslabs.com?

    Best,

    Plugin Author Presslabs

    (@presslabs)

    Hello @cobraeyes

    Thank you for your patience and for helping us improve the plugin.

    I am glad the problem is now solved.

    I’ll then go ahead and prepare the new version for release here on wp.org officially.

    Thank you, @jimihenrik, @ralpharama, @twisttheme, for your continued support and patience.

    The new version will be released later today.

    Plugin Author Presslabs

    (@presslabs)

    Hello @cobraeyes,

    It looks like the daily and monthly feeds are disabled in your settings.

    If there were an error in the fetching process, it would show as empty arrays in this feed.

    To confirm this, I see you only fetch 20 posts from Google. Check what value you have in your Overview page for the Fetched from Google section. If it shows “20” then it only fetched the weekly and so the other feeds are disabled.

    Please go to your settings page /wp-admin/options-general.php?page=toplytics&tab=settings and check to make sure that Monthly Top and Daily Top are enabled and checked there. Once they are checked, please go to Overview and press Update Top button. It should now show 60 in the Fetched from Google section.

    Here is a screenshot of how it should look like.

    Settings page:

    Overview page:

    Plugin Author Presslabs

    (@presslabs)

    Here is an example of how it should look like: https://cristi-001.trypl.com/wp-json/toplytics/results

    Plugin Author Presslabs

    (@presslabs)

    Hello @cobraeyes,

    How is the data in the feed showing up? Is the JSON feed working? Can you see the top there correctly?

    Feed is by default on path /wp-json/toplytics/results – this can be changed, enabled or disabled in the settings.

    Plugin Author Presslabs

    (@presslabs)

    Hello @cobraeyes,

    Based on your feedback I was able to improve the ranges and introduce a DB update feature so it should auto-update the ranges in your database.

    Please try out this new plugin version and disable the filter you previously had: https://dl.presslabs.net/temp/toplytics-rc2.zip

    It should now have all 3 standard ranges available, monthly weekly and daily. Realtime is still not ready as that uses another API endpoint.

    Plugin Author Presslabs

    (@presslabs)

    Hello @cobraeyes ,

    I forgot to mention, after you change the ranges via the filter you need to re-fetch the data from Google. You can press the button in the Settings page for that.

    Also, it should update itself after 1 hour (default) or after what time you changed it to. This auto-update interval can also be changed in the settings.

    So just to double-check, after you added that filter, and pressed the Update Top button, it still didn’t work?

    Also, please note that a small deviation from the actual pageviews you see in the Analytics UI in Google is normal as the data from the API can have different values. But the top itself should be similar, as the differences are minor.

    EDIT: If you still have problems after Top Update, please install the plugin “Temporary Login Without Password” and allow us to debug it further, preferably on a dev site if you have one at hand. You can send the login link to our support e-mail at support[at]presslabs.com.

    • This reply was modified 1 year, 4 months ago by Presslabs.
    Plugin Author Presslabs

    (@presslabs)

    Hello @cobraeyes,

    Thank you for your feedback. I’ll run some tests as well. I removed the Real-Time and Daily fetches as that data was not working well. So, there is no real-time or daily data this time. Maybe in another update in the future. Yet the default timeframes for week and month should still work as intended and can be potentially changed. They can be updated via filters or the database. These are stored in the database in the toplytics_results_ranges option. Can you test and see what is the value of this option? You can use WP CLI like so:

    wp option get toplytics_results_ranges --format=json | jq .
    

    You can also try to change these via a hook like the following example. This is an example with a custom plugin that do this:

    <?php
    /**
     * Plugin Name: Custom Toplytics Modifier
     * Description: Modifies the toplytics_results_ranges option.
     * Version: 1.0
     */
    
    add_filter('pre_option_toplytics_results_ranges', 'modify_toplytics_results_ranges');
    
    function modify_toplytics_results_ranges($value) {
        // Modify the option values as needed
        $modified_value = [
            'month'    => date_i18n('Y-m-d', strtotime('-25 days')), // Example modification
            'week'     => date_i18n('Y-m-d', strtotime('-5 days')),  // Example modification
            'today'    => date_i18n('Y-m-d', strtotime('today')),
            'realtime' => 0,
        ];
    
        return $modified_value; // Return the modified value
    }
    

    Docs for pre_option_ hook: https://developer.www.ads-software.com/reference/hooks/pre_option_option/

    Hello @jimihenrik ,

    Thank you for your feedback. I am glad it works well on your end. That’s amazing news.

    Also you are correct. The plugin now uses the Google Analytics?Data?API

    Plugin Author Presslabs

    (@presslabs)

    Thank you for your support and feedback.

    Plugin Author Presslabs

    (@presslabs)

    Thank you @jimihenrik . We’re looking forward for your feedback.

    Hey, @cobraeyes! We appreciate your patience. Please test this latest version using this: https://dl.presslabs.net/temp/toplytics-v41-rc1.zip

    Plugin Author Presslabs

    (@presslabs)

    Hello @jimihenrik ,

    Thank you for your feedback.

    We fixed a few more glitches and added a few filters in this RC version https://dl.presslabs.net/temp/toplytics-v41-rc1.zip

    If the feedback is positive we’ll publish it in 2-3 days.

Viewing 15 replies - 16 through 30 (of 259 total)