|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.
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 |
Originally Posted by omegatron
$q_switch = "latest";
Yep. Weird, huh?
|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.
|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