Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2002
Posts: 32
ang Offline
Member
Member
Offline
Joined: Aug 2002
Posts: 32
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

Sponsored Links
Entire Thread
Subject Posted By Posted
[6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 06/15/2003 1:11 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Stamoulis 06/15/2003 11:34 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 messagedj 06/16/2003 9:38 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 messagedj 06/16/2003 9:39 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 06/16/2003 9:59 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 06/16/2003 10:08 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 messagedj 06/17/2003 12:41 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 messagedj 06/18/2003 12:07 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 messagedj 06/21/2003 12:30 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Ian Spence 06/21/2003 2:39 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 06/21/2003 11:09 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 messagedj 07/01/2003 3:12 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 07/01/2003 7:20 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 jlm 07/07/2003 12:54 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 07/07/2003 7:00 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 jlm 07/08/2003 11:26 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 jlm 07/20/2003 10:21 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Gizmo 07/22/2003 4:22 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 messagedj 07/22/2003 11:36 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 07/22/2003 1:22 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Gizmo 07/22/2003 1:40 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 07/22/2003 10:00 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 DarkFormula 07/31/2003 7:11 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 DarkFormula 08/04/2003 5:52 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 messagedj 08/18/2003 8:58 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 08/19/2003 2:10 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 autostream 08/19/2003 10:59 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 08/19/2003 11:38 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 autostream 08/19/2003 11:48 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 08/19/2003 12:01 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 autostream 08/19/2003 8:03 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 08/20/2003 11:07 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 autostream 08/20/2003 11:11 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 08/20/2003 11:17 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 autostream 08/20/2003 11:17 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 08/20/2003 11:19 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 autostream 08/20/2003 12:20 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 08/20/2003 12:49 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 ang 09/24/2003 7:02 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Charles Capps 09/24/2003 7:44 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 d-talk 10/30/2003 8:13 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 10/30/2003 10:04 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 d-talk 10/31/2003 6:59 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 10/31/2003 2:49 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 d-talk 10/31/2003 3:53 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 10/31/2003 8:40 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 d-talk 10/31/2003 8:53 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 d-talk 11/03/2003 5:01 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 RANCH4x4 12/23/2003 4:45 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 12/23/2003 2:37 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 RANCH4x4 12/24/2003 8:51 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Gizmo 01/21/2004 4:55 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 01/24/2004 6:43 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Ian Spence 01/25/2004 3:30 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 01/25/2004 9:02 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Gizmo 02/05/2004 6:42 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 02/07/2004 1:54 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Gizmo 02/07/2004 3:06 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 AllenAyres 03/30/2004 7:33 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Gizmo 03/31/2004 1:19 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 AllenAyres 03/31/2004 6:19 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Gizmo 03/31/2004 12:16 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 CTM 04/02/2004 5:22 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 Gizmo 04/02/2004 5:27 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0 AllenAyres 04/02/2004 6:22 PM

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
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 3447
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
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)