Any way to create a single search?

jambo
User w
User w
Posts: 18
Joined: Fri May 15, 2020 7:23 pm

Any way to create a single search?

Post by jambo »

I know this is not a W3 plugin question, but is there any way to create a single search that will search across both wordpress AND phpBB?

User avatar
axew3
w3all User
w3all User
Posts: 1957
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Any way to create a single search?

Post by axew3 »

A single page, maybe in wordpress, where would be possible to aggregate both search results, wp and phpBB?
One of the most unexpected question ever!

I'm doing, before to re-start to improve the integration plugin, a cross domain integration plugin on fly, that will allow to link wp sites logins cross or same domains, without the need to use external api. The user will not have to login again, if logged into the main site. All others linked sites are considered (let say) slave sites, where an user, can just click a button and login into (if already logged into main, if not, may redirected to login into main, then redirected into slave, not clear how i will finish with this concept, may as options both will be implemented. The code will use just php, javascript and a single db table, which will contain encrypted tokens used to recognize users in a secure (as the concept is, it seem to me absolutely secure!) way.

Said all the not useful here above that present a plugin still not ready, it is of course absolutely possible achieve the 'unified search', but how it would be complicate? Just for keywords or author would be may easy. First way.
But, why not, to pass same search query to phpBB, that's just something like
https://localhost/phpbb3/search.php?keywords=test
and/or any kind of mixed searches that can be achieved in phpBB, and like phpBB do, instead to do a code that unify both results, then display iframed phpBB results page, for same searched words, just above or on bottom, or may columned, together with wp results.
i will take a look into this asap, let re-think to the above, i need time to imagine or look into code to understand, for what i'm able to, which the best way! Any suggestions by anybody?

jambo
User w
User w
Posts: 18
Joined: Fri May 15, 2020 7:23 pm

Re: Any way to create a single search?

Post by jambo »

Good point, one of the Ajax search plugins might be able to call the phpBB search and aggregate the results. I will look into that as well!

Post Reply