Notifications
Clear all

wpForo 1.x.x [Closed] Forum search not working as expected

29 Posts
5 Users
3 Likes
2,129 Views
Alvina
Posts: 1872
Moderator
(@alvina)
Member
Joined: 3 years ago

Hi @st7878,

It seems you use the old version of the SQL, that may cause the issue.

Could you please let us know the charset you use for wpforo_posts and wpforo_topics tables?

Also please let us know the SQL version you use?

10 Replies
st7878
(@aima-forum)
Joined: 2 years ago

Estimable Member
Posts: 108

@alvina

utf8mb4_unicode_520_ci

version
5.7.16-10-log

Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1872

@st7878,

Please send the admin login details to info[at]gvectors.com email address. I'll ask the developers to check it for you.

Also please leave the email subject here tp allow us to easily find it.

st7878
(@aima-forum)
Joined: 2 years ago

Estimable Member
Posts: 108

@alvina I sent it. Email subject: Search error

st7878
(@aima-forum)
Joined: 2 years ago

Estimable Member
Posts: 108

@alvina Good day. When can I get an answer?

Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1872

@st7878,

Sorry for the late response.

We can't access your website. Please check the details make sure everything is correct and let us know. 

Also, please let us know the version of the wpForo plugin you use. If it, not the latest version please update it to the latest version(v. 1.8. 4) and check again.

st7878
(@aima-forum)
Joined: 2 years ago

Estimable Member
Posts: 108

@alvina 

Email resubmitted to info@gvectors.com 
Sender address si***s.dp@gmail.com

version wpForo v.1.8.4

Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1872

@st7878,

Thank you for details.

We are going to check it. Please wait a bit. I'll update the topic once I get some news for you.

Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1872

Hi @st7878,

Sorry for the late response.

The issue is fixed by our developers. Please check it.

st7878
(@aima-forum)
Joined: 2 years ago

Estimable Member
Posts: 108

@alvina Super! It works now. What was the reason? What files have you edited (what should I transfer to the main site)?

Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1872

@st7878,

There was a search problem with russian unicode content and it's already fixed in the next version update.

To solve it on your main site please follow the steps below:

In the class-posts.php file located in wp-content/plugins/wpforo/wpf-includes folder, find the following line (line 987):

$words = str_word_count($args['needle'], 1);

replace with the following one:

$words = preg_split('#\s+#u', $args['needle']);

Delete all caches and check again (press CTRL+F5 on frontend).

Upstart DM
Posts: 29
Topic starter
(@upstartdm)
Eminent Member
Joined: 2 years ago

Hi, is there any news regarding improvements to forum search (e.g. phrase matching)? When can we expect to see a new release? Thanks!

 

3 Replies
Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1872

@upstartdm,

The plugin update comes very soon. Please wait a bit.

Upstart DM
(@upstartdm)
Joined: 2 years ago

Eminent Member
Posts: 29

@alvina Do we have an ETA for improved search yet?

Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9278

@upstartdm,

It's already improved and many type of queries are updated. Now it works much better. If you have a specific issue please open a new support topic.

Page 3 / 3
Share: