Site Links
Pricing & Order
Members Area
Support Options
Who's Online Now
1 registered members (andrewjs18), 52 guests, and 211 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Posts: 1,335
Joined: February 2007
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 16
isaac 9
SteveS 9
Ruben 5
Morgan 5
jorb 4
Latest Photos
Testing to drag photos
Comfortable Cats
BSA photos
Previous Thread
Next Thread
Print Thread
[NOTABUG] New Post indicators not showing properly #113930
08/12/05 08:35 AM
08/12/05 08:35 AM
erikvlie  Offline OP
Joined: Nov 2004
Posts: 2
I've just installed UBB.classic 6.7.2, and I'm having difficulty in getting the "New Posts Since Last Login" indicators on the Forum Summary page.

The symptoms that I see is that when I log into the board, all the New Post indicators are lit up. After I go into a topic, all of the New Post indicators go dim.

Having looked at the cookies, I can see that the login cookie remains after logging out, the ubber cookie is cleared, and the sesion cookie being cleared.

On login, the login cookie isn't changed and the session cookie isn't set until the user goes into a forum or accesses another part of the board.

Am I doing something wrong, or is it a known problem?

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: [NOTABUG] New Post indicators not showing properly #113931
08/12/05 07:54 PM
08/12/05 07:54 PM
David Dreezer  Offline

Joined: Jul 2006
Posts: 2,199
The login/session cookie pair is the one that controls the new post indicators. The login cookie persists, while the session cookie will expire when you close your browser. The login cookie will update when the session cookie is set.

The ubber cookie is used for authentication. It should persist if you choose the "Remember Me" option when logging in.

When you log out, the session cookie and ubber cookie are cleared.

The problems you're seeing are likely related to the logout. To avoid that problem, don't log out. <img src="" alt="" />

The cookies are working as intended. This is not a bug.

This thread for sale. Click here! [Linked Image]
Re: [NOTABUG] New Post indicators not showing properly #113932
08/14/05 11:54 AM
08/14/05 11:54 AM
erikvlie  Offline OP
Joined: Nov 2004
Posts: 2 the lightbulbs only work if the user never logs out.

Some of our UBBs are used commercially, and we currently encourage our users to log out each time to prevent unauthorised access to their accounts.

To continue this practice, is there an official method of allowing the users to log out and still have use of the lightbulbs to indicate new posts since they last logged in, or should I start looking/creating a hack?

Re: [NOTABUG] New Post indicators not showing properly #113933
08/15/05 07:05 PM
08/15/05 07:05 PM
David Dreezer  Offline

Joined: Jul 2006
Posts: 2,199
Either encourage them not to use the Remember Me checkbox so they're automatically logged out at the end of their browser session, or make that choice for them via a small code change.

There's a hard-coded setting in ubb_lib.cgi around line 105, "RememberMeByDefault". Change it to "nohidden" from the current setting of "yes" to hide the checkbox and disable Remember Me entirely. Note that this won't log out anyone that's currently logged in. You can also change it to "no" instead of "nohidden" to show the box, but have it unchecked instead of checked.

This thread for sale. Click here! [Linked Image]

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
errors importing a database
by andrewjs18. 12/11/18 03:51 AM
Private Message, Opt out of conversation
by jorb. 12/04/18 10:11 PM
Disable IP display in Who's Online?
by Baldeagle. 11/29/18 09:05 PM
Permissions problem
by Baldeagle. 11/25/18 09:44 PM
Reddy Kilowatt
by SteveS. 11/20/18 08:30 AM
Forum Statistics
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2