Notifications
Clear all

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

29 Posts
5 Users
3 Likes
3,265 Views
Alvina
Posts: 1869
Moderator
(@alvina)
Member
Joined: 5 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: 4 years ago

Estimable Member
Posts: 111

@alvina

utf8mb4_unicode_520_ci

version
5.7.16-10-log

Alvina
Moderator
(@alvina)
Joined: 5 years ago

Member
Posts: 1869

@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: 4 years ago

Estimable Member
Posts: 111

@alvina I sent it. Email subject: Search error

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

Estimable Member
Posts: 111

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

Alvina
Moderator
(@alvina)
Joined: 5 years ago

Member
Posts: 1869

@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: 4 years ago

Estimable Member
Posts: 111

@alvina 

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

version wpForo v.1.8.4

Alvina
Moderator
(@alvina)
Joined: 5 years ago

Member
Posts: 1869

@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: 5 years ago

Member
Posts: 1869

Hi @st7878,

Sorry for the late response.

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

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

Estimable Member
Posts: 111

@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: 5 years ago

Member
Posts: 1869

@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).

Posts: 48
Topic starter
(@upstartdm)
Trusted Member
Joined: 4 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: 5 years ago

Member
Posts: 1869

@upstartdm,

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

(@upstartdm)
Joined: 4 years ago

Trusted Member
Posts: 48

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

Robert
Admin
(@robert)
Joined: 8 years ago

Support Team
Posts: 10503

@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