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 March 12th, 2006, 11:21 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 16
User has pics?

Table: pp_photos
Collum Name: userid

Is there a way that I can make an If statement to match the PP_Photos userid with the members id? (im trying to make it so it can tell if the user has uploaded a pic)

<if condition="$pp_photos[photos] = $post[userid]">PIC</if>
ChatBum is offline   Reply With Quote
Old March 13th, 2006, 10:09 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
That would be depenent on what scripting you are writing.

I have posted several times a modification like this is counter productive as it ads a new query per post which is inefficient.

Basically you need to alter your vbulletin to add a query in the proper script to grab a count of photos based on userid. Then you could so an if conditional to say if there is a count then show gallery link.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 15th, 2006, 09:31 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 16
Quote:
Originally Posted by Chuck S
That would be depenent on what scripting you are writing.

I have posted several times a modification like this is counter productive as it ads a new query per post which is inefficient.

Basically you need to alter your vbulletin to add a query in the proper script to grab a count of photos based on userid. Then you could so an if conditional to say if there is a count then show gallery link.
can you link to the post your talking about
ChatBum is offline   Reply With Quote
Old March 17th, 2006, 06:22 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Check the mods forums and do a search and use my username
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
User Profiles, featured gallery pics LLIFE Photopost Pro How Do I...? 5 January 5th, 2006 12:29 PM
Unable downloading user pics xfwayne Before You Buy 3 August 2nd, 2005 11:05 PM
pics wind up in wrong user album simco Photopost Pro Installation & Upgrades 3 February 12th, 2005 06:18 PM
How do I make PP NOT put pics from other categories into the user galleries? xbleed Photopost Pro Installation & Upgrades 27 September 20th, 2004 07:37 PM


All times are GMT -5. The time now is 08:15 AM.

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