1
slammers
Re: newBB, posts not marked as read for some users
  • 2004/5/29 16:17

  • slammers

  • Just popping in

  • Posts: 2

  • Since: 2003/7/18


I fixed the problem by moving the set cookie code to the top of the file. I thought that perhaps somewhere in the view_topic page some data could have been sent before the cookie header preventing the cookie header from working. I knew the cookie setting worked in config.php as the cookies for NewBBLastVisitTemp was being set properly.

So I moved the cookie code to the top of the page after header.php was included and after topic_id was set and now it works fine. I do not know why the server would make the old code stop working but this change did the trick.


Shawn



2
slammers
Re: newBB, posts not marked as read for some users
  • 2004/5/27 19:13

  • slammers

  • Just popping in

  • Posts: 2

  • Since: 2003/7/18


I have the same problem. It seems my cookie for newbb_topic_lastread is not getting set. When I delete the newbb cookie from my computer and then go to the forum the cookie gets recreated but the variable newbb_topic_lastread is missing. I stepped through the code and the setcookie command is being called in file viewtopic.php but it is not setting the cookie properly.

Any suggestions?

It was working fin until I moved the site to a new server. It may be some PHP setting on the server but I do not know what to check.

Thanks
Shawn




TopTop



Login

Who's Online

146 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits