benjaminniess
Forum Replies Created
-
Forum: Plugins
In reply to: [Breadcrumb NavXT] Custom item links disappearedHi John,
Thank you for your help and sorry for the delay!
Best,
BenForum: Plugins
In reply to: [JWT Authentication for WP REST API] New filter requestWhat I’d suggest is adding the following code in the class-jwt-auth-public.php file on line 200.
if ( true === apply_filters( 'jwt_auth_skip_authentication', false ) ) { return $user; }
With this filter we could skip the auth process when we need to.
Thank you.
Best,
BenForum: Plugins
In reply to: [Theme My Login] Filter request for form submit button labelHi Jeff,
Thank you, the
set_label
method is exactly what I was looking for.Best
Forum: Plugins
In reply to: [Theme My Login] Filter request for form submit button labelHi Jeff,
Thanks for your reply. I don’t see this new action in the latest version of the plugin and I don’t get how I could change the field label with and action before the render process.
I think the filter I suggested would do the job.
Let me know if I can help you.
Best,
BenForum: Plugins
In reply to: [Recommend to a friend] unexpected T_STRING errorNo problem
Forum: Plugins
In reply to: [Recommend to a friend] unexpected T_STRING errorHello @mvincik,
Thanks for your message.
This line is calling a method from an external class which use the PHP 5.3+ namespace feature. I guess that if you get this error, it’s because you are using an older version of PHP.
Could you update your PHP version to 5.3 or higher and tell me if it solves your problem?
Forum: Plugins
In reply to: [Authorizer] Saving CAS attributes as usermetaThanks for the release!
Best,
BenForum: Plugins
In reply to: [Authorizer] Saving CAS attributes as usermetaHi Paul,
Do you have an idea of the next release date?
Thanks and have a good week.
Forum: Plugins
In reply to: [Mailjet Email Marketing] Widget filters requestHi,
Could you give me an answer please?
Forum: Plugins
In reply to: [WP Calameo] Bad usage of shortcodeHello there!
Did you get a chance to look at my code?
Thanks.
Forum: Plugins
In reply to: [Authorizer] Saving CAS attributes as usermetaYeahhh! Thanks mate!
Forum: Plugins
In reply to: [Authorizer] Saving CAS attributes as usermetaHi Paul,
Thanks for you help.
I tried those 2 filters but as I mentioned, it’s too early because on the first user login, when the hooks are called, the user does not exist so I can’t run a get_user_by function.
What I’d recommend instead is having an action after
$user = new WP_User( $result );
on line 741 with the$user_data
var.Something like:
// Authenticate as new user $user = new WP_User( $result ); do_action( 'authorizer_user_login', $user_data );
Does it make more sense?
Thanks again.
Best,
BenForum: Plugins
In reply to: [Mailjet Email Marketing] Widget filters requestHi,
Do you think that you could add this filter in the next release so we can customize the render of the email?
Thanks
Forum: Plugins
In reply to: [Mailjet Email Marketing] Configure From NameHi,
Did you get a chance to have a look at this ticket? So far we still need to add an extra plugin a add some code to customize the email from name.
Thanks
Forum: Plugins
In reply to: [WP Calameo] Bad usage of shortcodeHi again,
I’ve made the changes I was talking about a few hours ago. You can give it a go and if everything is ok for you I reckon that you release a new version with this code. I’ve already updated the version number, changelog etc.
Basically what I’ve done :
– Updated the code to use the native shortcode API
– Fixed the structure to fit with WP Coding standards
– Used a class and the plugins_loaded hook to make sure that everything is loaded before calling the plugin
– It doesn’t change the behavior of the plugin and there’s no need for existing users to change the way they call the previous “old way” shortcode.Here is the repo where you can find the code. Let me know if you have some questions.