Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
3 registered (daudvegas, Dunny, Pilgrim), 41 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 02/09/07
Posts: 193
Top Posters (30 Days)
Ruben 49
Gizmo 24
DennyP 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
capnbob 7
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#128802 - 05/10/06 05:21 PM New posts are the old posts!
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
Some posts are persistently display new post icon although they have been viewed already. The new post dissapears after the viewing then after log off log on it shows that it is new post again but it is not. And no, the posts have not been edited in between.

Has anyone noticed the same? It happens on my board and on this board. I am using Firefox 1.0.
Top
#128803 - 05/10/06 05:37 PM Re: New posts are the old posts!
Anno Offline
member
Registered: 06/07/06
Posts: 182
This has been a well known persistant long standing never solved bug since 6.5 .
Top
#128804 - 05/10/06 06:55 PM Re: New posts are the old posts!
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
Really? Do you know what causing it?
Top
#128805 - 05/10/06 07:26 PM Re: New posts are the old posts!
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
This is one of those things that I've *never* had happen to me. Usually I can isolate and fix a bug fairly easily but when I can't duplicate it do debug what's causing it, it makes it almost impossible
Top
#128806 - 05/11/06 02:57 AM Re: New posts are the old posts!
Zarzal Offline
old hand
Registered: 06/05/06
Posts: 1142
Loc: Berlin, Germany
I have a similar problem here in this board. Every day I see the yellow light bulb on for the classic to threads boards. The last new post schould be in the thread ' Re: Renaming URL's in MYSQ... '

If I enter this forum there is no new or unread for me and if I go back to main Index the light bulb switches to off.

I can repeat this nearly every day. I try to clear the cookies but this doesn't help. I use FireFox too, but I think its not browser related.
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Top
#128807 - 05/11/06 12:44 PM Re: New posts are the old posts!
Anno Offline
member
Registered: 06/07/06
Posts: 182
Quote:

This is one of those things that I've *never* had happen to me. Usually I can isolate and fix a bug fairly easily but when I can't duplicate it do debug what's causing it, it makes it almost impossible




It goes like this for me:
Locate a forum that has one new thread or post in it, and access it via ubbthreads.php last post.

Then close the browser and reload ubbthreads.php.
The forum will be marked as having new posts, albeit it doesn't, since you took a look at that one post already.

As soon you access the forum via postlit.php, then the forum is marked as having no new posts.
Top
#128808 - 05/11/06 01:10 PM Re: New posts are the old posts!
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
Same here, if you do not load postlist and go directly to showflat (which the last post links to) then it stays unread. I've looked into the code and OMG, I am surprised it is actually working. For example there is variable $notread = ''; But there are no more $notread variables anywhere instead there are $unread, well same thing really but try to explain this to php interpreter then there is $read variable which get passed to a function but does not exist in the function anywhere. Then there is $color variable and $Color variable, this just tells me it's a recipe for disaster. Lots of stuff is commented off so I wonder, maybe something was commented off by mistake?
Top
#128809 - 05/11/06 03:06 PM Re: New posts are the old posts!
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
postlist

if ( (isset($Main,$_SESSION['topicread'])) && $Sticky == '2')

should it be

if ( (isset($_SESSION['topicread'][$Main])) && $Sticky == '2')

instead?
Top
#128810 - 05/11/06 03:17 PM Re: New posts are the old posts!
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
showflat

is this correct

$query = "
SELECT COUNT(*)
FROM {$config['tbprefix']}Posts
WHERE B_Main = '$current'
";

should $current be not included in '' ?
Top
#128811 - 05/11/06 03:21 PM Re: New posts are the old posts!
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Yes, that's a definite buggie, refering to the postlist.php one.


Edited by Rick Baker (05/11/06 03:22 PM)
Top
#128812 - 05/11/06 03:23 PM Re: New posts are the old posts!
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
$current being surround in quotes is fine. It doesn't have to be since it is an int value but doesn't cause any problems when it is.
Top
#128813 - 05/13/06 01:54 AM Re: New posts are the old posts!
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
Quote:

This is one of those things that I've *never* had happen to me. Usually I can isolate and fix a bug fairly easily but when I can't duplicate it do debug what's causing it, it makes it almost impossible




I may have found what was causing this...need to test a bit more though.
Top
#128814 - 05/13/06 09:25 AM Re: New posts are the old posts!
Stan Offline

old hand
Registered: 06/05/06
Posts: 708
Quote:

showflat

is this correct

$query = "
SELECT COUNT(*)
FROM {$config['tbprefix']}Posts
WHERE B_Main = '$current'
";

should $current be not included in '' ?




So what should this look like???
Top
#128815 - 05/13/06 10:08 AM Re: New posts are the old posts!
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
This should look exactly as it looks at the moment.
Top
Page 1 of 2 1 2 >



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Island Permissions
by ThreadsUser
Yesterday at 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Running ads
by Jeffdag
05/17/12 01:47 PM
Forum Stats
10484 Members
36 Forums
33834 Topics
181678 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image