• Resolved vueltaconicarus

    (@vueltaconicarus)


    Dear all,

    I maintain a small blog where unregistered users can submit posts. For that I use the plugin “User Submitted Posts”. Users can specify their name, but internally the author’s name is always set to a default (registered) admin user.

    In addition I use Jetpack to offer users the possibility to subscribe to E-mail notifications. The problem now is that Jetpack uses the default author name instead of the user submitted one in the E-mail notification. However, “User Submitted Posts” returns the correct (submitted) author name in the tag “usp_author_link()”.

    Now my question: Where in Jetpack’s code can I replace the normal author tag by usp_author_link(), to put the correct submitted user name in the notification E-mail?

    Thanks for any suggestions,
    Manfred

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    internally the author’s name is always set to a default (registered) admin user.

    I think that’s the issue here, as Jetpack relies on that value when sending the subscription emails.

    A possible alternative would be to set up “User Submitted Posts” so it requires users to be logged in to submit a post. If these users have an account, the plugin then sets the post author as their account. The process is detailed under “More Questions & Answers” on this page:
    https://ww.wp.xz.cn/plugins/user-submitted-posts/faq/

    Let me know if it helps.

    Thread Starter vueltaconicarus

    (@vueltaconicarus)

    Dear Jeremy,

    Thanks for the reply!
    I am well aware that I could circumvent the issue by requiring users to register. However, for certain reasons I want to keep it working without registration. I already contacted the developer of “user submitted posts”, and the way to go is to use the usp_author_link() tag. I just have to find out where to put it…

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I’m afraid you won’t be able to do that in Jetpack’s Subscription emails, since the emails are sent from WordPress.com servers. You won’t be able to customize the output of the emails yourself in this case.

    Since you don’t have control over the email output, I’m afraid the only way would be to fix the author’s name in the post.

    Thread Starter vueltaconicarus

    (@vueltaconicarus)

    Well, thanks for the clear answer. Then maybe I will have to look for a completely different solution…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Wrong author name in E-mail notification for user submitted posts’ is closed to new replies.