Previous Thread
Next Thread
Print Thread
Rate Thread
#170334 07/01/2001 2:11 PM
Joined: Apr 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 18
How do I expand the parameters of the search feature so that it searches most of a thread instead of only the first 210 characters or so.

Version UBB 6.05
www.endlesspath.com

Sponsored Links
#170335 07/01/2001 2:51 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Not advised, but:

sub Indexify, lib_postings:

$_[0] = substr($_[0], 0, 210);

Comment that line out.

Note that this will increase search index sizes dramatically and will eventually cause the search on your board to keel over and die (as it tries to load the whole bloody index...)


UBB.classic: Love it or hate it, it was mine.
#170336 07/01/2001 3:34 PM
Joined: Apr 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 18
Thanks, Charles. I can always put it back the right way if it messes up.

--Dan

#170337 07/04/2001 9:24 AM
Joined: Apr 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 18
I changed the "210" to "5000" and it works great when I reindex, but for some reason, the new topics only get the first 210 characters indexed. I know because when I search for a word in a new topic, it can't be found, but when I reindex, the search produces the results afterwords. So, is there somewhere else I need to modify so that when I post a brand new topic, it is indexed appropriately without having to reindex every time? Thanks!

#170338 07/04/2001 8:45 PM
Joined: Apr 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 18
Bringing to the top.

Sponsored Links
#170339 07/05/2001 12:04 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
That SHOULD be the only place where the truncation takes place.


UBB.classic: Love it or hate it, it was mine.

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
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)