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 April 15th, 2005, 07:48 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
inc_features no longer showing latest photos

Well this is a weird one...

Recently the inc_features.php utility stopped showing the latest photos in our gallery, even though the "latest" switch is defined inside the inc_features file. It had been working perfectly up until just recently.



You can see it in action here: www.tennesspeed.net/forums

You can see the gallery here: www.tennesspeed.net/gallery
qwk98gt is offline   Reply With Quote
Old April 15th, 2005, 08:40 AM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
What could have changed? As you know, code doesn't just change its mind and start doing something differently. Something must have changed to change the behavior of the script which, as you say, always worked as expected.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old April 15th, 2005, 08:52 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
I agree 100%. Which makes it really weird. lol

Gut feeling is that maybe it's a database issue since that's the only thing that does change regularly (data stored within) whereas code doesn't rewrite itself. Any thoughts?
qwk98gt is offline   Reply With Quote
Old April 15th, 2005, 10:26 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
For one your using a hack which is not part of our package. I would use the one provided with our product so you can to obtain support. I find if you use the one with our script it would work.
__________________
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 April 15th, 2005, 11:01 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
I thought I was using the one right out of the photopost502 archive.

How did you come to the conclusion that I'm not using the one you guys packaged?
qwk98gt is offline   Reply With Quote
Old April 15th, 2005, 11:21 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Your include is the hack one which displays the image poster

Ours displays the category and total photos and total posts as seen here

http://www.reeftalk.com/forums/index.php?

If you are using the one we included then your have modified it and hense that could be your issue.
__________________
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 April 15th, 2005, 12:22 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
I did modifiy the one you included, but when I revert it back to "stock" it does the same thing. I'll upload the original now and you can see.
qwk98gt is offline   Reply With Quote
Old April 15th, 2005, 12:34 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
$q_switch = "latest";

??
__________________
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 April 15th, 2005, 12:42 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
Quote:
Originally Posted by omegatron
$q_switch = "latest";

??
Yep. Weird, huh?
qwk98gt is offline   Reply With Quote
Old April 15th, 2005, 12:58 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Mine shows the latest photos in a cat.

http://www.reeftalk.com/forums
__________________
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 April 15th, 2005, 01:36 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
And if I change it to show random photos, it works fine.
qwk98gt is offline   Reply With Quote
Old April 28th, 2005, 07:50 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
I want to bump this back to everyone's attention...

I've determined that photos uploaded to the Member Galleries category on my installation of PhotoPost are not shown through the inc_photopost utility. Only photos uploaded to other categories are shown.

Any ideas???
qwk98gt is offline   Reply With Quote
Old April 28th, 2005, 08:01 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
That is because this is how it is written not to pull members gallery photos
__________________
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 April 28th, 2005, 11:06 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
Ah HAH! So my bug is a feature!

Is there any way that this could become a switch that could be set inside inc_photopost? Much the same as setting whether it is random, latest, most popular being shown?
qwk98gt is offline   Reply With Quote
Old April 28th, 2005, 07:00 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
You can always adjust the query within inc_features.php to meet your need. It pulls the latest or random or most popular just fine. It just does not pull members gallery photos
__________________
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 April 29th, 2005, 08:51 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
Can you tell me what query I'd need to change? Perhaps we can take this up over on PhotoPostdev instead.
qwk98gt is offline   Reply With Quote
Old April 29th, 2005, 08:55 AM   #17 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
Never mind, I found the code to edit.
qwk98gt 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
Latest/newest Photos on top fortnox Photopost Pro Installation & Upgrades 2 May 27th, 2005 05:19 AM
Pp5 How can I sort All photos by latest comment Geiri Photopost Pro How Do I...? 3 May 10th, 2005 12:08 PM
inc_features.php to show photos on a vbP3 portal front page criscokid Photopost Pro Installation & Upgrades 17 February 23rd, 2005 12:38 PM


All times are GMT -5. The time now is 06:20 PM.

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