Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
4 registered members (Ruben, TheBrit, Gizmo, DLWebmaestro), 72 guests, and 129 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
GregK
GregK
Tombstone, AZ
Posts: 391
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 44
M4TT 26
Gizmo 25
Ruben 25
Morgan 13
driv 4
Jake 4
Latest Photos
Big stuff
Test
Testing to drag photos
Comfortable Cats
Test
Previous Thread
Next Thread
Print Thread
[NOTABUG] New Post indicators not showing properly #113930
08/12/05 09:35 AM
08/12/05 09:35 AM
E
erikvlie  Offline OP
stranger
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
Re: [NOTABUG] New Post indicators not showing properly #113931
08/12/05 08:54 PM
08/12/05 08:54 PM
David Dreezer  Offline

Pooh-Bah
Joined: Jul 2006
Posts: 2,144
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="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" 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 12:54 PM
08/14/05 12:54 PM
E
erikvlie  Offline OP
stranger
Joined: Nov 2004
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?

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

Pooh-Bah
Joined: Jul 2006
Posts: 2,144
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]

ShoutChat Box
Today's Birthdays
No Birthdays
Recent Topics
Follow Thread Button Not Aligned
by M4TT - 03/16/19 09:24 PM
Author Content Portrait Avatars
by M4TT - 03/16/19 09:12 PM
problem with ubbthreads dark scheme
by TheBrit - 03/15/19 04:17 PM
7.7.1 Forums and Categories
by AstroCat - 03/15/19 08:16 AM
How to Add Sound Effects Modification
by M4TT - 03/10/19 07:02 PM
Forum Statistics
Forums35
Topics35,259
Posts192,299
Members12,143
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190227)