View Full Version : Beta 1.5 archive problem
mikelangelo
02-02-2006, 01:13 PM
Hey all,
I'm sorry to post this again, but since it's related to the PP 1.5 beta, I figured it'd be ok. I'm having a similar/same issue as I had with 1.4.x that I posted here: http://forum.pixelpost.org/showthread.php?t=2338
My archive page won't limit the number of thumbs on the page, even though I've limited it to 30 in my admin screens. It displays all 300-something thumbs!
I know I have an old version of MySQL on the server (just under the minimum) for PP. But does anyone have a suggestion for a hack for me. Can I specify the number of thumbs manually in the code? Any suggestions would be most welcome.
thanks.
Joe[y]
02-02-2006, 03:39 PM
first of all make sure you are using the tag <THUMBNAILS_WHOLE_PAGED> in your template. if not then i suppose you can change the following:
$maxnumber_thumbs = $cfgrow['maxpthumb'];
to
$maxnumber_thumbs = whatevernumber;
mikelangelo
02-02-2006, 03:52 PM
When I use: <THUMBNAILS_WHOLE_PAGED> no thumbnails show up at all!
I hardcoded the number of thumbs that I want to be:
$maxnumber_thumbs = 30;
Still no thumbnails showing up. suggestions? (thanks for your help Joe[y])
Joe[y]
02-02-2006, 04:11 PM
loook at your source - huge list of thumbnails so you've commented out the tag for now have you? look at your source code - did you realise that?
try the attachment with this if you want to...
mikelangelo
02-02-2006, 05:55 PM
I used your file, it's not functioning, still. I had commented out "<THUMBNAILS_WHOLE_PAGED>" and left "<THUMBNAILS>" so I would have something show up on the page.
When I used your file, I uncommented <THUMBNAILS_WHOLE_PAGED> to test it... but still nothing.
Here are my browse_template.html and my paged_archive.php pages
http://www.mikelangelo.com/blog/pagedArchive.zip
I currently left <THUMBNAILS> commented out so it's not working right now.
Joe[y]
02-02-2006, 06:58 PM
hmm. sorry i'm stumped - you should consider a mysql upgrade in my opinion.
mikelangelo
02-02-2006, 07:01 PM
Yeah... I had a hunch you might say that. I wish I could upgrade, but my hosting company doesn't have direct control over their version of mysql. so they can't do anything until their vendor decides to upgrade. d'OH!
I'll play around and see if I can come up with a hack of some kind...but it'll have to wait.
Thanks for your help Joe[y]. I appreciate it.
Joe[y]
02-02-2006, 07:11 PM
Yeah... I had a hunch you might say that. I wish I could upgrade, but my hosting company doesn't have direct control over their version of mysql. so they can't do anything until their vendor decides to upgrade. d'OH!
that sucks big time! hope you're getting cheap hosting off them in that case! nag them to nag their host!
mikelangelo
02-02-2006, 07:15 PM
I would...but this is the only flaw I've found in their service. They consistently give me excellent support faster than any other company I've seen. I'm willing to give them some time to catch up...
Besides...in a way, it provides me a way to really learn more about pP and PHP and see if I can find a way around this issue. See.. there's that silver lining. ;)
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.