Thread Starter
bbua97
(@bbua97)
If you could provide me with filters on how to get the query parameters for the current logged in user and also a filter where I can speficy the form action url if the user is logged-in I can work with it.
Thread Starter
bbua97
(@bbua97)
Ok it’s even more confusing now. It seems I don’t need the parameters for the profile_newsletter shortcode but it only worked, as I subscribed myself (admin) for the newsletter. There is still the problem that If I click on save, I get redirected to the default public newsletter page which is not how it should work for the logged-in users after doing some changes on their profile form.
Thread Starter
bbua97
(@bbua97)
Also if i try to manual enroll myself in the backend, the form says “No subscribers found”.
Hello @bbua97, and thanks for using our plugin. I will try to clarify things here as I totally get this can be a little bit confusing. So, here’s how profile page currently work:
- You can have a single “service” page, with the tag [newsletter] in it, which will be used for every service message to your subscribers as well as profile page. Or, you can set up a custom profile page, with the tag [newsletter_profile], which is what I assume you did.
- If you went with the latter, when someone reach that page various checks may happen: if you’re a logged in user, the plugin checks if there is a correspondence with a subscriber (using user_id, not email address) and if found, it will show the profile page of that subscriber. If there’s not, a “no subscriber found” message will be shown. This is why that page started working for you as soon as you subscribed to your own newsletter.
- We will take a look at what happens once somebody edits their profile info and click save, this may be a bug from our side.
I hope I made things clearer for you, if not, I’m here to help.
Thanks,
Michael