Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 4
Hey there! I've been using Latest Threads since last fall and loving it immensely. I just did a server switch and upgraded UBB to the latest version while I was at it. For some reason I can't get the latest threads to update any more.

You can see my main page here -

http://66.221.45.227/code/ubb/cgi-bin/ultimatebb.cgi

I redownloaded the instructions just to make sure I was doing it right. The area it says to watch for in ubb_lib_posting.cgi is no longer exactly like described, so I put the code snippet at the bottom of append_index. I'm attaching below what the whole block looks like. But even tho I refresh the cache, it never updates the threads any more.

Any thoughts? My users LOVED that feature and are clamboring to have it working again ...

Lisa
BellaOnline.com

------------------------------------------------

sub append_index {

# sr parameters
# $_[0] : forum number
# $_[1] : topic number
# $_[2] : forum permissions (check to see if private)
# $_[3] : post number
# $_[4] : message
# $_[5] : subject

my $message = $_[4];
my $subject = $_[5];

# only index if search is ON
unless ($vars_search{AllowSearch} eq 'FALSE') {

my $index_file;
# index file to update will depend on index method...
if ($vars_search{IndexMethod} eq 'ONEFILE') {
$index_file = "$vars_config{CachePath}/search_index/forumindex.cgi";
} else {
$index_file = "$vars_config{CachePath}/search_index/forumindex$_[0].cgi";
}

# clean fields
my $shrunk = &indexify($message);
$subject =~ s/|/|/sg;

# assemble index line
my $index_line = join("|", $_[0], $_[1], $_[3], $GotTime{HyphenDate}, $subject, $shrunk);

# append index file
mkdir("$vars_config{CachePath}/search_index", SEVENSEVENSEVEN); #jic
&AppendFileAsString($index_file, "$index_linen");

} # if search is activated

#LISA ADDED CODE FOR THREADS
&RequireCode("$vars_config{CGIPath}/ubb_latest_threads.cgi");
&Latest_Threads;
#END LISA CODE


} # end append_index

Sponsored Links
Entire Thread
Subject Posted By Posted
Need help with latest threads on 6.5 lisashea 02/22/2003 8:39 PM
Re: Need help with latest threads on 6.5 Charles Capps 02/22/2003 8:49 PM
Re: Need help with latest threads on 6.5 lisashea 02/23/2003 4:36 AM
Re: Need help with latest threads on 6.5 Charles Capps 02/23/2003 4:56 AM
Re: Need help with latest threads on 6.5 PrimeTime 02/23/2003 5:14 AM
Re: Need help with latest threads on 6.5 Charles Capps 02/23/2003 5:18 AM
Re: Need help with latest threads on 6.5 lisashea 02/23/2003 5:38 AM
Re: Need help with latest threads on 6.5 Charles Capps 02/23/2003 7:15 AM
Re: Need help with latest threads on 6.5 lisashea 02/24/2003 4:24 AM
Re: Need help with latest threads on 6.5 Charles Capps 02/24/2003 8:07 AM
Re: Need help with latest threads on 6.5 GetAGrip 03/02/2003 3:36 AM
Re: Need help with latest threads on 6.5 AllenAyres 03/02/2003 5:22 AM
Re: Need help with latest threads on 6.5 AllenAyres 03/02/2003 5:23 AM
Re: Need help with latest threads on 6.5 GetAGrip 03/02/2003 6:02 AM
Re: Need help with latest threads on 6.5 PrimeTime 03/02/2003 6:38 AM
Re: Need help with latest threads on 6.5 GetAGrip 03/02/2003 6:55 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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online 961
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 0
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
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-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)