Federico Andrioli
Forum Replies Created
-
Closing this since I got no reply.
Hi Eric, the plugin is not abandoned, I’m just too lazy to update the WP tag (and busy with other projects).
Your use case should work no problem, can you give me a bit more context about that code snippet? Where are you running it? A video (you can use Loom which is free) where I can clearly see all the steps to reproduce the problem would be best. Thanks.Forum: Reviews
In reply to: [BugFu Console Debugger] Nice when it works, often doesn’tNot abandoned, I’m just too lazy to update the WP tag. If you can send me a video (you can use Loom which is free) where I can clearly see how to reproduce the error, I’ll try to fix it. I use BugFu on a daily basis on all my websites with no issues but I don’t have any experience with Litespeed cache (and you’re the first person who mentions this problem). In the meanwhile I’ll still try to run some tests, but I would appreciate some more details from you, thanks.
Forum: Plugins
In reply to: [Auto Approve Comments] Unable to load jQuery@csgaraglino @yerfo would you be able to provide me with a temporary admin access to your website to run some tests?
I don’t seem to be able to reproduce the problem just by looking at the configuration provided by the “Simple System Status” plugin, so that’s not helping me to find and fix this issue.
Alternatively, if you don’t trust me accessing your website (which is understandable), could you provide me with a complete website backup (maybe made with Duplicator https://www.ads-software.com/plugins/duplicator/), so I can experiment locally on my computer without the risk of anything bad happening to your website?
Let me know if you can do that so we can agree on how to proceed, I’m afraid that I won’t be able to help otherwise,
thanks
FedericoForum: Plugins
In reply to: [Auto Approve Comments] Unable to load jQuery@giacomopapasidero just sent you an email
Forum: Plugins
In reply to: [Auto Approve Comments] Unable to load jQueryHi @giacomopapasidero I’ll try my best, but I need your help.
In order to find out what’s causing the issue (specifically in your WordPress installation) I need some technical info from you, so I’d appreciate if you could follow these steps:
1) Install and activate this plugin https://it.www.ads-software.com/plugins/simple-system-status/
2) Go to Tools (Strumenti) -> Simple System Status
3) Scroll at the bottom of that page
4) Click the button “Generate new URL”
5) Copy-paste the generated URL here, so I can directly access some status/debug info about your website and investigate the causes of this issueLet me know if you can do that, thanks
@artmerk (CC @rossq @lolitsjohnnyboy @ultimatemembersupport) I’m having the same issue and I still didn’t get to the root cause, but while I was investigating the problem I discovered a vulnerability that allows to retrieve all usernames from each password reset page, I just posted the issue on github here https://github.com/ultimatemember/ultimatemember/issues/541
So I recommend that you use the standard WordPress password reset page until this gets fixed.
Here’s my personal workaround to do that while still using the UM email templates:
1) Copy-paste the code below in your theme functions.php
2) Use the new tag {custom_password_reset_link} in your email templates
3) This tag gets replaced with the standard WordPress password reset linkadd_filter( 'um_template_tags_patterns_hook', 'my_template_tags_patterns', 10, 1 ); function my_template_tags_patterns( $placeholders ) { /* your custom password reset page TAG */ $placeholders[] = '{custom_password_reset_link}'; return $placeholders; } add_filter( 'um_template_tags_replaces_hook', 'my_template_tags_replaces', 10, 1 ); function my_template_tags_replaces( $replace_placeholders ) { $currentUserLogin = $replace_placeholders[4]; #this contains the user login; $currentUser = get_user_by( "login", $currentUserLogin ); $resetPassKey = get_password_reset_key( $currentUser ); /* standard WordPress password reset page URL */ $customResetPassUrl = wp_login_url().'?action=rp&key='.$resetPassKey.'&login='.rawurlencode($currentUserLogin); $replace_placeholders[] = $customResetPassUrl; return $replace_placeholders; }
Maybe you could also try to use a separate plugin (https://www.ads-software.com/plugins/tags/reset-password/) to create a custom password reset page and modify the code above to have the {custom_password_reset_link} tag replaced with this new custom page URL, but I haven’t tested this solution, so I can’t guarantee that it will work (and in any case I personally prefer to stick to what works for sure).
For the ones of you who are curious, here’s the official documentation for the 2 hooks I used:
1) um_template_tags_patterns_hook
https://docs.ultimatemember.com/article/1283-umtemplatetagspatternshook
SOURCE
https://github.com/ultimatemember/ultimatemember/blob/master/includes/um-short-functions.php#L1582) um_template_tags_replaces_hook
https://docs.ultimatemember.com/article/1284-umtemplatetagsreplaceshook
SOURCE
https://github.com/ultimatemember/ultimatemember/blob/master/includes/um-short-functions.php#L202- This reply was modified 5 years, 10 months ago by Steven Stern (sterndata).
- This reply was modified 5 years, 10 months ago by Federico Andrioli.
Forum: Plugins
In reply to: [BugFu Console Debugger] Activation errorI’m glad it worked. Thanks for your review by the way!:)
Forum: Plugins
In reply to: [BugFu Console Debugger] Activation errorHi, I just tested it with a clean WP 4.6.8 install, using PHP 7.0 and it works, but I know that BugFu might have issues with older PHP versions (<5.6).
Please let me know which PHP version you’re running and I’ll try to do more testsForum: Plugins
In reply to: [BugFu Console Debugger] Apache trottlesHey Thomas, sorry for being late on this, just fixed that notice issue in version 1.2.2
I’m closing this topic but feel free to open a new one if you have any more feedback related to bugs or new features you would like to see.
And, last but not least, if you like BugFu I would really appreciate it if you could rate it here ??
Thanks!Forum: Plugins
In reply to: [BugFu Console Debugger] Apache trottlesThomas, I decided to release the updated version (1.2.1) eventually, let me know if it solves the problem for you too (it should), thanks!
Forum: Plugins
In reply to: [BugFu Console Debugger] Apache trottlesHey Thomas, thanks for the info, I might have fixed it (at least it works for me now, there’s no more CPU overhead when BugFu is active), can you please test this updated version?
https://github.com/fedeandri/bugfu-console-debugger/archive/master.zipPlease overwrite your BugFu version with this one and then delete your browser’s cache in order to be sure that your using the updated JavaScript file, which is the only one I changed (js/ajax-bugfu-console-debugger.js you can also overwrite only this one, your choice)
If it also works for you, I’m going to release an updated version here.
Thanks a lot for your help!
Forum: Plugins
In reply to: [BugFu Console Debugger] Apache trottlesHi Thomas, thanks for the feedback, that’s probably due to the ability to debug AJAX calls that I added in this 1.2 version.
In order to be able to debug AJAX calls in realtime (without the need to manually refresh the page), BugFu uses polling and does one call to the server every 300 milliseconds.I couldn’t think of a better way to achieve this, but I’ll look into it to see if there’s a better way to get to the same result (worse case I’ll add an option to turn this feature on and off).
If you have any suggestion in this regard, please feel free to drop me a line here ??
In the meanwhile here are some temporary fixes for you:
– use the previous version (1.1) that doesn’t have the AJAX calls debug feature
– leave BugFu on only for the necessary time to debug your code and then turn it offOne final recommendation, if possible only use BugFu on your (local) development server.
Hope this help (until I find a better solution) and thanks again for pointing out this issue, I’ll work on it as soon as possible.
Forum: Plugins
In reply to: [BugFu Console Debugger] Update problemsThank you for pointing that out! ??
Forum: Plugins
In reply to: [BugFu Console Debugger] Update problemsHey Steigenhaus, it was a silly bug that I fixed in the last version (1.1), if you update the plugin the “update available” notice should disappear.
Let me know if you have any other issue or feedback (feedback is always appreciated), thanks!