Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
in forumdisplay.cgi

find

} else {
$ThisURL = qq($NonCGIURL/$ExactPath/HTML/$threadinfo[1].html);
}

paste under

# begin date under Topic Starter mod
@catarray = @blank;
if( open (CATFILE,"$NonCGIPath/$ExactPath/$threadinfo[1].cgi") ){
$cataux = ; $cataux = ;
@catarray = split(/||/, $cataux);
close(CATFILE);
$ThisYearcat = substr($catarray[3], 6, 4);
$ThisMonthcat = substr($catarray[3], 0, 2);
$ThisDaycat = substr($catarray[3], 3, 2);

if ($DateFormat eq "US") {
$TheDatecat = "$ThisMonthcat-$ThisDaycat-$ThisYearcat";
}
elsif ($DateFormat eq "Euro") {
$TheDatecat = "$ThisDaycat-$ThisMonthcat-$ThisYearcat";
}
elsif ($DateFormat eq "USX") {
$TheDatecat = &DateFormat("$catarray[3]", "USExpanded");
} else {
$TheDatecat = &DateFormat("$catarray[3]", "EuroExpanded");
}
}else{
print "Content-type: text/htmlnn";
print "Error: unable to open file (date under Topic Starter)n";
}
# end date under Topic Starter mod

find

$threadinfo[4]

replace for

$threadinfo[4]
$TheDatecat


thanks ubbdev for the idea.

edit: added non-us date format compatibility

------------------


This message has been edited by CopyCat on January 08, 2001 at 06:01 PM

Sponsored Links
Entire Thread
Subject Posted By Posted
date under Topic Starter (ubb 5.47d) CopyCat 01/09/2001 1:27 AM
Re: date under Topic Starter (ubb 5.47d) GoTorankusuKu 01/09/2001 2:45 AM
Re: date under Topic Starter (ubb 5.47d) CopyCat 01/09/2001 3:13 AM
Re: date under Topic Starter (ubb 5.47d) Rattler til Death 01/09/2001 3:29 PM
Re: date under Topic Starter (ubb 5.47d) docda s 02/02/2001 10:41 AM
Re: date under Topic Starter (ubb 5.47d) kja 02/02/2001 11:05 AM
Re: date under Topic Starter (ubb 5.47d) Metallifukinca 02/03/2001 12:57 AM
Re: date under Topic Starter (ubb 5.47d) CopyCat 02/15/2001 6:50 PM
Re: date under Topic Starter (ubb 5.47d) J.C. 02/20/2001 2:05 AM
Re: date under Topic Starter (ubb 5.47d) CopyCat 02/21/2001 12:42 AM
Re: date under Topic Starter (ubb 5.47d) GoTorankusuKu 02/21/2001 2:05 AM
Re: date under Topic Starter (ubb 5.47d) CopyCat 02/21/2001 7:38 PM
Re: date under Topic Starter (ubb 5.47d) CopyCat 02/24/2001 7:10 AM
Re: date under Topic Starter (ubb 5.47d) J.C. 02/24/2001 7:13 AM
Re: date under Topic Starter (ubb 5.47d) CopyCat 02/24/2001 10:31 AM
Re: date under Topic Starter (ubb 5.47d) Hallahan 07/11/2001 1:08 PM

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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online 769
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 0
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
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-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)