Thank you for the good description and the pictures. I think I now understand the problem I’m having.
Apparently I didn’t understand your question (“Are you assigning the reviews to the page?“) correctly. I thought the question was related to the ‘glsr_assigned_users’ database table. In this table, each ‘rating_id’ is assigned the correct ‘user_id’, but all WordPress pages are assigned to the author “Admin”. I’m using the “Pods” plugin and all WordPress authors fill the custom content types and fields in “Pods”. All pages are more a kind of “templates” and the page content is pulled from Pods at runtime.
I suspect that I’ll probably have to add my own routine to “/plugins/site-reviews/plugin/modules/Notification.php” so that email notifications to the authors work correctly in my specific case. But first I have to understand your program code – hopefully I can do that, because I’m not a PHP programmer.
But everything I need is actually there:
1. The ‘rating_id’ and the correct ‘user_id’ are saved in the database table ‘glsr_assigned_users’.
2. The corresponding User-ID is stored in the ‘ID’ field and the e-mail address is stored in the ‘user_email’ field in the ‘users’ database table.
I guess that I have to integrate a query somewhere in the “function getEmailAddresses()” in ‘Notification.php’, which then retrieves the matching user-id and email address from the database table ‘users’. I think the email address then has to be added to the “email[]” array in the “function getEmailAddresses()”.
Okay, this probably won’t be fun for me…
but thank you very much so far…