Buffistas Building a Better Board
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
To-do list
Coming back with the answer to my question -- rather than showing no threads, it shows all threads. So the tweak would be to check for subs then put "you have no subscriptions, you need the edit profile page" for these hapless users. But who are they anyway? People with no subs don't see the Message Centre link anyway, so how did they get here?
Am I being annoying? Sunday morning, nothing to do, lots of coffee, sorry.
The only difference between the front page and the Message Center is that the former shows all threads while the latter shows only your subscribed threads. For those with no subscribed threads, the coders had a choice to make with respect to the Message Center--- either show no threads, or show all threads. For usability reasons (no one wants to see no threads) they picked the second, but rather than mess with the message center code, they decided to throw those users to the front page, since it does the same thing. I suppose we could have a warning message ("You have no subscribed threads"), but maybe you don't
want
any subscribed threads. In that case, the warning message would get annoying fast.
rather than mess with the message center code, they decided to throw those users to the front page, since it does the same thing.
Absolutely fine, and I agree, but the point I was making is that, despite the fact that I have metric shitloads of subscribed threads, if I start my browser and
go straight to the message centre
then I get kicked back to the front page.
For some reason, I seem to be erroneously failing the "user has at least one subscribed thread" test at that point.
John, your code is old. That bug has been fixed for most people. In fact, I wasn't aware that anyone was still experiencing it.
Can I have your OS/browser info again? And does it happen with all combos thereof?
I'm on MacOS 9.2.
I just tried it in Netscape 4.5, Opera 5, and IE5, and they all do the same thing.
In case there's any confusion, what I did was
- Launch browser and log in.("Remember Me" is enabled)
- Make a bookmark for Message Centre
- Quit the browser
- Start the browser up again
- Click on the bookmark
and every time I was flipped to index.php.
Just tried it in (Virtual) Windows IE5 and the same thing happened.
Aha. What I hadn't realized (read: skimmed past) was that you were logged in when you hit index.php.
I think the PHP upgrade bit us. The version when the code was started handled session variables differently. This version seems to have switched over to just one way. Which is good, if I'd actually caught all the instances of the old way.
Bless you, so it is. Good work.
And I never would have whinged about it if it was just the minor annoyance, it was the bandwidth thing too, lots of extra hits on the front page I never needed to make.
S'probably obvious, but I'm not seeing any images all of a sudden.