Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 77
JJS
Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 77
...after a thread is made sticky.

I'm pretty certain no one left this post on January 18, 1938 :

http://www.athenalink.com/forum/index.php?Cat=&RefCache=1

The date displayed properly when it wasn't s 'sticky thread' but as soon as I made it sticky the date got trashed.....

Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
There is a bug in .threads 6.1 that causes the sticky post date to be changed when replies are posted to it. This may be causing the problem but I'll have to do some testing to see.


Edit Note: sure enough, the date is off on my test site. I beleve the 38 is in reference to 2038 as that's the end of the unix time stamp as far as 32bit size goes.


Does anyone have a copy of 6.0.3 running with IIP 4.3? The way the dates are calculated is the same so I'm wondering if it is just the sticky date bug in 6.1 that's causing this.

Last edited by JustDave; 10/02/2002 8:17 AM.
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Don't have it running anymore, but with 6.0.3. and IIP 4.3 sticky posts used to appear with a way old (1969?) date?

Sorry I don't have it up and running anymore.

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
No problem. I looked over the code of both .threads and IIP and I see what the problem is as far as IIP goes.

When a post is "sticky" the date is not really the posted date so using that field to get a date will only give incorrect results.

I'll get this fixed for IIP 6.0 though.

Joined: May 2001
Posts: 77
JJS
Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 77
Dave:

Are you going to fix the bug for IIP 6.1 IIP as well, or am I using a beta release of your interface?

BTW, that is one slick piece of software code---and so simple for us intermediate types to configure (although I'm not quite sure how to use html tags in a PHP script yet.

As a token of my appreciation I'd like to offer you a choice of a fully restored 1963 Corvette Stingray in mint condition or a good ol' American Green Back with a picture of Uslysses S. Grant on it.

The only catch on the car is you have to respond in 15 seconds.

Take care.

Sponsored Links
Joined: May 2001
Posts: 77
JJS
Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 77
Times up. Already have too many classic cars I guess!

I was serious about the donation however, please send me a PM with your mailing address. I'd use Paypal but they screw up far too often.

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
LoL yeah my dial up connection just isn't quick enough.

The bug is partially do to IIP and I will fix that and post it in the main zip shortly. The other problem though is that there is a flaw in the way sticky post dates are tracked by .threads so even though I can fix what IIP does the date will still be wrong *if* anyone posts a reply to the sticky thread.

Scream is aware of this .threads bug and is taking steps to have killed in 6.2


I have updated IIP 5.1's zip file to include the new newspal.php script. Download the zip and upload the new file to your /pals directory.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)