Ссылка на мод (https://custom.simplemachines.org/mods/index.php?mod=2566)
CustomSearch Author: D#S (http://simplemachines.org/community/index.php?action=profile;u=189535) (russian support: BIOHAZARD (http://www.simplemachines.ru/index.php?action=profile;u=7149))
Current Version: 1.0
Compatibility: SMF 2.0
Languages: (http://www.simplemachines.org/site_images/lang/russian.gif) (http://www.simplemachines.org/site_images/lang/english.gif)
FeaturesAdd a custom searches to your forum:
InstallationAny previous versions of this mod
MUST be uninstalled
BEFORE installing this version.
Useful LinksManual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)
SupportPlease use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)
ChangelogLegend:! = Bugfix
- = Removed
+ = New Feature
o = Update
> = New Language
^ = Initial/New Release
2011.08.10 - v. 1.0
o SMF 2.0 Gold compatible version.
2010.05.18 - v. 0.2
! Extendent search fixed
2010.05.16 - v. 0.1.
+ Some language files change.
2010.05.12 - v. 0.0
^ Initial release.
Nice Mod!
I'm getting a error in the log when you do a search from the search button in the menu bar. Searching from the search button where you can select the type of search above the news works without the error. Im using the default theme and RC 2.0 RC3
Error reads:
forum/index.php?action=search2
Apply Filter: Only show the errors with the same message
8: Undefined index: custom
Apply Filter: Only show the errors from this file
File: /forum/Sources/Search.php
Line: 267
Line: 267 reads:
==>267: switch ($_POST['custom']){
Cutter
thanks, fixed in CS v. 0.2
Works great now D#S! ;D
Thanks for the update!
Cutter
Is it compatible to rc2?
This looks pretty cool thanks I am going to add the google search
Turkish Translate :
// BIOHAZARD:CustomSearch strings
$txt['admin_menu_CustomSearch'] = 'Geliştirilmiş Arama';
$txt['CustomSearch_settings_title'] = 'Geliştirilmiş Arama Ayarları';
$txt['CustomSearch_settings_desc'] = 'Geliştirilmiş Arama Ayarlarını Düzenle';
//Strings for the settings area
$txt['CustomSearch_use_Google'] = 'Google Aramasını Kullan';
$txt['CustomSearch_use_Yandex'] = 'Yandex Aramasını Kullan';
$txt['CustomSearch_use_Nigma'] = 'Nigma Aramasını Kullan';
// Strings for the select box in index.template.php
$txt['CustomSearch_SMF'] = 'Varsayılan';
$txt['CustomSearch_Google'] = 'Google';
$txt['CustomSearch_Yandex'] = 'Yandex';
$txt['CustomSearch_Nigma'] = 'Nigma';
// End BIOHAZARD:CustomSearch strings
Thanks D#S i've added it to my site. I now have "default" and "google". Is there a way to switch it so that Google is Default and SMF is secondary?
Quote from: Leemy on July 02, 2010, 11:39:38 PM
Thanks D#S i've added it to my site. I now have "default" and "google". Is there a way to switch it so that Google is Default and SMF is secondary?
it is in "to do list"
Hi,
Is there a 2.0 RC2 version? appreciate the help.
just install this mod in compatibility mode
Is there a way to make this mod 1.1.x friendly?
I need my search option to be like what is on this site.
I want to be able to add google custom search there.
or a way to delete my default search box (or make it appear only to some membergroups) so everybody will use google custom search instead?
This is not compatible with RC4?
not yet
maybe two days needed
Quote from: D#S on July 11, 2010, 05:53:13 PM
Quote from: Leemy on July 02, 2010, 11:39:38 PM
Thanks D#S i've added it to my site. I now have "default" and "google". Is there a way to switch it so that Google is Default and SMF is secondary?
it is in "to do list"
Any ETA on this? Thanks. Also it would be better to open the search result in a new tab/window so the user does not leave your site.
Nice mod,
With this google search could we integrate our google search adsense code.
No
You can try mod Quick Search http://dragomano.ru/page/quick-search
direct download link http://dragomano.ru/dc/aHR0cDovL2RyYWdvbWFuby5ydS91cGxvYWRzL21vZHMvcXVpY2stc2VhcmNoLnppcA==
Nice MOD. But unfortunately not working for 2.0.2. I have this message when i tried to install.
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Any idea when this will be ready for 2.0.2?
Awesome mod!
Once you've installed it, you can use the manual parse instructions for SMF 2.0 to go back and edit the codes. Since they're in list form, it's quite easy to add new general search engines onto the list--from YouTube to Wikipedia to Amazon to whatever else. Just change the url to the search url of the desired page, and take off the part that searches the site url. As long as you can find the correct search url (usually by searching the site with a nonsense term), it's pretty easy to set up.
Am i missing something here?
I installed it for my test forum on v2.0.3. Assume as www.my-test-forum.com.
Ran a search on the word "health" in Default. That works fine.
I did the same search using "Google" instead of "Default". Now Google retrieved some links only from my www.my-test-forum.com.
Is it the way it should work?
I assumed that "google" search will show up the same result when we use goolge.com.