 |
 |
 |
 |
#36057 - 01/21/00 09:41 AM
Re: *Last Username To Post* in forumdisplay.cgi
|
Junior Member
Registered: 01/18/00
Posts: 15
Loc: Charlotte, NC USA
|
Thanks, Slurpee. This post will be much easier to find, I think. Incidentally, after uploading the changes, I didn't think it was working for me. I updated threads, reindexed and the username doesn't show up for prior posts. New posts, on the other hand, do.  ------------------ It is easy in the world to live after the world's opinions; it is easy in solitude to live after one's own. But the great man is he who in the midst of the crowd keeps with perfect sweetness the independence of solitude. -- Emerson
_________________________
It is easy in the world to live after the world's opinions; it is easy in solitude to live after one's own. But the great man is he who in the midst of the crowd keeps with perfect sweetness the independence of solitude.
-- Emerson
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#36062 - 02/03/00 04:08 PM
Re: *Last Username To Post* in forumdisplay.cgi
|
Member
Registered: 01/11/00
Posts: 322
|
Hmmm....guys try changing this line in forumdisplay.cgi: if ($thesetotal > 0) { to if ($thesetotal > 1) { See what happens. ------------------ Webmaster Van Halen Links.com http://www.vhlinks.com UBB Moderator http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#36065 - 02/03/00 08:20 PM
Re: *Last Username To Post* in forumdisplay.cgi
|
Junior Member
Registered: 02/03/00
Posts: 13
Loc: Florida
|
for (my $i=2; $i< $thesetotal; $i++){ Changed this to: for (my $i=20; $i< $thesetotal; $i++){ in forumdisplay.cgi And it now works  To guess what ???the 20th thread
_________________________
SalaTar Admin of www.mrcs.net Home of the free Linux Box
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#36068 - 02/11/00 10:58 PM
Re: *Last Username To Post* in forumdisplay.cgi
|
Junior Member
Registered: 02/03/00
Posts: 13
Loc: Florida
|
You ever get it Chan? ------------------ SalaTar Admin of www.mrcs.net Home of the free Linux Box
_________________________
SalaTar Admin of www.mrcs.net Home of the free Linux Box
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#36094 - 04/19/00 03:06 PM
Re: *Last Username To Post* in forumdisplay.cgi
|
Member
Registered: 11/06/01
Posts: 1046
|
Okee dokee. Two things. For one, it didn't work with Mutt's UBB Code Button hack (like it works on this forum) and I did have a problem with one of Slurpee's instruction. When he says to edit the forumdisplay file (for profile link) In the subroutine TopicGutsHTML Look for this code: $ThisURL = qq($NonCGIURL/$ExactPath/HTML/$threadinfo[1].html); Below it add the following: $lastAuthName = qq(<A HREF="$CGIURL/ubbmisc.cgi?action=getbio&UserName=$threadinfo[8]" target=_blank> ); $lastName = $threadinfo[8]; $lastName =~ tr/+/ /; That part has a white space that was giving me headaches. Deleting that white space fixed my problem... Just a though... OOPS! Sorry Cal!!! 
|
|
Top
|
| | | | |