News | Forum | People | FAQ | Links | Search | Register | Log in
Site Help
This is the forum to ask questions about this website, report things that are broken, request features, etc.

Be sure to check out the FAQ as well.
First | Previous | Next | Last
 
isn't it possible to just delete the entire posts (number #823-#8xx) instead of only their contents? or does the db-code not allow it? 
Argh 
okay, i just banned my first IP on func.

If i delete the posts entirely, that would probably screw up the code that assumes the posts are sequential and stuff... i'm not sure exactly, but when i first wrote the DB i decided i didn't want to delete posts.

Now, what i will likely do is censor the posts so that you can't see them. The moderator tools to do that don't exist yet, though. 
Persistent Little Bugger 
 
ERROR 
There was a SQL error. 
RPG: 
i've intentionally made the error messages obscure to prevent people from using them to attempt to hack the board. I should probably set up something to log the more descriptive error so that I can see what's happening, but it wasn't something that I thought happened very often or consistently. 
Well 
That was the first time I had seen that in a long time. It was also the first time a board error ate one of my posts. 
Test 
test 
Test 
another test 
Okay, 
another test! 
Akk 
last test? 
Fifth Time's A Charm? 
please? 
Oh Nice 
But why does it go backwards in increments of 50 and forwards in 5? Is this some crazy UI Zen you have thought up, meltshine? 
Oh Now It's 25 
 
Okay 
I seem to have gotten thread paging working in its most basic form. By default, links to a thread will show the first 25 posts (instead of all posts.) You can still see all posts by editing the "start" and "end" variables in the URL. If you post to a thread regardless of what page you are viewing, it will bump you forward to show the most recent 25 posts, with your post at the bottom.

- Number of posts per page will eventually be a user preference.
- I might eventually add "first 25" and "last 25" links as well.
- I'm not sure if this thread navigation needs to go both at the top and bottom of the post list or just one place, or what.
- I might need to change the wording of the links on the forum page. 
CZG: 
When there are less than 25 next or previous posts, it displays the number of actual next or previous posts. So there were only 5 next posts in that case.

The 50 was because I was playing around. 25 will be the default for now, while I work on getting a user preference for it. 
Weee 
Very good addition metl, first/last would be a nice addition yeah.
And maybe add a little black line above the links, to separate them from the last post. =) 
Hmm 
I'd prefer to keep the same "load entire thread" vs "last 25" as now and use the paging only for the latter. At least I'd like a separate link to get the entire thread.

Most threads are either relatively short ones (no problem loading entire thread) or very long ones (very few would probably want to page through it all from the beginning). 
Location 
I'd like to see the Next/Previous 25 links at the bottom, seperated by a black dividing line like Bal said. 
Aguire: 
just modify the link at the top where it says "start" and "end", go to the end of the thread, then set "start" to 0, and that will load the whole thread. 
Hmm... 
I'm undecided on whether to have a link to load the entire thread or to force people to edit the URL. One of my goals was to remove "load entire thread" as a default or easy choice, becuase I think it's a bigger DB hit. But I'll think about it. 
Necros 
I know how to do it, but as this is probably one of my most frequent forum activities, it'd be very cumbersome to have to edit many links I click.

Btw, the current "All xx" links (which is what I want) don't seem to work; they still give the paged beginning of each thread. I hope it's because metl is working on it ;) 
 
maybe it's ^^^ his fault the forums have been slow then! hehehehee... 
Hmm... 
Yeah, ever since you've added this paging thing, the forums have become really fast for me... 
Yep... 
Exactly the same here... Maybe you corrected a small bug indirectly... Anyway: it's cool how it works fine now ! 
1 post not shown on this page because it was spam
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.