I'm a bit ignorant to the coding aspect of phpBB so please extend your patience...
Any way possible to make it so the Search function of phpBB (v3.1 or above) to index (search) the content that's in extensions and/or custom phpBB pages?
For example: Lets say I had a Photo Gallery extension installed. Could the current Search be coded so that it will also include information from the Gallery in the search results? Of course the developer of the respective extension would have to include that ability in their extension to plugin to the Search function...
I ask because this would make the Search function a true global search and definitely more of an asset to the website visitor, members and admins.
I'll be remiss if I didn't mention that since "Search" is in the header, most website visitors automatically assume that using it will search all content that's on the website (and not just the Forum).
[RFC] Ability For Search To Index/Search Exts & Custom Pages
-
- Registered User
- Posts: 523
- Joined: Sat Apr 22, 2006 10:29 pm
- Contact:
[RFC] Ability For Search To Index/Search Exts & Custom Pages
Last edited by keith10456 on Mon Jun 09, 2014 8:55 pm, edited 1 time in total.
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: RFC: Ability For Search To Index/Search Exts & Custom Pages
I'm guessing that the default search plug-ins just index stuff in the database (and maybe only certain parts of the database), so finding text on custom pages (or even text in the "chrome" on the page) wouldn't be possible. You could always use Google's search tool on your site, of course, but how effective it would be finding posts depends on how often Google crawls your site.
Steve
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
-
- Registered User
- Posts: 523
- Joined: Sat Apr 22, 2006 10:29 pm
- Contact:
Re: RFC: Ability For Search To Index/Search Exts & Custom Pages
I currently use Google search on my site. It does a great good job of finding all content including content that's in the Forum due to the Site Map ModPony99CA wrote:I'm guessing that the default search plug-ins just index stuff in the database (and maybe only certain parts of the database), so finding text on custom pages (or even text in the "chrome" on the page) wouldn't be possible. You could always use Google's search tool on your site, of course, but how effective it would be finding posts depends on how often Google crawls your site.
Steve
So it is possible to have the Search search certain mod database content (if the Search and the mod was setup that way)? It appears so...
In reference to Custom Pages, from what I'm getting from you is it's not possible for the Search to index Custom Page content because the text on the pages isn't in the database - correct? If so, then the only way it's possible is if the Custom Pages were crawled, and indexed (into the database) - correct?
Last edited by keith10456 on Thu Jun 05, 2014 3:03 pm, edited 1 time in total.
Re: RFC: Ability For Search To Index/Search Exts & Custom Pages
Currently the search system does not allow this kind of search without a major rework, so it can't be done for the 3.1.0. And for the 3.2.0... i can not say anything, i have no idea about what will be done.
Member of the phpBB Development-Team
No Support via PM
No Support via PM
-
- Registered User
- Posts: 523
- Joined: Sat Apr 22, 2006 10:29 pm
- Contact:
Re: RFC: Ability For Search To Index/Search Exts & Custom Pages
Agreed (about 3.1)...Nicofuma wrote:Currently the search system does not allow this kind of search without a major rework, so it can't be done for the 3.1.0. And for the 3.2.0... i can not say anything, i have no idea about what will be done.
My overall point is this:
Search is in the header... Most people when they go to a website and see and use search, they're expecting it to return content from all over the website. They don't think, I have to use the Search in this section of the site for this, or I have to go to that section of the site and then use the search for that. Unfortunately, currently, that's how phpBB is setup. I think for future versions this needs to be addressed.
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: RFC: Ability For Search To Index/Search Exts & Custom Pages
Unless phpBB is powering the entire site or there is some other form of strong integration with the site's overall look and the forum, the search box will not show everywhere though.
-
- Registered User
- Posts: 523
- Joined: Sat Apr 22, 2006 10:29 pm
- Contact:
Re: RFC: Ability For Search To Index/Search Exts & Custom Pages
I haven't done an exhaustive study of this but for most of the phpBB installations that I've seen phpBB is powering the entire site. As a result, the Search does show everywhere.DavidIQ wrote:Unless phpBB is powering the entire site or there is some other form of strong integration with the site's overall look and the forum, the search box will not show everywhere though.
I know phpBB wasn't originally designed to power the entire website of admins but because you guys (devs & mod/ext creators) are so good at what you do that's how it ended-up. It even powers phpBB.com
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: RFC: Ability For Search To Index/Search Exts & Custom Pages
This change would require significant API changes. TBH, I'd rather throw out our entire search system and use another library--our search system doesn't really work that great and is a very large and complex chunk of code.
-
- Registered User
- Posts: 523
- Joined: Sat Apr 22, 2006 10:29 pm
- Contact:
Re: RFC: Ability For Search To Index/Search Exts & Custom Pages
That being said, I take it that something like this (the request) would be more suited for 3.2 or 4.0. Keeping my fingers cross for 3.2EXreaction wrote:This change would require significant API changes. TBH, I'd rather throw out our entire search system and use another library--our search system doesn't really work that great and is a very large and complex chunk of code.