TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

October 07, 2024, 04:09:09 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,395
  • Total Topics: 21,244
  • Online today: 76
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 70
  • Total: 70

TP Extended Search function

Started by davo88, February 07, 2024, 07:31:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

davo88

Link to my forum: Test forum only.
SMF version: 2.1.4
TP version: 3.0.0
Default Forum Language: English
Theme name and version: Default Curve2
Browser Name and Version: Brave version 1.62.156
Mods installed: None. Completely stock fresh install
Related Error messages: None


Having trouble finding the TP extended search function as described in SEARCH FUNCTIONALITY and shown on the Docs site.

You cannot view this attachment.

I have 'Enable TinyPortal full text search" checked in settings.

You cannot view this attachment.

But the Search box options available in the block type drop down only seem to include the standard SMF search.

You cannot view this attachment.

So we get the standard SMF search box in the block.

You cannot view this attachment.

Is there another setting somewhere for the TP Extended Search?



tino

That is done by a php block. If you choose PHP then look in the block code list you should have one called search articles.

lurkalot

Click search on the main menu, you should see a header with Extended Search on it, and below that "Search Articles"

davo88

Here's what I did.

Add block and choose 'Search articles Written by tinoest'

You cannot view this attachment.

Edit the block and select Search articles > Insert code > Overwrite (plus title, activate etc)

You cannot view this attachment.

Search box appears in panel OK.

You cannot view this attachment.

Search for a term (even though there is no data in this site's database)

You cannot view this attachment.

No results returned as expected. No error messages.

Then follow the same setup procedure on a site containing both SMF data and TP articles. Then enter the search term 'franky' and we get an error message.

You cannot view this attachment.

Same search term seems to work OK in standard SMF search box. Is there something else I need to do?

tino

If you disable the fulltext search it should work.

For some reason when you selected fulltext it hasn't changed the database.

davo88

Disabled 'Enable TinyPortal full text search' and yes, it will now search for a single word OK.

Quote from: tinoFor some reason when you selected fulltext it hasn't changed the database.

What is the change required to the database? Is there another way I can make that happen?

@rjen

Try switching it off, then save and the switch on again and save
Running Latest TP on SMF2.1 at: www.fjr-club.nl

davo88

Tried on and off a couple of times but no luck. Same result.

Can't find FULLTEXT index matching the column list
File: /home/dmfxyz/public_html/220-Test/Sources/TPSearch.php
Line: 205

lurkalot

Do you have to have search Fulltext index enabled in SMF for this to work?

If so, Admin > Forum > Search >> Search Method

davo88

Good thought Mick, but unfortunately we have the same error message.