Pynet
Forum Replies Created
-
<font style=”vertical-align: inherit;”><font style=”vertical-align: inherit;”>H</font></font>i,
We got everything we wanted thanks to your tutorials, but we have one more question.
As we only award 1% of the total invoice in points, it generates decimals, could these be cumulative or are they lost?
I mean, 1% of 40,75€ would be 0.4575 points, would this mean that no points would be awarded to the user? And in future purchases would these decimals be lost?
Thank you very much.
Best regardsHello,
After taking a look at the tutorial (thank you very much for that), we still have a few little doubts about the operation and configuration.
Our goal is to connect two websites. The user by clicking on a menu item on the main website (A) will be able to connect to the subdomain (B) directly. The registration of that user on B we will do manually for various reasons.
That said:
1- Does the plugin have to be installed and configured in the same way in both A and B?
2- Is it possible to use a shortcode similar to the Mailpoet integration to display the link with the token on site A or is there another simpler way?
3- The function shown in “Code examples” (once we have it adapted to our website) where should it go? In child-theme/functions.php?
Thank you very much for all the help.
Best regardsHello,
Any word on the code?
Best regardsHello,
Thank you very much for all the information and links.
We assume that, for what we need, it is necessary to use the hook “simple_jwt_login_login_hook”, to show the final link in the menu (to which we have put a title to be able to identify it and establish the link by code). Is it so?
And yes, our main code is in PHP and although we have some of our own code in functions.php, we don’t have enough knowledge to do this process ourselves, so we’d appreciate all the help we can get here.
For now, identifying yourself by email seems to be enough. We have set up both the JWT key and an Auth Codes key.
Thank you very much!
Best regardsHello,
Thanks for getting back to us.
We understand that part for now.
Our goal is that when a user logs in, there will be a menu item that will allow him to connect to the second site in wordpress, but we don’t know how to specify the already encrypted JWT token, and the user credentials automatically and have wordpress display the final link.
That is where we are getting stuck.
Thanks.
Best regardsThat should work, yes.
We were already using that filter to hide the URL to the user’s profile, but we have tested the modifications with the username and, on the web part, they work as we want, so using it also in emails would be perfect for us.
Thank you very much!Yes, I know I can customise the username that is displayed for each user, but unfortunately WordPress does not give the option to use the user id, which is what we use for security.
I could use the bp_better_messages_overwrite_email filter, but I wanted to know if it would be possible to avoid adding such a big filter for such a small change.Regards
Hi,
I’ve been searching and I’ve found out that the function that performs the search in the field I’m referring to is get_suggestions in the rest-api.php file, which sends the result to the rest_user_item function which, in turn, returns the result through the better_messages_rest_user_item filter.
I have made several tests directly in the get_suggestions function and I have managed to filter the results as my client wants, but I would like to know if I can apply this restriction before accessing the better_messages_rest_user_item filter, to avoid querying data (avatar, url, etc) in vain.
I hope I have explained myself correctly. Sorry for all the inconvenience.
Regards.Hi again,
I have seen that filters have been added, but, I think, only for the search input of users and messages.
Is it going to be possible to apply a filter or other restriction to the search for new conversations? Or does the already published filter affect what we need?
Thank you very much.
Best regardsYes, I am referring to the search when starting a new conversation.
In the screenshot I explain it a bit better: when I click on the “New conversation” icon, a member search field appears. It is this field to which I would like to apply the role restriction.
Thank you very much and I’m sorry I didn’t explain correctly.Hi,
My client would want the search to be active, so we have this problem.
Should I assume that there is no way to apply the role restriction in the search for now?Ok, thanks you!
Hi,
I am sorry it is not possible to do it, but I appreciate it.
Thank you very much.
Regards