Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Forum bug?

Author
Message
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 15th Oct 2006 18:22 Edited at: 15th Oct 2006 18:22
Hey, just wanted to ask anyone else if the new "Newest Post" button correctly leads you to the newest post on a multi-page thread.

If it isn't just an issue with me, then I wanna let the forum programmer (Rich?) know that it needs fixing.

Sometimes the only way over a wall is to pile up enough bodies to climb over - Dave W.
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 15th Oct 2006 18:31
Same here.


Come see the WIP!
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 15th Oct 2006 18:32
works here sometimes

I'm back! Great to be back | Watch out for one of my projects soon that will be finished
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 15th Oct 2006 18:32
I wondered if it only happened when the 'newest post' was the first post on a new page, and it instead shows you the post before it - the one on the bottom of the previous page. Not sure though.

Hobgoblin Lord
19
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 15th Oct 2006 18:56 Edited at: 15th Oct 2006 18:58
Some threads for me never work for the newest post and bring me to the first page, others work just fine.

Some examples on this board, I pity the fool, and Smoking, also the DBpro challenges thread on the DBpro board all bring me to the very first post if I click newest. thought these might help track the problem dowm.

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 15th Oct 2006 21:17
It's getting annoying now and it's also a bit weird but probably just a silly PHP coding error.

If first unread post (blue) is on page 1, then all is good and page 1 is loaded and it scrolls down to correct message.

If first unread post (blue) is on another page, it loads page 1 instead. The URL is generated correctly though with correct page id and correct message id, and if you cut 'n' paste the URL into a new browser window, the correct page is loaded and it correctly scrolls down to first unread message. Very odd.

Boo!
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 16th Oct 2006 01:33
sometimes it works, sometimes it doesn't.. probably just a silly bug either in the php or the output html that explorer doesn't acknowledge.

not something that bothers me too much, as the feature seems relatively new to me.

Intel Pentium-D 2.8GHz, 512MB DDR2 433, Ati Radeon X1600 Pro 256MB PCI-E, Windows Vista RC1 / XP Professional SP2
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 16th Oct 2006 03:02
Well, the only time it works is if the newest post is on the first page... for me anyhow. I figured it could be handy so I started using it, but was disappointed to find it didn't work right.

Sometimes the only way over a wall is to pile up enough bodies to climb over - Dave W.
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 16th Oct 2006 03:58
Like I said, it works on a single page thread. On a multi it doesn't work at all.


Come see the WIP!
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 16th Oct 2006 04:07 Edited at: 16th Oct 2006 04:26
it probably points to a dynamically created anchor
when the anchor is not on the first page it wont bounce.
anchors have a slight delay in all browsers ive seen.
a split second and it jumps to the anchor.
the coding placement for the anchor is probably right
but the jump to the correct page might be wrong.

the images not loaded as well throw it out of whack.

Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 16th Oct 2006 10:30 Edited at: 16th Oct 2006 10:33
Seems like an easy fix. Although, instead of "Newest Post", maybe there should be a tiny icon. The words seem to clutter everything up, especially when there's a page full of "[Last Page] [Newest Post]".


Come see the WIP!
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 16th Oct 2006 10:46
That sounds likea great idea. Perhaps a small icon for both [Last Page] and [Newest Post] would tidy things up a lot.


CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 16th Oct 2006 15:07
newest post never seems to go to the newest post, at least for me

Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 16th Oct 2006 15:10
I am rebuilding the forum from scratch, starting today, so I don't intend to resolve this in the current build. I will just remove the link to stop the confusion.

"Bite my shiny metal ass" (Futurama)
"Don't ping my cheese with your bandwidth" (Dilbert)
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 16th Oct 2006 15:23
What sort of system are you using for the forum now?

Intel Pentium-D 2.8GHz, 512MB DDR2 433, Ati Radeon X1600 Pro 256MB PCI-E, Windows Vista RC1 / XP Professional SP2
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 16th Oct 2006 15:30
The codebase is old and too hacked together in places, so is being rewritten from scratch. The database design is also 4 years old and has received a large overhaul to cope with the increased level of posts here. I'll be adding a new paging system and sql and code level caches. Moving from PHP 4 to 5.1 opens up PDO and better object handling, and I'll move it to MySQL 5 so I can finally wrap the queries up in transactions where needed, and use Stored Procedures for the really intensive ones.

I've got it all planned out here, only just had time to start coding today.

"Bite my shiny metal ass" (Futurama)
"Don't ping my cheese with your bandwidth" (Dilbert)
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 16th Oct 2006 15:36
@Rich,
When i am at work and i press the "Newest Post" link, it takes me to a page where i see this:
Quote: "Appliance Error (internal_error)

An unrecoverable error was encountered: ""
This problem is unexpected. Please use the contact information below to obtain assistance.

For assistance, contact your network support team."


i think it have something to do with my network, but do you have any thoughts on this?

Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 16th Oct 2006 16:09
if you want i can send you over my basic cms using php5
our server moved to it recently and i've been loving the new stuff in it

Intel Pentium-D 2.8GHz, 512MB DDR2 433, Ati Radeon X1600 Pro 256MB PCI-E, Windows Vista RC1 / XP Professional SP2
adr
21
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 16th Oct 2006 16:20
Because MySQL 5 is commercially immature, I don't know anyone whose using it properly, So I'd be interested to hear how views/triggers/SPs work out for you. Keep us posted of anything technically interesting you discover along your travels.


@Raven
You're in Preston now? As in, Preston, Lancashire? ... Commiserations...

[center]
But you see, I have the will of the warrior. Therefore, the battle is already over. The winner? Me!
Robot
20
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 16th Oct 2006 17:29
The newest post button always works for me. Even on multipage threads, although images as stated do have a tendancy to knock it out a bit.
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 16th Oct 2006 19:06 Edited at: 16th Oct 2006 19:08
adr - I've been using it for about a year now, just not on the forum here. But I'm in love with the features it finally has that I spent nearly a decade using in SQL Server!

I've found a really nice way to create a tree index for threads and messages, which has a dramatic effect on performance. The current code uses the popular 'parent - child' method, i.e. messages belong to threads which belong to boards which belong to forums. The new design abstracts this away a lot.

I'm using a Celko style nested set on the messages and threads, and the speed is fantastic. Right now viewing say page 50 of a massive thread will actually interegate all rows (due to me using the LIMIT X,Y SQL command), but that is now obliterated, so it doesn't matter how deep into a thread you go, you only ever bring back the number of messages needed for display (same goes for threads in a board).

Like I said, the current codebase and DB design is old compared to this stuff, and although it still stands up quite well even with over a million posts (if you count deleted ones), and is well indexed, it's still time to update it.

"Bite my shiny metal ass" (Futurama)
"Don't ping my cheese with your bandwidth" (Dilbert)
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 16th Oct 2006 19:34
I've not used any of the new features in MySQL 5 yet, the manual for it confused me so my knowledge is just based on the SQL tutorials from W3Schools.com

Wouldn't mind seeing what sort of improvements could be made with the new commands and such. Database coding has never been my strong point, probably why I've worked on my CMS for a while specifically to take the complexities of it from my my web developments.

@adr: yeah Preston, Lancashire. Got asked to move up here for a while, so probably be back in good old Derby by the new year (depends how long it takes before the other half gets sick of living with me ). Good nightlife, but the rest of the time it's just kinda gloomy all the time. You know you're not somewhere nice when even the Sun thinks "sod going there!"

tbh I'm kinda getting sick of the country with all of these things called chavs everywhere now. Go away for a few years to come back and find "homies" with a british twist. Would love to see these welfare cases go against their american counterparts, hehe

I mean how many chavs does it take to try to mug you here? 2, 4, 28? They never try on their own, and very rarely if there's just 2... and even worse they're bloody everywhere. Atleast when I was in west-hollywood I knew which streets I'd get trouble from, and which everyone walked down feeling safe. Here you just never know. Some guy was killed about 50-60ft from where I live right now just a few days back (you might've seen it on the news breifly this morning). Just kinda stupid, especially given it's a very grey area on how much you can defend yourself in this country before you can also be charged for assault.. BY YOUR ATTACKER!! It's just unbelievable.

Well anyways, wouldn't mind seeing some of the new features of MySQL 5.0 as my host supports it and I have it on here

Intel Pentium-D 2.8GHz, 512MB DDR2 433, Ati Radeon X1600 Pro 256MB PCI-E, Windows Vista RC1 / XP Professional SP2
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 16th Oct 2006 19:35 Edited at: 16th Oct 2006 19:36
Rich in the forum rebuild can we have our own private boards (Can be created under user profile) so like if we're working as a team it's not shown on the main forum it's just a link under your user profile that you can share and allow certain people to access? that'd be great news for me and the rest of the forum i expect good luck and i can't wait to see it

I'm back! Great to be back | Watch out for one of my projects soon that will be finished
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 16th Oct 2006 19:39
Don't forget to make it so you can re-name your thread!

Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 16th Oct 2006 19:52
Chris - I could allow that as I'm already allowing Virtual Boards - but personal ones would have to be with disabled file attachments, otherwise it could be a warez haven.

Zotoaster - heh, fear not

"Bite my shiny metal ass" (Futurama)
"Don't ping my cheese with your bandwidth" (Dilbert)
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 16th Oct 2006 19:57
Quote: "Chris - I could allow that as I'm already allowing Virtual Boards - but personal ones would have to be with disabled file attachments, otherwise it could be a warez haven."


WOW that'd rock thanks =)

I'm back! Great to be back | Watch out for one of my projects soon that will be finished
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 16th Oct 2006 22:31
Rich - Just so you know the newest post link works for me about 90% of the time, and I use it all the time, so please don't remove it in the new forum

Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 16th Oct 2006 22:42
Jeku - Fair enough, I'll leave it in then It works for me too most the time. I think it's related to if you've got the board marked as read or not (if you've never done that, I'm sure it doesn't work right). Anyway I'll leave it be, the new database design is almost finished so I can start on the core code tomorrow.

"Bite my shiny metal ass" (Futurama)
"Don't ping my cheese with your bandwidth" (Dilbert)
Robot
20
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 16th Oct 2006 22:45 Edited at: 16th Oct 2006 22:51
I've never marked the board as read and it works for me. Really useful feature.

[Edit] I like the accidental double post prevention.
Quote: "Duplicate Error: A message with the exact same text is already posted in this thread by you."
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 16th Oct 2006 22:53
So Rich, is the new forum going to be drastically different from the current one then? (At least, aesthetically)

And what exactly do you mean by 'Virtual boards'? Doesn't sound quite the same as the personal boards suggestion

Well, I finally decided to create a website that really reflects what kind of programmer I really are: OneManBand software: http://www.ombsoft.com
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 16th Oct 2006 23:03 Edited at: 16th Oct 2006 23:14
It's a forum, it can never be -that- aesthetically different or everyones heads spin around, steam comes from their ears, and various torrents of rants ensue about how 'complicated' it now is.

But yeah, it'll be face-lifted.

By a Virtual Board I mean I'm going to allow people to create their own boards which contain threads from any other board in the forum. For example you could collect together all of your favourite 3D tips, or WIP games, and save them all to a 'virtual' board which you can share with everyone else.

People will not be able to post to those boards though (only to threads they contain). At least that is the plan. I'm not sure about allowing a personal board yet - because who would moderate them? and at the end of the day the forum content reflects on us as a company, so I'm wary about the idea big style. There are stacks of 'free forum' hosts out there for people who need it. But I've not ruled it out yet.

"Bite my shiny metal ass" (Futurama)
"Don't ping my cheese with your bandwidth" (Dilbert)
Robot
20
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 16th Oct 2006 23:07
Quote: "At least that isn't the plan"
Is that a mistake?
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 17th Oct 2006 05:43
A brand new board would be awesome, I look forward to it Rich (not that this one is too bad, but something new will be nice)

Sometimes the only way over a wall is to pile up enough bodies to climb over - Dave W.
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 17th Oct 2006 19:24
Quote: "People will not be able to post to those boards though (only to threads they contain). At least that is the plan. I'm not sure about allowing a personal board yet - because who would moderate them? and at the end of the day the forum content reflects on us as a company, so I'm wary about the idea big style. There are stacks of 'free forum' hosts out there for people who need it. But I've not ruled it out yet."


For moderatin why not just make it so the user can moderate just their board? and everytime a personal board is created it e-mails a link to you?

I'm back! Great to be back | Watch out for one of my projects soon that will be finished
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 17th Oct 2006 20:53
Because what you (or someone else) may find acceptable in a thread almost certainly will not correlate to what we (as a company) deem acceptable for our forum.

I will consider it, but it may have to be a feature saved for our sister site for game project hosting.

"Bite my shiny metal ass" (Futurama)
"Don't ping my cheese with your bandwidth" (Dilbert)

Login to post a reply

Server time is: 2024-11-17 17:21:40
Your offset time is: 2024-11-17 17:21:40