New Post Icons

Got a question about Melbourne Beats? Got some feedback or suggestions for us? Post a message here.
Post Reply
User avatar
JAMESSSS
Posts: 9844
Joined: Wed Nov 24, 2004 2:09 am

New Post Icons

Post by JAMESSSS »

Recently (since yesterday sometime I think) some threads always have the New Post icon no matter how many times I view them. This only happens for some threads. At the The Breaks Battle for Supremacy thread exhibits this behaviour.

I have tried

- viewing the threads (duh)
- posting in the threads (still marked as hacin new content event though I was the last to post)
- closing my browser and looking again
- logging in and out
- using the link to mark all posts as read. This fixed it up for half a day or so but eventually different threads started exhibiting the same behaviour.

Any tips?
Don't hate me for house
User avatar
universal sea
Posts: 1929
Joined: Sat Apr 15, 2006 1:33 pm
Location: the edge
Contact:

Post by universal sea »

sounds like you're having browser caching issues... what browser are you using?

one way to check is go to the page of threads, press CTRL-F5 at the same time, which does a full refresh of the page, beyond just F5 by itself.
User avatar
JAMESSSS
Posts: 9844
Joined: Wed Nov 24, 2004 2:09 am

Post by JAMESSSS »

I'm using Firefox.

I wouldn't think browser cahcing issues could cause half a page to update, but keep some icons from a previous cached page.
Don't hate me for house
User avatar
universal sea
Posts: 1929
Joined: Sat Apr 15, 2006 1:33 pm
Location: the edge
Contact:

Post by universal sea »

Caching would be one or the other... usually I see it as a problem in IE.

Try dumping all of your cookies on your system and retrying. I noticed Firefox exhibits odd behaviour when its loaded up on cookies, does not properly store them.

maybe it's spyware?

could be anything, but sounds basic browser fundamental instead of a db issue
User avatar
JAMESSSS
Posts: 9844
Joined: Wed Nov 24, 2004 2:09 am

Post by JAMESSSS »

Nah it's a server side or maybe cookie issue I think
Don't hate me for house
User avatar
system
let the hustlers play
Posts: 10126
Joined: Thu Nov 25, 2004 3:27 pm
Location: the leave garden

Post by system »

jbs - are you using multiple tabs while you're browsing?
DRS wrote:It’s uplifting while we drift through time,
‘cause we keep pushing the vibe.
User avatar
universal sea
Posts: 1929
Joined: Sat Apr 15, 2006 1:33 pm
Location: the edge
Contact:

Post by universal sea »

if its server side then more people will encounter this... if its just you its client side.

likely cookies
User avatar
JAMESSSS
Posts: 9844
Joined: Wed Nov 24, 2004 2:09 am

Post by JAMESSSS »

system wrote:jbs - are you using multiple tabs while you're browsing?
Yeah for sure.

Not since I shut it down a restarted ages ago though.

I cleared all cookies and marked all threads read, and now it seems to be working again - but for how long?
Don't hate me for house
User avatar
universal sea
Posts: 1929
Joined: Sat Apr 15, 2006 1:33 pm
Location: the edge
Contact:

Post by universal sea »

See if you can repair your browser... I think its how Firefox deals with incessant amounts of cookies.
User avatar
JAMESSSS
Posts: 9844
Joined: Wed Nov 24, 2004 2:09 am

Post by JAMESSSS »

Hmm

The thing is though I havne't updated my browser or changed my browsing patters and this has never happened before.
Don't hate me for house
User avatar
universal sea
Posts: 1929
Joined: Sat Apr 15, 2006 1:33 pm
Location: the edge
Contact:

Post by universal sea »

well, shit happens. computers are shit and the internet likes to spread shit around. one dodgy site can do a lot of damage.

somebody tried to add me to their myspace friends list the other day, you go to look at their profile and their page is embedded in junk. Click on anything, such as view pics, or see friends, and it takes you to a nasty porn site with tons of crap it tries to load.

security flaws open up where you need to update your browser. if you havent updated your browser recently maybe that's the issue.

some Qs:

- do you regularly run spyware programs like Adaware and/or Spybot?

- have you updated your browser in the past 1-2 months?

- did you update windows update in the past week or so when the last round of security flaws were announced?

- have you been on any torrentz or p2p sites?
User avatar
JAMESSSS
Posts: 9844
Joined: Wed Nov 24, 2004 2:09 am

Post by JAMESSSS »

Don't use any p2p or bittorrent.

Don't download naything except mp3s and work stuff

Run Adaware and Spybot regurlally

Am behind a commercial firewall

Windows is set to autoupdate.

Update my browser whenever new stuff comes out

:)
Don't hate me for house
User avatar
system
let the hustlers play
Posts: 10126
Joined: Thu Nov 25, 2004 3:27 pm
Location: the leave garden

Post by system »

jbs wrote:
system wrote:jbs - are you using multiple tabs while you're browsing?
Yeah for sure.

Not since I shut it down a restarted ages ago though.

I cleared all cookies and marked all threads read, and now it seems to be working again - but for how long?
it's a tabbing issue - I've seen it in Opera, Safari, Firefox (and the other Mozilla offshoots). only the frontmost tab in the window marks the thread being viewed as 'seen'. not sure if it's a PHP session or a cookie issue, but it's definitely reproducible.

it's not spy/mal/whateverware related.
DRS wrote:It’s uplifting while we drift through time,
‘cause we keep pushing the vibe.
User avatar
universal sea
Posts: 1929
Joined: Sat Apr 15, 2006 1:33 pm
Location: the edge
Contact:

Post by universal sea »

I dunno about that, I have tabs all the time and have never seen that... right now my MB is in tab window 4 and working fine.

can you provide steps for reproduction?
User avatar
system
let the hustlers play
Posts: 10126
Joined: Thu Nov 25, 2004 3:27 pm
Location: the leave garden

Post by system »

  1. have your browser open for over an hour.
  2. visit ~50 sites in that time, as well as multiple pages from each one.
  3. stay on MB.C for about 30 minutes, launching 8+ tabs from, say, the 'Newest Posts' page.
  4. repeat step 3.
voila. it'll happen eventually.
DRS wrote:It’s uplifting while we drift through time,
‘cause we keep pushing the vibe.
User avatar
universal sea
Posts: 1929
Joined: Sat Apr 15, 2006 1:33 pm
Location: the edge
Contact:

Post by universal sea »

Aight... from this it sounds like it could be amount of max cache allowed in the firefox settings. I will try this at some point, and keep trying, for months even, until I first replicate this, and then solve this.
User avatar
system
let the hustlers play
Posts: 10126
Joined: Thu Nov 25, 2004 3:27 pm
Location: the leave garden

Post by system »

it's not specific to the browser disk cache. tab-based browsing is a relatively new technology and the HTTP requests differ slightly from 'standard' browsing. phpBB uses sessions strongly in tracking user history and, from the experience I have with that part of the code base, doesn't seem to write part of the session data to the DB.

phpBB only sets two cookies as well. the rest is done in sessions.

universal sea - I don't think it's worth wasting your time.
DRS wrote:It’s uplifting while we drift through time,
‘cause we keep pushing the vibe.
User avatar
universal sea
Posts: 1929
Joined: Sat Apr 15, 2006 1:33 pm
Location: the edge
Contact:

Post by universal sea »

i wasn't planning on it... tried to help and thats about it.

I've used tabs for 1-2 years without problems, other than firefox doing dopey things because I have thousands of cookies, such as logging me out from all sites because of that kind of overload.

I can see the php sessions causing problems, I am a senior php programmer, and don't use php sessions at all, they seem problematic. Instead I use homemade proprietary user logging which is way more accurate than cookies and less tricky to work with than sessions, without anything being stored on the client other than one cookie identifying who the user is.

good luck to all encountering this issue.
User avatar
system
let the hustlers play
Posts: 10126
Joined: Thu Nov 25, 2004 3:27 pm
Location: the leave garden

Post by system »

this is going off topic.

PHP's session management is good. there were problems relating to sessions not being concluded cleanly, but these issues were resolved some time ago (~4.0.3). I don't see any reason not to use them. session management supports the methods you describe.

:?
DRS wrote:It’s uplifting while we drift through time,
‘cause we keep pushing the vibe.
User avatar
universal sea
Posts: 1929
Joined: Sat Apr 15, 2006 1:33 pm
Location: the edge
Contact:

Post by universal sea »

ah... I havent touched them in years, I think I found a better way which is built into the core I've created. Maybe worth a crack at re-learning in php 5?
User avatar
system
let the hustlers play
Posts: 10126
Joined: Thu Nov 25, 2004 3:27 pm
Location: the leave garden

Post by system »

well worth it. not worth recreating the wheel when the functionality is there in PHP's core functions.
DRS wrote:It’s uplifting while we drift through time,
‘cause we keep pushing the vibe.
User avatar
aspekt
Posts: 1206
Joined: Sun Feb 20, 2005 6:29 pm
Location: me!bourne

Post by aspekt »

have you checked you tcp/ip settings?

enabled cookies?

WHO WANTS THIS DOG?!

Image
There's no justice, just us.
User avatar
fooishbar
Posts: 8660
Joined: Mon Aug 01, 2005 12:56 am
Location: there and/or elsewhere

Post by fooishbar »

system wrote:
jbs wrote:
system wrote:jbs - are you using multiple tabs while you're browsing?
Yeah for sure.

Not since I shut it down a restarted ages ago though.

I cleared all cookies and marked all threads read, and now it seems to be working again - but for how long?
it's a tabbing issue - I've seen it in Opera, Safari, Firefox (and the other Mozilla offshoots). only the frontmost tab in the window marks the thread being viewed as 'seen'. not sure if it's a PHP session or a cookie issue, but it's definitely reproducible.

it's not spy/mal/whateverware related.
:scr1pt:

i encounter this a fair bit as well. i'm a tab whore from way back.
myspace / too much! / photos (flickr) / photos (tumblr)
aroes wrote:promising, but lost me at offensive mid range snarl
User avatar
fooishbar
Posts: 8660
Joined: Mon Aug 01, 2005 12:56 am
Location: there and/or elsewhere

Post by fooishbar »

system wrote:it's not specific to the browser disk cache. tab-based browsing is a relatively new technology and the HTTP requests differ slightly from 'standard' browsing. phpBB uses sessions strongly in tracking user history and, from the experience I have with that part of the code base, doesn't seem to write part of the session data to the DB.

phpBB only sets two cookies as well. the rest is done in sessions.

universal sea - I don't think it's worth wasting your time.
locking is hard, let's go shopping.
myspace / too much! / photos (flickr) / photos (tumblr)
aroes wrote:promising, but lost me at offensive mid range snarl
User avatar
aspekt
Posts: 1206
Joined: Sun Feb 20, 2005 6:29 pm
Location: me!bourne

Post by aspekt »

don't people just use the "view new posts" button?
There's no justice, just us.
User avatar
system
let the hustlers play
Posts: 10126
Joined: Thu Nov 25, 2004 3:27 pm
Location: the leave garden

Post by system »

aspekt wrote:don't people just use the "view new posts" button?
yeah, but tabbed browsers bork after a while.. :roll:
DRS wrote:It’s uplifting while we drift through time,
‘cause we keep pushing the vibe.
Post Reply