Previous Thread
Next Thread
Print Thread
Rate Thread
#243344 04/20/2003 2:18 PM
Joined: Apr 2002
Posts: 206
Member
Member
Offline
Joined: Apr 2002
Posts: 206
Mark All Read doesn't seem to work for me. It clears the Main Index, but I still have highlighted threads within the forums.

Anyone else having this problem?

Sponsored Links
Joined: Mar 2003
Posts: 215
Junior Member
Junior Member
Offline
Joined: Mar 2003
Posts: 215
Yeah it does that.

I think it's a cookie path problem, because when I changed the php to include the cookie path in domarkallread.php like the other cookies are set, it worked on the board I help with.

I changed:

setcookie("{$config['cookieprefix']}w3t_visit",${$config['cookieprefix']."w3t_visit"},0);

to

setcookie("{$config['cookieprefix']}w3t_visit",${$config['cookieprefix']."w3t_visit"},0,$config['cookiepath']);

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, I've noticed that.... and I think Randy reported it at Infopop, and if I'm not mistaken, Rick's got it fixed for 6.3.

Joined: Sep 2001
Posts: 64
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 64
Hmmmmm....that doesn't look like what I've got in my domarkallread.php file. I've got this:

Code
     setcookie("{$config['cookieprefix']}w3t_visit",$newcookie,0);  


How is is supposed to look with what i've got?

Joined: Mar 2003
Posts: 215
Junior Member
Junior Member
Offline
Joined: Mar 2003
Posts: 215
Sorry about that...
I grabbed the wrong line of code from the file with a mark forum read hack when I pasted that and then removed the added part.

What you said:

setcookie("{$config['cookieprefix']}w3t_visit",$newcookie,0);

changed to:

setcookie("{$config['cookieprefix']}w3t_visit",$newcookie,0,$config['cookiepath']);

Sponsored Links

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:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,825
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 7875
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 26
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)