• Resolved johnny mosaic

    (@johnny-mosaic)


    I have it set up now for each photo to receive comments.

    Also if a person is logged in and their first and last name matches the photo name, they can edit the custom field that i set up for them.

    But now, is there a way, if a person is a user and if their photo receives a comment that the admin approves, can there be an automatic email that goes to that user (assuming they have registered for the sight and given an email address , first and last name that matches their photo) telling them they received an approved comment?

    https://www.ads-software.com/plugins/wp-photo-album-plus/

Viewing 15 replies - 31 through 45 (of 80 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Should work if Table IV-F5 is set to —admin—

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    while i am checking that, also i need to edit the email that goes out to the photo owner…

    for one, it includes the commentors email address and i dont want that to be there… where can i edit that email template?

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    i had IV F5 set to admin & owner, just changed to admin, will test.

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    ok we look good now, but i just need to edit the email template. how might i do that?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    wppa-utils.php, line 962:

    Change

    wppa_send_mail( $user->user_email, __( 'Approved comment on photo', 'wp-photo-album-plus' ), $content, $com['photo'] );

    into:

    wppa_send_mail( $user->user_email, __( 'Approved comment on photo', 'wp-photo-album-plus' ), $content, $com['photo'], 'void' );

    This will hide the email address of the commenter. This will be in the release version also.

    I.e. add , 'void' as last argument

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    ok, thanks.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    New uploads may not have their owner set right immmediately. I will will change that in the erelease version. You need no action, once the new photo has been viewed ( in a slideshow ) it will get the right owner.

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    ok, but also, couldnt i just run the button click again if i upload more before the next version?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Yes, of course. It will say: 12 Fixed, 10000 skipped or so

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    Great.
    Now if I could just make it so that registered users photo would automatically become their profile image, that would be a nice feature… But I know that might be something for down the road.

    Once again you have been very helpful, Thank you.

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    It’s time for me to donate to you again, ha ha.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Thanx for your donation. The profile image hase the users to do themselves, uploading a gravatar. This can not be done automaticly.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Thanx for your donation. The profile image hase the users to do themselves, uploading a gravatar. This can not be done automaticly.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I released the new version. You will probably not see that there is an update because of your version number is already 6.4.14. However, if you delete the plugin and install as if it is a new plugin, you will benefit the latest changes, a.o. that the owner is now changed immediate after upload.

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    one thing, you showed me how to change the line in wppa-utils.php, line 962 to remove the commenters email, and that works great, but also, i had changed some of the wording of that notofication email (changed “comment on photo” to “comment on self-portrait”, and added a few lines, but when i updated these went away.

    is there a way for me to protect these changes from updates?

Viewing 15 replies - 31 through 45 (of 80 total)
  • The topic ‘Email to specific user when their photo receives approved comment’ is closed to new replies.