Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (Morgan, Rick, Ultimatelunker), 32 Guests and 20 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/30/06
Posts: 1256
Top Posters (30 Days)
Rick 110
Gizmo 99
Thelockman 56
driv 53
AllenAyres 40
Morgan 37
ntdoc 32
flyboy105 31
blaaskaak 29
ScriptKeeper 27
Latest Photos
XTERRA K9 Challenge
DEG Metro Stars: Jamie Storr
My new girlfriend
testing photo upload in ie7
Fall foilage in New England
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: 1771
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.
_________________________
I swear, if we wipe on trash one more time ...

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: 1771
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.
_________________________
I swear, if we wipe on trash one more time ...

Top


Shout Box

Today's Birthdays
The Spin Master
Recent Topics
Subject line and Watched topics in Quick Reply form?
by medencev
Today at 06:35 AM
Moderators can't read despite the moderators settings are ok
by Morgan
Today at 03:14 AM
login and no permission issue
by Morgan
Today at 02:58 AM
Looking for Russian v7.3.1
by medencev
Today at 12:52 AM
Global Moderator problem
by Darryl
Yesterday at 10:04 PM
Forum Stats
4093 Members
33 Forums
30216 Topics
152996 Posts

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