MyBB Community Forums
Quick Search To Advance Search - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Quick Search To Advance Search (/thread-173544.html)



Quick Search To Advance Search - Gabbar - 2015-07-25

Is there any way I can convert quick to advance. Like if users doesn't write anything in quick search bar and press search button then the user will be redirected to advance search option.

IS there any way to do this.


RE: Quick Search To Advance Search - Destroy666 - 2015-08-01

You can open inc/functions_search.php and change these lines:
https://github.com/mybb/mybb/blob/feature/inc/functions_search.php#L421
https://github.com/mybb/mybb/blob/feature/inc/functions_search.php#L732
https://github.com/mybb/mybb/blob/feature/inc/functions_search.php#L959
https://github.com/mybb/mybb/blob/feature/inc/functions_search.php#L1433
to:
redirect('search.php', $lang->error_nosearchterms);



RE: Quick Search To Advance Search - Gabbar - 2015-08-02

Thanks Buddy It Works Great Smile