Google Search

Google Search 1.1.0

No permission to download

CMTV

Well-known member
CMTV submitted a new resource:

Google Search - Seamless integration of Google Search Engine with your forum search system.

View attachment 182966

Description

This addon integrates Google Search Engine in your forum allowing users to search the forum with Google search.

Moreover, Google search can be automatically performed if standart xenForo search system haven't found anything or failed.

Please read the installation instructions.

If you appreciate my work, please consider leaving a like, review and a contribution via...

Read more about this resource...
 
@CMTV Getting Server error log.

Code:
ErrorException: [E_RECOVERABLE_ERROR] Object of class XF\Mvc\ParameterBag could not be converted to string src/XF/Mvc/Router.php:867

Generated by: Nirjonmela Sep 23, 2018 at 1:31 PM

Stack trace

#0 [internal function]: XF::handlePhpError(4096, '[E_RECOVERABLE_...', '/home/nadda/pub...', 867, Array)
#1 src/XF/Mvc/Router.php(867): strval(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Router.php(809): XF\Mvc\Router->buildQueryString(Array)
#3 src/XF/Mvc/Router.php(420): XF\Mvc\Router->buildFinalUrl(NULL, 'google-search/', Array)
#4 src/XF/Mvc/Controller.php(745): XF\Mvc\Router->buildLink('google-search', NULL, Array)
#5 src/addons/GoogleSearch/XF/Pub/Controller/Search.php(79): XF\Mvc\Controller->buildLink('google-search', NULL, Array)
#6 src/addons/GoogleSearch/XF/Pub/Controller/Search.php(50): GoogleSearch\XF\Pub\Controller\Search->tryAnyways('no_results', '', Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(249): GoogleSearch\XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'Results', 'html', Object(XF\Mvc\ParameterBag), '', Object(GoogleSearch\XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#11 src/XF.php(329): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(30) "/search/18747/?mod=post&page=2"
  ["referrer"] => string(45) "/search/18747/?mod=post"
  ["_GET"] => array(2) {
    ["mod"] => string(4) "post"
    ["page"] => string(1) "2"
  }
  ["_POST"] => array(0) {
  }
}
 
Just installed at my demo site and see how it works. It works really well. "Try anyways" mode is great and very useful.

I am using UI.X2 thema. There is a small cosmetic issue for the following message.
 

Attachments

  • Screenshot_1.webp
    Screenshot_1.webp
    63.3 KB · Views: 26
  • Screenshot_2.webp
    Screenshot_2.webp
    36.2 KB · Views: 25
After last update I'm occasionally getting this:

Server error log
  • ErrorException: [E_WARNING] implode(): Argument must be an array
  • src/addons/GoogleSearch/XF/Pub/Controller/Search.php:36
  • Generated by: Unknown account
  • 21. okt 2018 ob 07.46
Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] imp...', '/home/mladiuc/p...', 36, Array)
#1 src/addons/GoogleSearch/XF/Pub/Controller/Search.php(36): implode(Object(XF\Phrase))
#2 src/XF/Mvc/Controller.php(157): GoogleSearch\XF\Pub\Controller\Search->error(Object(XF\Phrase))
#3 src/XF/Mvc/Controller.php(142): XF\Mvc\Controller->assertValidCsrfToken()
#4 src/XF/Mvc/Controller.php(116): XF\Mvc\Controller->checkCsrfIfNeeded('Search', Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Controller->preDispatch('Search', Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Search', 'Search', 'html', Object(XF\Mvc\ParameterBag), '', Object(GoogleSearch\XF\Pub\Controller\Search), NULL)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#9 src/XF.php(329): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
 
Just checked. Everything is fine. Try to turn off anti-virus (if you have one) and redownload.
 
Hello,
there is a "bug" in the zip file.
All content, folders and files are displayed and unpacked with a preceding backslash.

I am using Linux and Ark, no antivirus etc ;)
 
CMTV updated Google Search with a new update entry:

Update 1.1.0 – XenForo 2.1 support

Google Search 1.1.0 was rewritten from scratch. It is not compatible with previous addon version and there is no way to upgrade existing addon!

Remove installed Google Search addon from you forum. After this install this version as a new addon!

Changes
  • Improved addon stability
  • All previously reported bugs should disappear now
  • Removed google search box from combined forum + google search results page...

Read the rest of this update entry...
 
I have just noticed that at new version, there is a new feautured "Custom icon and description for options group in ACP".

But somehow I could not find it. Any idea ?
 
Back
Top Bottom