• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

MG 1.1 Question about imported media and albums, watching media, and email

#1
I've imported albums from vb3.8 to XFMG. My question is, for the albums that were imported, will creators of the albums automatically be watching their albums like they would if they just created them? I want to make sure they're getting email when people comment on their old pictures.
 

Chris D

XenForo developer
Staff member
#4
This should work but please back up your database first in case anything goes wrong, also you may wish to adjust the values slightly:
Code:
INSERT IGNORE INTO xengallery_media_watch
    (user_id, media_id, notify_on, send_alert, send_email)
    (
        SELECT user_id, media_id, 'comment' AS notify_on, '1' AS send_alert, '1' AS send_email
        FROM xengallery_media
    )
This will make it so that everyone who has uploaded media items will be watching their media items for new comments. If a new comment is posted on a media item they will receive an alert and they will receive an email.

If you require a different behaviour, let me know.