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
OMG !! 
metlslime: they are defying you !! 
 
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. =) 
8 posts not shown on this page because they were 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.