 |
 |
 |
 |
#39107 - 12/20/00 02:58 PM
Re: Sticky Threads
|
Junior Member
Registered: 09/26/00
Posts: 5
Loc: New Jersey
|
This mod has two minor problems: <OL TYPE=1> [*]When you bump a thread and you have the latest Reply By mod installed, the UBB main page will display the incorrect username. It will show the correct last reply timestamp but not the username. [*]If you go to the Control Panel/General Settings and let it save with the Update threads/timestamp checkbox selected, the Last Timestamp will be for the bumped thread which may not be the latest in the first place. </OL> Btw, the Bump feature on this board seems to allow ANYONE to bump a thread. It must be a bug.  <FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by Polgas on December 20, 2000 at 03:03 PM</font>
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#39111 - 12/27/00 09:51 AM
Re: Sticky Threads
|
Junior Member
Registered: 12/27/00
Posts: 3
Loc: Hong Kong
|
Is it work at 5.47c too? i see this forum can be use this hack but i got error on it @@
the ubb_libery.pl got error in it ... after did this step REPLACE that with: --------------------------------------------------- if ($checkit[1] eq "$threadnum") { if ($openclose eq "open") { $checkit[6] =~ s/X//isg; } else { if ($itWasMoved eq 'yes') { $checkit[6] = "Y$checkit[6]"; } elsif ($openclose eq "close") { $checkit[6] = "X$checkit[6]"; } elsif ($openclose eq "top") { $length = $in{'length'}; if (($TimeZoneOffset ne "") || ($TimeZoneOffset ne "0")) { $adjustTime = time() + ($TimeZoneOffset * 3600); } else { $adjustTime = time(); } ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($adjustTime); $year = $year +1900; if ($length eq "perm") { $year = $year + 10; } $mon++; $JulianDate = &jday($mon, $mday, $year); $Time = ("$hour" . "$min"); $JulianTime = ($JulianDate + ($Time * 0.0001)); $JulianTime = sprintf("%7.4f", $JulianTime); $JulianTime =~ tr/ /0/; $checkit[0] = $JulianTime; } else { $year = substr($checkit[5],0,4); $mon = substr($checkit[5],4,2); $mday = substr($checkit[5],6,2); $hour = substr($checkit[5],8,2); $min = substr($checkit[5],10,2); $JulianDate = &jday($mon, $mday, $year); $Time = ("$hour" . "$min"); $JulianTime = ($JulianDate + ($Time * 0.0001)); $JulianTime = sprintf("%7.4f", $JulianTime); $JulianTime =~ tr/ /0/; $checkit[0] = $JulianTime; }
then error will be occcur. Is there any new fixed version? THX
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#39112 - 12/28/00 01:57 AM
Re: Sticky Threads
|
Member
Registered: 07/27/00
Posts: 286
Loc: Canada
|
replace with that:
if ($checkit[1] eq "$threadnum") { if ($itWasMoved eq 'yes') { $checkit[6] = "Y$checkit[6]"; } else { $checkit[6] =~ s/Y//isg; } if ($openclose eq "open") { $checkit[6] =~ s/X//isg; } elsif ($openclose eq "close") { $checkit[6] = "X$checkit[6]"; } elsif ($openclose eq "top") { $length = $in{'length'}; if (($TimeZoneOffset ne "") || ($TimeZoneOffset ne "0")) { $adjustTime = time() + ($TimeZoneOffset * 3600); } else { $adjustTime = time(); } ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($adjustTime); $year = $year +1900; if ($length eq "perm") { $year = $year + 10; } $mon++; $JulianDate = &jday($mon, $mday, $year); $Time = ("$hour" . "$min"); $JulianTime = ($JulianDate + ($Time * 0.0001)); $JulianTime = sprintf("%7.4f", $JulianTime); $JulianTime =~ tr/ /0/; $checkit[0] = $JulianTime; } else { $year = substr($checkit[5],0,4); $mon = substr($checkit[5],4,2); $mday = substr($checkit[5],6,2); $hour = substr($checkit[5],8,2); $min = substr($checkit[5],10,2); $JulianDate = &jday($mon, $mday, $year); $Time = ("$hour" . "$min"); $JulianTime = ($JulianDate + ($Time * 0.0001)); $JulianTime = sprintf("%7.4f", $JulianTime); $JulianTime =~ tr/ /0/; $checkit[0] = $JulianTime; } $newline = join("|^|", @checkit); push(@theupdatedts, $newline); } else { push(@theupdatedts, $checkthis); } } # end foreach @threadsum
that's what somebody told... i think it was AllenAyres
------------------ TyRaN
_________________________
Sorry for my english... i speak french.
email:tyranausaure@hotmail.com
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#39114 - 01/04/01 04:42 AM
Re: Sticky Threads
|
Junior Member
Registered: 10/10/00
Posts: 6
|
When I delete the first non bumped Thread in the Forum the Last Post Time in Ultimate.cgi isn't update anymore! I don't have the Last Post by in Ultimate.cgi installed, just the normal Latest Post Time... Please help me, i'm trying for weeks now and dont have an idea what to change  Im using 5.47d since a few days, and now when i move a Thread to a forum with a bumped thread the latest time ist the time from the bumped thread  With 5.45c there was this just the Problem with the delete first topic, this would maybe just be a problem in update the last time file but i dont have any idea how to do that. greets, cRackY -------------- NEED MONEY for Beer, Pot and Woman (Hey at least I'm not Bull****ting You!) <FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by cRackY on January 04, 2001 at 04:56 AM</font>
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#39122 - 03/04/01 03:21 PM
Re: Sticky Threads
|
Addict
Registered: 09/29/00
Posts: 1933
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#39131 - 01/01/02 09:21 PM
Re: Sticky Threads
|
Member
Registered: 10/11/00
Posts: 344
Loc: Newport, RI
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|