I'm trying to install this hack for version 6.2.1. It all seemed to work fine in testing, and I posted a test message in the new count restricted forum, and all was good. Then I posted a message in a regular forum and I get this error message (though some of the posts are appearing anyway)
Undefined subroutine &main::update_tat called at /home/cgi-bin/atestboard/ubb_new_topic.cgi line 558.
On the ubb_new_topic.cgi file, in 6.2.1 there's nothing about a tat. (I went ahead and replaced some of the similar code with the hack code, but obviously I screwed it up)
For example, supposed to find:
Find:
=====
# index:
# create promo edition of message
$mess_truncated = &promo($message);
&append_index($in{f}, $new_topic_number, $this_forum[6], "000000", $message, $in{topic_subject});
# Update the CI & TAT indexes
&RequireCode("$vars_config{CGIPath}/ubb_lib_ci.cgi");
my @td = &GetThreadData($in{f}, $new_topic_number);
&update_tat($in{f}, $new_topic_number, @td);
&refresh_recentmeta($in{f}, $new_topic_number, "000000", "add", @td);
&update_cis($in{f});
&update_cis("ALL");
but here's what's there:
# index:
# create promo edition of message
$mess_truncated = &promo($message);
&append_index($in{f}, $new_topic_number, $this_forum[6], "000000");
# take viewer back to forum
%vars_style = &LoadStyleTemplate($template_match{transition});
&set_page_elements;
&Transition("$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic;f=$in{f};t=$new_topic_number", "$vars_wordlets{thanks_for_posting}", "$in{topic_subject}");
Any ideas on what I should do? (If I can get this fixed, this is a COOL hack, perfect for what I want!)
Thanks,
Ang