No3x
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Mail Logging] When resend the mail is send twiceHi @sandwebdesign,
there is currently a bug and there is no easy fix for it.
Cause: Resending is done by a GET parameter in the url that is no cleared after doing the resend action.
Problem: the resend flag persists in the url and causes to do a resend whenever you submit the page.
Workaround: After resending a mail click on the mail icon in the navigation bar to make sure the URL is safe again.Forum: Plugins
In reply to: [WP Mail Logging] Help I Can’t see the email address from incomming emailsCan’t reproduce. Filled a pretty simple gravity form that sends mail notification.
Logged and raw view:Time: 2017-12-05 15:15:46 Receiver: xxx@yahoo.de Subject: Neues Anmeldeformular Contact Message: <table width="99%" border="0" cellpadding="1" cellspacing="0" bgcolor="#EAEAEA"><tr><td> <table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#FFFFFF"> <tr bgcolor="#EAF2FA"> <td colspan="2"> <font style="font-family: sans-serif;font-size:12px"><strong>Name</strong></font> </td> </tr> <tr bgcolor="#FFFFFF"> <td width="20"> </td> <td> <font style="font-family: sans-serif;font-size:12px">Christian</font> </td> </tr> <tr bgcolor="#EAF2FA"> <td colspan="2"> <font style="font-family: sans-serif;font-size:12px"><strong>E-Mail</strong></font> </td> </tr> <tr bgcolor="#FFFFFF"> <td width="20"> </td> <td> <font style="font-family: sans-serif;font-size:12px"><a href='xxx@yahoo.de@yahoo.de'>xxx@yahoo.de@yahoo.de</a></font> </td> </tr> <tr bgcolor="#EAF2FA"> <td colspan="2"> <font style="font-family: sans-serif;font-size:12px"><strong>Message</strong></font> </td> </tr> <tr bgcolor="#FFFFFF"> <td width="20"> </td> <td> <font style="font-family: sans-serif;font-size:12px">Test</font> </td> </tr> </table> </td> </tr> </table> Headers: From: "xxx@yahoo.de" ,\nContent-type: text/html; charset=UTF-8 Attachments: Error:Forum: Plugins
In reply to: [WP Mail Logging] Background color bugHi @catmaniax,
I’m aware of this issue. But there is no easy fix for this. I can elaborate if if you are technically interested in this.
Forum: Plugins
In reply to: [WP Mail Logging] Cannot see attachmentsHi @alemarengo84,
not all plugins provide public access to their assets. At least you know now what attachment was attached to the mail and then you can access it on the file system.
If you really want to access it via HTTP you could configure your webserver to authenticate users before permitting access.
https://httpd.apache.org/docs/2.4/howto/auth.html
https://www.nginx.com/resources/admin-guide/restricting-access-auth-basic/
But this is out of my scope.Forum: Reviews
In reply to: [WP Mail Logging] Works very well.@dacgarz, thanks for your kind feedback.
Please consider making a donation if you like the plugin.Forum: Plugins
In reply to: [WP Mail Logging] Access database by SQL quiriesHi @dacgarz,
Of course you can query whatever you want on the database table. There is no build in support in my ORM for what you are trying to do so you have to use plain SQL.
There are issues with your query:
$lastemailed = $wpdb->get_var($wpdb->prepare("SELECT timestamp FROM $wpdb->wpml_mails WHERE receiver=%s AND subject=%s", $useremail, $list_subj));
Please enable WP_DEBUG and try to read error messages.1.
$wpdb->wpml_mails
$wpdbhas no member wpml_mails. Use
$tablename = $wpdb->prefix . 'wpml_mails';
instead.
2. Order by date to get latest
3. Quote your search strings
4. Limit is not required by the nature of get_var.global $wpdb; $tablename = $wpdb->prefix . 'wpml_mails'; $timestamp = $wpdb->get_var($wpdb->prepare("SELECT timestamp FROM $tablename WHERE receiver=\"%s\" AND subject=\"%s\" ORDER BY timestamp DESC", $useremail, $list_subj)); submit_button( $text = $timestamp, $type = 'secondary', $name = 'button_latest' );Please note that the receiver and subject must match exactly with your current query. You might want to use LIKE.
- This reply was modified 8 years, 7 months ago by No3x. Reason: typo
Forum: Plugins
In reply to: [WP Mail Logging] Feature request – subject filteringThanks for the suggestion. You can track the status of feature here https://github.com/No3x/wp-mail-logging/issues/68
Forum: Plugins
In reply to: [WP Mail Logging] Plugin removed from repository?Sorry I did not even had access to the plugin site here on WP.org to respond to the question while the plugin was suspended.
Please update to the latest version as soon as possible. The fix for this bug was really easy since protection against cross site scripting was implemented in a prior version but messed up during a refactoring.
Kind regards
No3xForum: Plugins
In reply to: [WP Mail Logging] Not necessary queriesI might work on this in the next time. Is it better to query an option (because it’s likely cached)?
Please ignore all redux related queries for now. Because I plan to remove redux in a feature release.
- This reply was modified 8 years, 7 months ago by No3x.
Forum: Plugins
In reply to: [WP Mail Logging] Woocommerce large order mail not loggingPlease check the php error log. If it’s not logged then there is likely a error message that explains the cause.
- This reply was modified 8 years, 7 months ago by No3x.
Forum: Plugins
In reply to: [WP Mail Logging] Redux framework notices1. Easy enough to remove. Makes it near impossible for users to send us a support URL if you’re not around. Up to you.
That’s a global decision. I can’t decide for plugin x that uses redux too.
2. Permitted if you support the project
People think I want them to buy redux even when your notices always say “Redux devs: ..”. My plugin is non-commercial.
It is related to the mini icons at the bottom of each panel (Facebook, Twitter, GitHub) and we think those should be your URLs, not ours.
These share_icons links were customized and do not contain links to redux. The admin_bar_links are in question! But..
Meaning, please remove the footer links in your config
It was decided to remove the admin_bar_links yesterday already.
I have learned that redux only makes sense if you can buy the ads remover. Otherwise people get distracted by redux notices and pages. This leads to wrong assumptions about the plugin itself and bad reviews complaining about “ads”, “hide”, “bloat”.
Forum: Plugins
In reply to: [WP Mail Logging] Redux framework noticesHi @dovyp,
thanks for joining the discussion. Can you please write about your point of view regarding:
1. Removing the redux-about submenu in plugin code is permitted.
2. Removing redux ads (when WP_DEBUG is true) in plugin code is permitted.Can you elaborate on
We can’t properly support users of code we didn’t write.
I understand that redux is a framework and you can’t control how it’s used. Do you want to change issue management between plugin users and redux?
Forum: Plugins
In reply to: [WP Mail Logging] BUG: Duplicate QueriesThis is an optimization in performance but no defect. If you want to fix this pleasse read https://github.com/No3x/wp-mail-logging/blob/master/CONTRIBUTING.md#making-changes
Forum: Reviews
In reply to: [WP Mail Logging] Super useful!Hi @pomegranate!
Thanks for your kind feedback and the suggestion regarding the redux links.
Please consider making a donation if you like the plugin.Forum: Plugins
In reply to: [WP Mail Logging] Redux framework noticesThanks for the suggestion. You can track the status of feature here https://github.com/No3x/wp-mail-logging/issues/66