after updating the plugin the registration page doesn't work properly. No errors come out of the page and the registration button doesn't work but the developer console returns some errors.
Our apologies for the delay in getting back to you - we are seeing a high volume of tickets.
1) Regarding registration on this page: tbfingrosso.com/registrazione/
The problem is that there are 2/duplicate registrations there: 1) the normal registration, and 2) the registration in the sidebar (if you click on the User Icon). Our plugin's registration does not work if it's duplicated. In this kind of setup, we need to remove the sidebar registration - it can be done with a JavaScript snippet.
2) Regarding the notification not appearing, I believe the problem is the Kinsta Cache in the site.
But I believe we have solved the issue.
We added a simple parameter to the url after registration, "?redir=1" and this seems to force the site to load a new cache and it's not working in the first try in my tests.
Thank you very much Stefan for solving the issues and the explanations!
1) About the registration, do you mind putting the snippet here so that I can try it first?
2) Many thanks about it, I also thought it was related to the cache but didn't know what to do. I saw that you added it in the file "class-b2bking-public.php" . Will I need to add it every time I update the plugin in the future?
1) The snippet to remove the sidebar in your site would be:
jQuery(document).ready(function(){
if (jQuery('body').hasClass('page-id-7521')){
jQuery('.et-mini-content').remove();
}
});
It simply removes the sidebar registration if the page is the "registrazione page".
2) I have added that solution to the main B2BKing plugin (perhaps it can help solve similar caching issues for other customers as well). So there will be no need to add it manually - it will already be included in future versions.
Hello,
after updating the plugin the registration page doesn't work properly. No errors come out of the page and the registration button doesn't work but the developer console returns some errors.
Can you please have a look?
Regards.
Hi Ronghai,
Our apologies for the delay in getting back to you - we are seeing a high volume of tickets.
1) Regarding registration on this page: tbfingrosso.com/registrazione/
The problem is that there are 2/duplicate registrations there: 1) the normal registration, and 2) the registration in the sidebar (if you click on the User Icon). Our plugin's registration does not work if it's duplicated. In this kind of setup, we need to remove the sidebar registration - it can be done with a JavaScript snippet.
2) Regarding the notification not appearing, I believe the problem is the Kinsta Cache in the site.
But I believe we have solved the issue.
We added a simple parameter to the url after registration, "?redir=1" and this seems to force the site to load a new cache and it's not working in the first try in my tests.
Kind regards,
Stefan
Thank you very much Stefan for solving the issues and the explanations!
1) About the registration, do you mind putting the snippet here so that I can try it first?
2) Many thanks about it, I also thought it was related to the cache but didn't know what to do. I saw that you added it in the file "class-b2bking-public.php" . Will I need to add it every time I update the plugin in the future?
Many thanks again.
Hi Ronghai,
Happy to help,
1) The snippet to remove the sidebar in your site would be:
It simply removes the sidebar registration if the page is the "registrazione page".
2) I have added that solution to the main B2BKing plugin (perhaps it can help solve similar caching issues for other customers as well). So there will be no need to add it manually - it will already be included in future versions.
Kind regards,
Stefan
Thank you Stefan for the help. Have a nice day.