Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 16
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 16
Crap, still won't work, I just get a blank "last reply by: " under the last reply date!

I did everything right, it has to be the ubb_forum.cgi!!

ok, here;s how my first paragraph that was supposed to be changed looks:

quote:
local ($poll_new, $poll_old, $pollid, $poll_link, @pntf_locations, $pntf_string, $last_julian, $GetMonth, $GetDate, $GetYear, @this_forum, $category, $permission, $cat_name, $mod, @mods, %topic_legend, %reply_legend, $topic_restrict, $reply_restrict, $forum_name, %topic_view, $DPJulian, @thefinalarray, %forum_topics, $topic, $one, @this_topic, $closed, $total_replies, $subject, $user_name, $msg_icon, $last_hyphen_date, $last_time, @rev_file, @last_post, $TheDate, $Breaker, $DateSize, $hot_icon, $new_topic_button, $key, $value, $Sections, $count, $j, $start_point, $array_stop, $total_good, $more_topics_wording, $Block, $starting, @topics, $Section, $topic_start_name, $cat_line1, $extra_pages, $topic_view_line, $topic_start_un, $last_post_username, @user_profile);
then later in the same file:
quote:
$last_hyphen_date = $this_topic_data[12];

# begin last post hack
if ($last_post[1] eq "000000"){
$last_post_username = "";
}
else { $last_post_num = &GetUserNumber($last_post[2]);
# get latest public name for latest post replier!
my @user_profile = '';
if (-e "$vars_config{MembersPath}/$last_post_num.cgi") {
@user_profile = &OpenProfile($last_post_num);
chomp($user_profile[15]); chomp($user_profile[0]);
$last_post_username = $user_profile[15];
if ($user_profile[15] eq '') { $last_post_username = $user_profile[0]; }
}
else {
$last_post_username = $last_post[2];
}
my $total_posts = $total_replies + 1;
my $page_num = '';
if ($total_posts > $vars_display{HTMLDisplayMax}) {
my $total_pages = int ($total_posts / $vars_display{HTMLDisplayMax});
if ($total_posts % $vars_display{HTMLDisplayMax}) { $total_pages++; }
if ($total_pages > 1) {
$page_num = "&p=$total_pages";
}
}
$last_post_username = qq!
$vars_wordlets_mods{last_reply_by}: $last_post_username!;
}
# end last post hack

Why wouldn't it work? I emptied the cache (actually at this point I turned it off), I did the templates and wordlets deal right obviously since I get the words "last reply by: " under the last post date, I am going nutz here!

Any ideas?? confused

Sponsored Links
Entire Thread
Subject Posted By Posted
"Last reply by" hack for 6.2 ? Embercidal 02/23/2002 11:58 PM
Re: "Last reply by" hack for 6.2 ? Embercidal 02/24/2002 12:11 AM
Re: "Last reply by" hack for 6.2 ? gleem 02/25/2002 8:23 AM
Re: "Last reply by" hack for 6.2 ? Embercidal 02/25/2002 12:20 PM
Re: "Last reply by" hack for 6.2 ? gleem 02/25/2002 6:54 PM
Re: "Last reply by" hack for 6.2 ? gleem 02/26/2002 10:44 AM
Re: "Last reply by" hack for 6.2 ? Nemesis138613 02/26/2002 11:41 AM
Re: "Last reply by" hack for 6.2 ? gleem 02/26/2002 7:04 PM
Re: "Last reply by" hack for 6.2 ? gleem 02/27/2002 7:56 AM
Re: "Last reply by" hack for 6.2 ? Nemesis138613 02/27/2002 9:13 PM
Re: "Last reply by" hack for 6.2 ? gleem 02/27/2002 10:16 PM
Re: "Last reply by" hack for 6.2 ? ADWOFF 03/13/2002 6:48 AM
Re: "Last reply by" hack for 6.2 ? Yamaha Raptor 03/13/2002 7:03 AM

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
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1916
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 17
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
WebGuy 2
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)