Yes, this is missing as a standard feature but is very easy to hack in.
public_forum_page, line 300-330 - there's a $this_html block in which $total_replies is printed, then an if block deciding the next alternating color, then a $this_html block in which the date and time are printed.
Between the If block and the second $this_html block, insert the following:
my $doextra;
my $page_total = int (($total_replies + 1) / $vars_display{HTMLDisplayMax});
if (($total_posts + 1) % $vars_display{HTMLDisplayMax}) { $page_total++; }
if ($page_total > 1) { $doextra = "&p=$page_total"; }
Then inside the $this_html block, use this string to print out the user who made the last post with a link to it
$last_post[2]Now you need to add the anchor to the posts -
public_topic_page - sub topicrow
my $row will be assigned, starting with a table.
Inside the second
will be a font statement - insert the following between the | and the :
That should do the trick.
Note that this is based on B6, not 7, so the line numbers may be a bit off. Please use your brain and eyes to search for the proper areas to place the modified text, don't come back here for help.
UBB.classic: Love it or hate it, it was mine.
|