Presslabs
Forum Replies Created
-
Forum: Plugins
In reply to: [Toplytics] Add new features pleaseIn Github, the new features are written down as a new issue, and after the feature is implemented then the issue will be closed, and then will be available on WordPress repository in order to update the plugin and use the new feature.
For the new range, just add a new plugin like this example:
<?php /** * Plugin Name: Toplytics Ranges */ add_filter( 'toplytics_ranges', 'toplytics_add_on_ranges' ); function toplytics_add_on_ranges( $ranges ) { $ranges['year'] = date_i18n( 'Y-m-d', strtotime( '-364 days' ) ); return $ranges; }
Forum: Plugins
In reply to: [Toplytics] Add new features pleaseHello, you can use the filter toplytics_ranges in order to change the default ranges (today/week/month) see the examples here https://www.ads-software.com/plugins/toplytics/faq/
The ‘exclude posts option’ feature, I add it to git repository see https://github.com/PressLabs/toplytics/issues/117
Thanks
Forum: Plugins
In reply to: [Toplytics] How to show events and pagesSorry, my bad. Can you try to update the plugin again?
About the using of different widgets for different post types, this feature is not available because the logic of the plugin does not allow this right now. It’s a nice idea and I will righted down in order to not forget it. https://github.com/PressLabs/toplytics/issues/116
I don’t know how much helps you but you can use more widgets (using the same template) but with different options like: period, numberposts and/or showviews.
Thanks
Forum: Plugins
In reply to: [Toplytics] How to show events and pagesYes this is the post type value “ajde_events”. Add this post type to your list, using the filter ‘toplytics_allowed_post_types’ in order to tell to Toplytics to accept this custom post type.
Forum: Plugins
In reply to: [Toplytics] How to show events and pagesHi,
You can add/edit your custom post type using the filter ‘toplytics_allowed_post_types’ see https://github.com/PressLabs/toplytics/blob/master/toplytics/toplytics.php#L438
The shortcode is also visible on first page https://www.ads-software.com/plugins/toplytics/
Best regards
Forum: Reviews
In reply to: [Toplytics] the bestIf you have any specific requests you can add them here https://github.com/PressLabs/toplytics/issues/new
Forum: Plugins
In reply to: [Toplytics] How to show events and pages[toplytics period="today" numberposts="15" showviews="false"]
Is an example of the shortcode syntax unfortunately there is no guide / mention of it in the plugins description.
Issue: https://github.com/PressLabs/toplytics/issues/115As for the custom posts not being retrieved this is currently not possible (articles are fetched but are filtered due to a wordpress inconsistency). I’ve added an issue and it will eventually be possible to do so.
Forum: Plugins
In reply to: [Toplytics] Cant link my GA accountCan you please double check all the steps in the documentation https://www.presslabs.com/help/toplytics/usage ?
Forum: Plugins
In reply to: [Gitium] Wrong Path for GitCan you try to reproduce it again with the docker env. see https://www.presslabs.com/help/gitium/testing#build-your-own-wordpress-local-environment-using-docker–mywordpressdocker- and set the constant WP_DEBUG=True and then send me the logs after you reproduce it locally?
Can you also send me the steps to reproduce(STR).
The STR will help me to debug and fix the issue https://github.com/PressLabs/gitium/issues/129
Forum: Plugins
In reply to: [Gitium] Wrong Path for GitThanks a lot for your feedback! It seems that a filter can solve this issue. Can you try to use the gitium code from git_path branch https://github.com/PressLabs/gitium/archive/git_path.zip and add the folowing code as a new plugin?
/** * Plugin Name: Gitium Custom Config */ add_action( 'plugins_loaded', 'gitium_custom_config' ); function gitium_custom_config() { add_filter( 'gitium_git_bin_path', function( $git_bin_path ) { return '/usr/local/bin/'; }); }
Forum: Plugins
In reply to: [Utf8ize] utf8mb4 supportHi Martijn, Maybe this will help you with your problem https://stackoverflow.com/questions/1814532/1071-specified-key-was-too-long-max-key-length-is-767-bytes/1814594#1814594
Forum: Plugins
In reply to: [Utf8ize] utf8mb4 supportForum: Plugins
In reply to: [Utf8ize] utf8mb4 supportSure, but make sure you make a full backup first and use a local DB for changes. Also take a look on https://anothercoffee.net/wordpress-how-to-fix-unknown-collation-error/
Forum: Plugins
In reply to: [Utf8ize] Blank screen instead of the SQL statementsCan you check if the function exists?
<?php if ( function_exists( 'mysql_connect' ) ) { print "mysql_connect function exists!\n"; } else { print "The function mysql_connect does not exists!\n"; if ( function_exists( 'mysqli_connect' ) ) { print "mysqli_connect function exists!\n"; } else { print "The function mysqli_connect does not exists!\n"; } }
- This reply was modified 8 years, 3 months ago by Presslabs.
Forum: Plugins
In reply to: [Gitium] Blank page after first mergeHi Jason!
I suggested the method with the HTTP repo URI plus user and password because I consider it much easier than the SSH method. I’m glad it worked.
Thank you for your feedback, please let me know if there are any further issues, feel free to add it also to github.com as well.