PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 29th, 2007, 06:31 AM   #1 (permalink)
Member
Verified Customer
 
aacircle's Avatar
 
Join Date: Jan 2006
Posts: 207
Mature Content - mass update via SQL

Hello,

SQL for a certain category
I have a heap of images in a certain category, and it would be too time consuming to manually edit each image and select the mature content to Yes. Does anyone know how I can just run an SQL job to update this flag to Yes for all images in a certain category?

SQL for all users
Furthermore, I think it's better to set EVERYONE's profile to Yes for block mature content. This is required by the law, and members need to actively accept or change their settings before we show them mature content. So can you please advise the SQL to update this for all members?

Thank you.

Last edited by aacircle; September 29th, 2007 at 08:02 AM.
aacircle is offline   Reply With Quote
Old September 29th, 2007, 11:05 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
UPDATE pp_photos SET ismature='yes' WHERE cat=blah blah

UPDATE pp_users SET mature='no'
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 29th, 2007, 11:26 AM   #3 (permalink)
Member
Verified Customer
 
aacircle's Avatar
 
Join Date: Jan 2006
Posts: 207
Thank you.

UPDATE pp_photos SET ismature='yes' WHERE cat=blah blah

didn't work. Instead I used:

UPDATE pp_photos SET ismature='1' WHERE cat=blah blah

Thanks again.
aacircle is offline   Reply With Quote
Old September 29th, 2007, 12:46 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
ok whichever works for you
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 25th, 2008, 03:24 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
whats weird is that this will change the profiles of the existing users in the database and any new users BUT if you wend on the profile of the new users, it still reflects as "NO" even though you are not able to see mature content. I agree with aacircle, by default, this should be set as 'YES: so that users can only opt in to view mature content and hence be in compliant of the user agreement.
kisii is offline   Reply With Quote
Old March 25th, 2008, 10:09 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
default is no anything else you can set as you wish but this is an option the user sets.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 25th, 2008, 12:03 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
I ubderstand Chuck...but what we are saying ( i think) is that it means that so long as someone has registered to be a member, they automatically have access to mature content - right? Why cant it be that so long as someone who registers, they become just a member AND if they want to view mature content, they can set this setting "Do you want to block mature content? = NO" in their profile. That way you have registered members who want to view mature content and others who don't want to - voluntarily versus lumping every registered member to be able to view? - I hope that makes sense now - sorry for the confusion.
kisii is offline   Reply With Quote
Old March 25th, 2008, 12:36 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Well it is all a matter of how someone views the philosophy. I beleive Michael looks at it as it is a users choose whether they want to see mature content the admins.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 25th, 2008, 01:14 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
any way that I can change it to "Do you want to block mature content? = YES" by default for new users?
kisii is offline   Reply With Quote
Old March 25th, 2008, 01:34 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
This is something they set when they register. You can try altering your database to make the default field yes but they still answer this on registration. You are free to post modification questions in THE MOD CORNER.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 25th, 2008, 02:10 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
That is only true when you have a stand alone install of PP. When you are using an integration like SMF, thats not an option during registration. I don't mean to be so persistent but i'm sure others will appreciate a workaround on this if Michael and yourself decide on this status quo "controversial philosophy" !!!!!
kisii is offline   Reply With Quote
Old March 25th, 2008, 03:09 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Your free to modify the database as you choose. Queries where posted above.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import content, rss mikegr Classifieds How do I...? 3 October 17th, 2008 07:12 AM
different content for users djbenny Photopost Pro How Do I...? 0 January 26th, 2006 02:12 PM
Email content NotInUse Photopost Pro How Do I...? 2 February 8th, 2005 04:49 PM


All times are GMT -5. The time now is 12:27 PM.

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