Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (isaac, mmkk), 45 guests, and 389 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
whk
whk
Portsmouth, RI
Posts: 86
Joined: January 2009
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 12
M4TT 9
Ruben 8
mmkk 4
isaac 4
FREAK 3
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Tracking not working correctly 6.5.5. #129544
07/12/06 12:22 PM
07/12/06 12:22 PM
Joined: Aug 2006
Posts: 115
Fred Offline OP
member
Fred  Offline OP
member
Joined: Aug 2006
Posts: 115
I have searched and it looks like there were problems back with 6.5.2, but I haven't seen any posts since around August of 2005 about this. Is this fixed in 6.5.5?

The reason I ask is that most of the time it seems to work, but I get lightbulbs that don't go out. If you exit out and then back in I see lightbulbs for stuff I have already read.

I have seen this come up now and then on another board. They had major problems at first and they said something about cookies and sessions. I know they had to switch from one to the other.

We have not enabled the session check box. Our installation is right out of the box, downloaded it on Monday. Should we enable sessions? Is there a bug somewhere we need to fix? I saw this, but I have my account and an admin account on the board and thought I had read one with one account and not the other. However, I have confirmed it isn't working 100% and other members have reported the same thing.

Are all the none bugs updated in the current download (from Monday) or do we need to go plug stuff?

Thanks,
Fred

Re: Tracking not working correctly 6.5.5. #129545
07/12/06 06:32 PM
07/12/06 06:32 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
You don't want to actually enable the sessions, but you should have something in the session storage directory in the config file. These are 2 seperate things, though worded a bit poory. Most of the time post tracking problems are related to the sessions directory not being set properly or writeable. The first thing would be to check your sessions directory and make sure that it is writeable and that you can see files within it.

Re: Tracking not working correctly 6.5.5. #129546
07/12/06 08:56 PM
07/12/06 08:56 PM
Joined: Aug 2006
Posts: 115
Fred Offline OP
member
Fred  Offline OP
member
Joined: Aug 2006
Posts: 115
Rick,

There is a sessions directory and there are files in it.

Could it be that I am using two different IDs (one for admin purposes and one to post with) is causing this? I am seeing it a lot, the others haven't reported it for a day or so.

Fred

Re: Tracking not working correctly 6.5.5. #129547
07/12/06 09:33 PM
07/12/06 09:33 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
That could be contributing to it a bit. While it shouldn't make a difference the post tracking in 6.5.5 is pretty finicky and it could be throwing it for a loop. We've had to pretty much rewrite this area for 7.0.

Re: Tracking not working correctly 6.5.5. #129548
07/12/06 10:03 PM
07/12/06 10:03 PM
Joined: Aug 2006
Posts: 115
Fred Offline OP
member
Fred  Offline OP
member
Joined: Aug 2006
Posts: 115
Rick,

I found these mods, do you think this is a good idea?

__________

logout.php

original

$_SESSION['forumvisit'] = array(); //

Changed to

// $_SESSION['forumvisit'] = array(); //

Reason

Try to fix the read post to show as read on next log in.

__________

ubbthreads.php

original code

$laston = $user['U_LastOn'];

// -------------------------------------------------------------------
// If this is their first visit for this browser session, set a cookie
// and grab all entries to the w3t_Last table
if ((empty($user['U_LastOn']))) {
$user['U_LastOn'] = $html->get_date();
}


became


// -------------------------------------------------------------------
// If this is their first visit for this browser session, set a cookie
// and grab all entries to the w3t_Last table
if ((empty($user['U_LastOn']))) {
$user['U_LastOn'] = $html->get_date();
}

$laston = $user['U_LastOn'];

Reason

Same as above, to try to fix the read post to show as read on next log in.

__________

Fred

Re: Tracking not working correctly 6.5.5. #129549
08/05/06 12:04 AM
08/05/06 12:04 AM
Joined: Aug 2006
Posts: 115
Fred Offline OP
member
Fred  Offline OP
member
Joined: Aug 2006
Posts: 115
Rick,

I have a lot of users now (300) with a lot of posts (over 600 a day) and the light bulbs are still doing weird stuff.

Can you give me a hint as to what needs to be changed to fix 6.5.5? I really don't want to put up a beta version just to fix this. On a side note, the part that shows the number of new posts works great. When there are new posts it shows how many and when there are not it doesn't. Anyway to put this check in the code to show a lit light bulb or folder?

Fred

Re: Tracking not working correctly 6.5.5. #129550
08/06/06 10:00 AM
08/06/06 10:00 AM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Unfortunately there is no real fix for this in the current version. It's a variety of problems with the way it was implemented and I had to totally rewrite the new post tracking for 7.0. It's something I had to wait for a major upgrade to completely fix since it required redoing a variety of other pieces of the code as well.

Re: Tracking not working correctly 6.5.5. #129551
08/06/06 02:53 PM
08/06/06 02:53 PM
Joined: Aug 2006
Posts: 115
Fred Offline OP
member
Fred  Offline OP
member
Joined: Aug 2006
Posts: 115
Anyway to pull this out and fix it or are there so many modules that it isn't realistic? I have 5 complaints just today about this.

Here is how this one reads:
[] Fred,

When I first signed up here the software performed like it does at the other site. When I log on I see the yellow balloons to the left signifying messages that are either new since my last logon, or old ones that I haven't yet read.

Now that feature isn't working, there aren't any balloons on the left, ever. The only way I can figure out if there are new posts in forums of interest is to look at the date. I'm in essence having to work backwards, look through all the forums, then look at each thread to see when it is dated, click on the thread and then begin at the end and read forward to find a post I haven't read. As you can imagine this is very time consuming. I haven't changed anything on my computer re: cookies or anything else. And it was working correctly for me.....

Any clue?

edit: A balloon just showed up, this makes me think that balloons are shown only for posts that are created after I log on, and when I leave there is no cookie that identifies to the software what has been posted since I last logged off.
[/]

I have seen on several 6.5 boards where it works correctly (most of the time). They obviously have found a work around, but have not "shared" with the rest of us.

I need a work around or for version 7 to be released quickly. Any idea on either?

Fred

Re: Tracking not working correctly 6.5.5. #129552
08/07/06 02:46 PM
08/07/06 02:46 PM
Joined: Dec 2003
Posts: 2,046
Texas
AllenAyres Offline
Pooh-Bah
AllenAyres  Offline
Pooh-Bah
Joined: Dec 2003
Posts: 2,046
Texas
I haven't heard of any work arounds... if someone has one they're being awful secretive <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


- Allen
- ThreadsDev | PraiseCafe
Re: Tracking not working correctly 6.5.5. #129553
08/08/06 10:18 AM
08/08/06 10:18 AM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
There were so many places things needed to be changed it's not even possible to make the changes in 6.5.5 without rewriting a huge chunk of the code. What's strange is there are some server/setups this works flawlessly on. I talk with some people that never have a problem or complaint about it, while others have all sorts of problems. And then sometimes it's down to invididual users. Some people can visit and post all of the time without any problems and some people have all sorts of issues on the very same site. This is the reason I had to junk everything related to new post tracking and rewrite it all is I couldn't isolate it down to a single problem.

Re: Tracking not working correctly 6.5.5. #129554
08/09/06 03:26 PM
08/09/06 03:26 PM
Joined: Aug 2006
Posts: 115
Fred Offline OP
member
Fred  Offline OP
member
Joined: Aug 2006
Posts: 115
Well,

We are up to about 400 users now and I'm getting beat up left and right over it. For the most part it works for me, but then there will be a forum that the light bulb will just not go out in. I have other users with similar issues and now I am getting reports of all the lightbulbs being off even when there are new posts. It is frustrating and all I can tell them is it will change when version 7 comes out. I get about 5 to 10 complaints a day about this.

Fred

Re: Tracking not working correctly 6.5.5. #129555
08/28/06 07:09 PM
08/28/06 07:09 PM
Joined: Aug 2006
Posts: 1
R
Rob Kingsbury Offline
stranger
Rob Kingsbury  Offline
stranger
R
Joined: Aug 2006
Posts: 1
[]What's strange is there are some server/setups this works flawlessly on. I talk with some people that never have a problem or complaint about it, while others have all sorts of problems. [/]

I run our boards from multiple servers behind a load balancer and, before the upgrade to 6.5.5 (from 6.4.4 I think), I had straight, round-robin balancing; meaning anyone who hit a page had, pretty much, an equal change of hitting one of the 4 servers behind the load balancer and each user would hop around between servers the whole time they were looking at the boards. When I did the upgrade, we started having the same problem mentioned here and in a couple other threads.

It looks like, during a user's visit, posts that they have read during that visit are stored in a PHP session, which is local to a particular server. So, when a user would bounce between our 4 servers, they'd get all sorts of weird results because each server behind the balancer had a different idea of who had been where. All I had to do to fix it was turn on 'persistence,' which basically means that a user, over a period of time (usually a single visit via a temporary cookie), keeps hitting the same server over and over again instead of bouncing around all over the place.

I bet most people in a hosted environments don't even know if they're site is being served from one host or from multiple hosts behind a balancer and, if so, whether that balancer has a notion of session persistence or not.


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171217)