A A A
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
plugins-topic
Search Plugin Not Returning Blog Results
Avatar
jim
Here and Now

630 Posts
(Offline)
1
Jan 31, 2019 - 8:27 pm
Print

How did I not know about the enhanced Search Plugin?

Looks great! Unfortunately, it’s not working for us…

I activated “Search” plugin, checked it’s options, and performed a search, checking Include Blog Posts.

Forum results displayed as expected.

Clicking Blog Search Results resulted in only: “A Suspect Request has been Rejected”

I replicated the issue on our dev install and live site:

WordPress Version 5.0.3 (WP Multisite, Main Site)

SimplePress Version: 6.0.6 Build: 15852

Search Plugin Version 2.0

There are no errors in the SimplePress toolbox, nor our server error logs. Nothing in mod_sec logs indicates something was blocked by ModSecurity.

Has this plugin been tested with WordPress Multisite?

searcherror.pngImage Enlarger

Attachments

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
jim
Here and Now

630 Posts
(Offline)
2
Jan 31, 2019 - 8:30 pm
Print

On a related note, the Include Blog Posts option remained in the Advanced Search even after deactivating the Search plugin. Only after deleting the Search plugin did the option disappear from the expanded search box.

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Simple Press
394 Posts
(Offline)
3
Feb 1, 2019 - 6:26 am
Print

Hi:

We can confirm the first bug and have a fix for it.  You can apply the fix yourself if you like by going to the wp-content/sp-resources/forum-plugins/search/classes folder and editing file sp-search-blog-view-class.php.

  • Go to line #222.
  • Change the function call from “integer” to “str’.  

In the image below you can see the change.  The red line is the old line; the green line is the new one:

02.01.2019-05.23Image Enlarger

We’ll push a new version of the plugin out the door in the near future but if you feel up to it, this manual edit should resolve the issue for you.

Regarding the second issue about deactivating – we could not reproduce that issue.  I suspect it’s a caching issue.  If you deactivate the plugin and then press CTRL-F5 in your browser window, the BLOG option should disappear from the advanced search section.

Thanks

The following users say thank you to Simple Press for this useful post:

jim
sp_Check
This post answers the topic
Avatar
jim
Here and Now

630 Posts
(Offline)
4
Feb 1, 2019 - 4:08 pm
Print

Simple Press said
We can confirm the first bug and have a fix for it…

Fantastic. Thanks for the quick fix!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
jim
Here and Now

630 Posts
(Offline)
5
Feb 1, 2019 - 4:19 pm
Print

This is working great now.

Since you’ll be rolling out a plugin update, I wonder if you might consider the following:

Open Blog search result links in new tab, or add option to Search plugin settings for doing so.

Some less technical users may get lost with the blog opening up in the same window.

Not sure how difficult either of these may be, so feel free to disregard this feature request if difficult to implement.

Thanks again!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Simple Press
394 Posts
(Offline)
6
Feb 1, 2019 - 8:25 pm
Print

Hi – thanks for the idea.  I have added it to our ideas list.  But I don’t think we’ll be able to get it done for the next release.  Right now enhancements are focused on other existing plugins plus we have two new plugins in the pipeline for push notifications (via web browser and web apps) and AD scheduling.

Thanks again.

Forum Timezone: America/New_York
All RSSShow Stats
Administrators: Blues Dancer, Simple Press, SP Community Support
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 630
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
David Hnát
Gary Lee
Glen Stewart
Rodney Pacis
kent black
Robert Meharg
test test
narek amprachamian
Forum Stats:
Groups: 7
Forums: 17
Topics: 10065
Posts: 79362

 

Member Stats:
Guest Posters: 607
Members: 16923
Moderators: 0
Admins: 3

Most Users Ever Online
499
Currently Online
Guest(s)
8
Currently Browsing this Page

1 Guest(s)