PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   inc_features no longer showing latest photos (http://www.photopost.com/forum/photopost-pro-how-do-i/113506-inc_features-no-longer-showing-latest-photos.html)

qwk98gt April 15th, 2005 07:48 AM

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.

:confused:

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

You can see the gallery here: www.tennesspeed.net/gallery

Michael P April 15th, 2005 08:40 AM

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.

qwk98gt April 15th, 2005 08:52 AM

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?

Chuck S April 15th, 2005 10:26 AM

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.

qwk98gt April 15th, 2005 11:01 AM

I thought I was using the one right out of the photopost502 archive. :confused:

How did you come to the conclusion that I'm not using the one you guys packaged?

Chuck S April 15th, 2005 11:21 AM

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.

qwk98gt April 15th, 2005 12:22 PM

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.

Chuck S April 15th, 2005 12:34 PM

$q_switch = "latest";

??

qwk98gt April 15th, 2005 12:42 PM

Quote:

Originally Posted by omegatron
$q_switch = "latest";

??

Yep. Weird, huh?

Chuck S April 15th, 2005 12:58 PM

Mine shows the latest photos in a cat.

http://www.reeftalk.com/forums

qwk98gt April 15th, 2005 01:36 PM

And if I change it to show random photos, it works fine. :confused:

qwk98gt April 28th, 2005 07:50 AM

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???

Chuck S April 28th, 2005 08:01 AM

That is because this is how it is written not to pull members gallery photos

qwk98gt April 28th, 2005 11:06 AM

Ah HAH! So my bug is a feature! :D

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?

Chuck S April 28th, 2005 07:00 PM

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

qwk98gt April 29th, 2005 08:51 AM

Can you tell me what query I'd need to change? Perhaps we can take this up over on PhotoPostdev instead.

qwk98gt April 29th, 2005 08:55 AM

Never mind, I found the code to edit. :)


All times are GMT -5. The time now is 01:05 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97