• 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 - 61 through 75 (of 80 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Yes, I see. am working on it, also on custom text. Stay tuned…

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Please install the current dev version: WPPA+ API Version: 6-4-14-005.

    The owner is now corrected as soon as a thumbnail or fs image url is calculated.

    Added Table IV-F5.3 and 5.4

    5.3: Custom email text. You can use html, keywords: w#comment, w#thumb and w#id, see the helptext.

    Example that works on my dev site:

    The comment is
    <blockquote style="background-color:#cccccc;">w#comment</blockquote>
    The thumbnail is <img src="w#thumb" />
    <br />The fullsize image is<a href="https://beta.opajaap.nl/testpage/?photo=w#id&slide&single&occur=1">here</a>

    IV-F5.4 Sublect. Do not leave this empty.

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    ok, it all works good. thanks… is there a keyword for the photo name? and… can i basically use ANY keyword there is on the entire system? like custom field keywords, etc?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    No, currently onlythe 3 i documented. Pls tell me others you want, it is simple to add them.

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    i need to be able to address the NAME of the self-portrait… so i guess the photo name

    and it would be useful to just add the ability to use any of the custom field keywords, that way i can use those fields too.

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    the original one also had the commentor’s name too… “Henry Jones commented on your self-portrait”

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Ok will do it tomorrow

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    ok thanks, sorry if i wasnt clear earlier. after that it should be all set for a long time, thanks again. you are the best.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The current dev version 6.4.006 can do it.

    Note the thumbnail url is w#tnurl

    You may use the following keywords: w#comment for the comment content, w#user for the commenters name and the standard photo description keywords w#name, w#filename, w#owner, w#id, w#tags, w#timestamp, w#modified, w#views, w#amx, w#amy, w#amfs, w#url, w#hrurl, w#tnurl, w#cc0..w#cc9, w#cd0..w#cd9.

    On my test site this works:

    The comment is
    <blockquote style="background-color:#cccccc;">w#comment</blockquote>
    The thumbnail is <img src="w#tnurl" />
    <br />The fullsize image is <a href="https://beta.opajaap.nl/testpage/?photo=w#id&slide&single&occur=1">here</a>
    The commenter is w#user<br />
    Custom data: w#cc0 w#cd0<br />
    Permalink: w#pl<br />
    Rating: w#rating<br />
    Album: w#album
    Thread Starter johnny mosaic

    (@johnny-mosaic)

    great, thanks again. should be all set on this issue now. Enjoy!

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    Question on this….

    my account is the initial owner of all imported photos. If a new user registers and changes their first and last name to the photo name, they become the owner automatically. Then, if a comment is posted on that photo, they receive the email stating that a comment has been left on their photo.

    My question is… before a person registers and enters their first and last name, my admin account user name is the “owner”. This means that any comment received on these photos will email me.

    If there any way to just make the photoname the owner on all photos?

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    also, please exolain feature IV F 5.1 (Notify users who has commented this photo earlier.)

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    maybe i need to bulk rename all my admin owner photos to something else so that i dont get all approved comment emails on the photos that have my username as the owner?

    Thread Starter johnny mosaic

    (@johnny-mosaic)

    let me ask, if i download the csv file of the ohotos, open it, change the owner names to whatever i want, upload it, will it work?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You can not yet import photo info .csv files!

    Changing the photo owner of all your photos can be done by a simple php snippet:

    <?php
    global $wpdb;
    $wpdb->query( "UPDATE ".WPPA_PHOTOS." SET owner = 'pietje' WHERE owner = 'johnny'" );
    ?>

    This changes all the photos where the owner is johnny to have the owner set to pietje.

    If you paste this in the ‘test area’, just below all the global ... lines near the top of wppa-settings-autosave.php and open the settings page, it is done.

    IV F 5.1: If user james commented on a photo, and after that user mary comments on the same photo, james gets an email with the comment of mary.

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