I figured out what the problem was. The Blog page SQL query was modified to only include posts of type "Blog post" but the COUNTER query (to determine how many exist) hadn’t been modified to include only "Blog posts". Will try edge cases again to test but I think I’ve got this one.
EDIT: Totally fixed the problem. Not sure whether to "bump" blog posts in the forum if I just edit the post. I’m going to not do it for now.
EDIT: Testing editing items and new redirect.
This should bump the forum to page 3.
EDIT: It did, but.. wow, that's weird. The off-by-one works on the main page but not the forums. Well, there are probably plenty of edge cases to check out, but for now it works.
This is to test paging on the main forum page, which I implemented ridiculously quickly.
Will probably have to do a couple more to test to see if it works.
This is a test post to see what happens if I post comments on another post. It's complicated, yeah?Comments (17)
The main blog display now only displays posts that are of type "Blog post". This means that I can (in theory) create posts that are tagged "Thread post" and have them accumulate comments in like a forum, but they wouldn't be promoted to the front page. Blog posts, meanwhile, would be visible in the forum view.
It's so crazy it just might work!
Thought I'd test the image stuff again.
Will it page? WILL IT FLOAT?
Paging broke for some reason.
EDIT: Just an off-by-one error. Fixed it.
Links to things we mentioned in the show:
White Dwarf Books: http://www.deadwrite.com/wd.html
Warcraft FigurePrints: http://www.figureprints.com
Perception of Time Slows Down: http://www.livescience.com/health/071211-time-slow.html
More Time Slowing Down Stuff: http://blogs.villagevoice.com/forkintheroad/archives/2008/06/adventures_in_p.php
Randy Pausch’s Last Lecture: http://www.youtube.com/watch?v=ji5_MqicxSo
Dactyl Nightmare Arcade Game: http://en.wikipedia.org/wiki/Virtuality_(gaming)
<object type="application/x-shockwave-flash" data="./includes/players/1pixelout.swf" width="290" height="24" >
<param name="menu" value="false" />
<param name="quality" value="high" />
./uploads/Knotty_geeks_podcast_00c.mp3" width="290" height="24" />
I'm a writer and occasional programmer. I write science fiction stories and novels.
I am the writer for the upcoming documentary series Arcade Dreams.
I also write technology articles for Ars Technica.
I'm the creator of newLISP on Rockets, a web development framework and blog application.