 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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 |
| |
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. |
| |
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?
|
| |
April 15th, 2005, 10:26 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
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.
|
| |
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?
|
| |
April 15th, 2005, 11:21 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
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.
|
| |
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.
|
| |
April 15th, 2005, 12:34 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
$q_switch = "latest";
??
|
| |
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?
|
| |
April 15th, 2005, 12:58 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
Mine shows the latest photos in a cat. http://www.reeftalk.com/forums |
| |
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. |
| |
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???
|
| |
April 28th, 2005, 08:01 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
That is because this is how it is written not to pull members gallery photos
|
| |
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?
|
| |
April 28th, 2005, 07:00 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
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
|
| |
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.
|
| |
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. |
| | |
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 12:12 PM. | |