 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
November 15th, 2005, 11:04 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 139
| 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!!
|
| |
November 15th, 2005, 11:38 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
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;
}
|
| |
June 2nd, 2009, 02:24 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: The Netherlands
Posts: 226
|
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?
|
| |
June 2nd, 2009, 02:48 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
Are you altering the correct template?
There are two uploadphoto templates and two sets of templates regular and vb3enhanced.
|
| |
June 2nd, 2009, 03:20 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: The Netherlands
Posts: 226
|
All is set on 'yes'...
|
| |
June 2nd, 2009, 03:43 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
If all templates the code meantioned say selected="selected" on the yes option then yes will be selected
|
| |
June 2nd, 2009, 03:47 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: The Netherlands
Posts: 226
|
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?
|
| |
June 2nd, 2009, 03:49 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
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.
|
| |
June 2nd, 2009, 04:13 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: The Netherlands
Posts: 226
|
How can it be modified?
I'll read your awnser later, it's bedtime in this area now :-)
Last edited by Anja; June 2nd, 2009 at 04:25 PM.
|
| |
June 2nd, 2009, 04:39 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
You need to edit the template as noted and make the change noted. You told me before you had done this?
|
| |
July 5th, 2010, 03:01 PM
|
#12 (permalink)
| | Member
Join Date: Sep 2009 Location: Penzance UK
Posts: 159
|
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 |
| |
July 5th, 2010, 03:06 PM
|
#13 (permalink)
| | Member
Join Date: Sep 2009 Location: Penzance UK
Posts: 159
| 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
|
| |
July 5th, 2010, 03:20 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
well then you where creating alot of notifications by a code mod you had done.
|
| |
July 7th, 2010, 08:48 AM
|
#15 (permalink)
| | Member
Join Date: Sep 2009 Location: Penzance UK
Posts: 159
| Quote:
Originally Posted by Chuck S 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!
|
| |
July 7th, 2010, 10:18 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
No there is no program setting to go back and mass notify all photos.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:08 PM. | |