PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   change notify by email default to yes? (http://www.photopost.com/forum/photopost-pro-how-do-i/116775-change-notify-email-default-yes.html)

scrapster November 15th, 2005 10:04 PM

change notify by email default to yes?
 
Want to be notified by email when users post replies?

we've changed this before, but after our upgrade this is set back to not being checked. we want it checked by default. where can i do that? thanks!!

Chuck S November 15th, 2005 10:38 PM

In your uploadphoto.tmpl make the selected one yes not no

if ( $Globals['usenotify'] == "yes" && $User['userid'] != 0 ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="left">{$Globals['pp_lang']['notify']}</span></td>
<td class="{$Style['tddetails']}" align="left"><select name="notify"><option selected="selected" value="no">{$Globals['pp_lang']['no']}</option><option value="yes">{$Globals['pp_lang']['yes']}</option></select></td>
</tr>
PPPRINT;
}

Anja June 2nd, 2009 01:24 PM

This is exactly how it is written in my uploadphoto.tmpl but at the gallery in uplaodphoto the notification is set on 'no' by default from the beginning. How come?

Chuck S June 2nd, 2009 01:48 PM

Are you altering the correct template?

There are two uploadphoto templates and two sets of templates regular and vb3enhanced.

Anja June 2nd, 2009 02:20 PM

All is set on 'yes'...

Chuck S June 2nd, 2009 02:43 PM

If all templates the code meantioned say selected="selected" on the yes option then yes will be selected

Anja June 2nd, 2009 02:47 PM

meanwhile notification for given comments in upload photo at the gallery is set default 'no'. I'm confused... or does it work only when Vb is integrated?

Chuck S June 2nd, 2009 02:49 PM

feel free to post a link to your gallery

Like stated notification is set to yes when they upload a photo. If you have not altered your template to allow yes to be default users need to select yes to be notified of comments on there photos.

Chuck S June 2nd, 2009 02:52 PM

http://www.lurofoto.eu/gallery/templ...loadphoto.tmpl

Your template has not been modified according to this thread.

Anja June 2nd, 2009 03:13 PM

How can it be modified?

I'll read your awnser later, it's bedtime in this area now :-)

Chuck S June 2nd, 2009 03:39 PM

You need to edit the template as noted and make the change noted. You told me before you had done this?

Halfhidden July 5th, 2010 02:01 PM

Hi Chuck I had the same problem as above and have now swapped the yes and no (including print) around so that yes id default.
But, I hadn't noticed this setting until now and all of my members are asking if the pictures they put up can be changed from no comments to allow notification of comments. I guess this would have to be done in the database.. so would you be willing to explain where the value is in the DB so that I can change this on mass?
Thanks :D

Halfhidden July 5th, 2010 02:06 PM

Quote:

No there is not. The notification system places an entry in the notify table for the userid and photo id when they select they want to be notified. Hense there is no special cheat query to run to do this since it has nothing to do with the photos table persay.
Never mind! That is a real problem when you have thousands of members

Chuck S July 5th, 2010 02:20 PM

well then you where creating alot of notifications by a code mod you had done.

Halfhidden July 7th, 2010 07:48 AM

Quote:

Originally Posted by Chuck S (Post 1271766)
well then you where creating alot of notifications by a code mod you had done.

Yes I'm aware of that Chuck :), I was referring to those pictures that were uploaded by members whilst the setting was at No. From your quote I pasted above it suggests that it's not possible to correct the No to Yes inform on pictures that are already in the database as it would means going through each individual image and changing the settings manually. That would be Mission Impossible as we have over 20,000 images. Just wished that there was a better way! Still it's my fault I should have seen this setting a long time ago!

Chuck S July 7th, 2010 09:18 AM

No there is no program setting to go back and mass notify all photos.


All times are GMT -5. The time now is 07:41 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97