Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
7 registered (canecutter, Harold, Island Piper, luket, Mike L, Ruben Rocha, 1 invisible), 27 Guests and 25 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 199
Top Posters (30 Days)
Ruben Rocha 158
Rick 119
Gizmo 110
Thelockman 62
driv 56
ScriptKeeper 36
AllenAyres 35
Ian 31
Mark S 30
phoebe 29
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#113930 - 08/12/05 06:35 AM [NOTABUG] New Post indicators not showing properly
erikvlie Offline
stranger

Registered: 11/16/04
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?

Top
#113931 - 08/12/05 05:54 PM Re: [NOTABUG] New Post indicators not showing properly
David Dreezer Offline
Pooh-Bah

Registered: 07/21/06
Posts: 1781
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.

The cookies are working as intended. This is not a bug.
_________________________
What do you mean "You're the bomb, run away?"

Top
#113932 - 08/14/05 09:54 AM Re: [NOTABUG] New Post indicators not showing properly
erikvlie Offline
stranger

Registered: 11/16/04
Posts: 2
Hmmm...so 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?

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

Registered: 07/21/06
Posts: 1781
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.
_________________________
What do you mean "You're the bomb, run away?"

Top


Shout Box

Today's Birthdays
Neptin
Recent Topics
How do I set Moderation Queue for an individual user?
by luket
Today at 11:28 AM
Custom Island per Forum?
by unixpaul
Today at 10:18 AM
SQL Corruption?
by Jason Carey
Today at 05:52 AM
adding views column to portal page
by nick1
Today at 05:12 AM
Upload broken in 7.4.1
by MacW
Today at 03:23 AM
Forum Stats
4247 Members
33 Forums
30483 Topics
154622 Posts

Max Online: 978 @ 06/24/07 08:19 PM