texteditor
Forum Replies Created
-
Forum: Plugins
In reply to: [WPMU Blog Name Restrictions Override] Broken in latest releasePlease add me as a maintainer too. I found a way to allow hyphens and underscores by default, but I would like to have this and other overrides available as options as what was done in this plugin.
Forum: Plugins
In reply to: [Custom Content Type Manager] Error Updating to version 0.9.8I have the exact same error starting with
`Warning: require_once(loader.php): failed to open stream: No such file or directory in ….’\I have to revert the plugin to 0.9.7
Please fix this and take down the ‘Update Available’ notification until this is fixed. Thanks.
Forum: Plugins
In reply to: [Download Monitor] Title of the download dont show – on download pageferreira2u – I was able to do this. Please contact me.
https://ww.wp.xz.cn/support/topic/show-download-title-in-csvForum: Plugins
In reply to: [Download Monitor] Show Download Title in CSVNever mind. I made it work. I would like to submit my change to GitHub – Others may want to show the Download Title in their CSV export. Thanks.
Forum: Plugins
In reply to: [Download Monitor] Conflict with WPML pluginGreetings, Download Monitor version 1.6.2 appears to conflict with Custom Content Type Manager (CCTM) custom fields. No way to insert shortcode, no way to insert or upload a file. Lightbox open and just ‘hangs’. Using WordPress 4.1
I cleared all caches, optimized DB, deactivated and reactivated plugins, etc.
NOTE: version 1.5.1 of Download Monitor works PERFECTLY with CCTM, WordPress 4.1
Thanks
Forum: Plugins
In reply to: [Download Monitor] How to count download by Category instead of single item?Greetings. I can do these changes for hire. I have customized some queries for our usage of Download Monitor already.
Forum: Plugins
In reply to: [Download Monitor] Export Download file Title (not filename) to CSVNever mind! I have it working. It is an INNER JOIN query change in class-dlm-admin.php
In the “Export Logs” function lines 468 – 611 here are the modifications
$items = $wpdb->get_results( $wpdb->prepare( "SELECT p.ID, p.post_title, d.ID, d.download_id,d.type,d.version_id,d.user_id,d.user_ip,d.user_agent,d.download_date,d.download_status,d.download_status_message FROM $wpdb->download_log AS d INNER JOIN $wpdb->posts AS p ON p.ID = d.download_id WHERE d.type = 'download' " . ( $filter_status ? "AND d.download_status = '%s'" : "%s" ) . " " . ( $filter_month ? "AND d.download_date >= '%s'" : "%s" ) . " " . ( $filter_month ? "AND d.download_date <= '%s'" : "%s" ) . " ORDER BY d.download_date DESC", ( $filter_status ? $filter_status : "" ), ( $filter_month ? date( 'Y-m-01', strtotime( $filter_month ) ) : "" ), ( $filter_month ? date( 'Y-m-t', strtotime( $filter_month ) ) : "" ) ) ); $rows = array(); $row = array(); $row[] = __( 'Title', 'download-monitor' ); $row[] = __( 'Download ID', 'download-monitor' ); $row[] = __( 'Version ID', 'download-monitor' ); $row[] = __( 'Filename', 'download-monitor' ); $row[] = __( 'User ID', 'download-monitor' ); $row[] = __( 'User Login', 'download-monitor' ); $row[] = __( 'User Email', 'download-monitor' ); $row[] = __( 'User IP', 'download-monitor' ); $row[] = __( 'User Agent', 'download-monitor' ); $row[] = __( 'Date', 'download-monitor' ); $row[] = __( 'Status', 'download-monitor' ); $rows[] = '"' . implode( '","', $row ) . '"'; if ( ! empty( $items ) ) { foreach ( $items as $item ) { $row = array(); $row[] = $item->post_title; $row[] = $item->download_id; $row[] = $item->version_id; $download = new DLM_Download( $item->download_id ); $download->set_version( $item->version_id ); if ( $download->exists() && $download->get_the_filename() ) $row[] = $download->get_the_filename(); else $row[] = '-'; $row[] = $item->user_id; if ( $item->d.user_id ) $user = get_user_by( 'id', $item->user_id ); if ( ! isset( $user ) || ! $user ) { $row[] = '-'; $row[] = '-'; } else { $row[] = $user->user_login; $row[] = $user->user_email; } $row[] = $item->user_ip; $row[] = $item->user_agent; $row[] = $item->download_date; $row[] = $item->download_status . ( $item->download_status_message ? ' - ' : '' ) . $item->download_status_message; $rows[] = '"' . implode( '","', $row ) . '"'; } }Forum: Plugins
In reply to: [Link Library] Suggestion: support WordPress tagsAgreed. Would you be able to add support for tags in the next release? I would be willing to test and help if needed.
Forum: Plugins
In reply to: [Link Library] GD Star RatingI agree. Can link rating be integrated into this plugin, whether it is dependent on another plugin or its own system?
Thanks!