#52292
02/26/2002 12:04 PM
|
Joined: Apr 2001
Posts: 16
Junior Member
|
|
Junior Member
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?? 
|
|
|
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.
|
|
Posts: 808
Joined: July 2001
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 1916
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 17
|
|
|
|