CustomSearch

Started by D#S, May 16, 2010, 01:01:14 PM

Previous topic - Next topic

D#S

Ссылка на мод

CustomSearch

Author: D#S (russian support: BIOHAZARD)
Current Version: 1.0
Compatibility: SMF 2.0
Languages:

Features
Add a custom searches to your forum:
  • Google
  • Yandex
  • Nigma

Installation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Useful Links
Manual Installation Of Mods
How Do I Modify Files?

Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)




Changelog
Legend:
! = 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.
ai dont spik inglish
@ ol

Cutter65

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

D#S

thanks, fixed in CS v. 0.2
ai dont spik inglish
@ ol

Cutter65

Works great now D#S!  ;D

Thanks for the update!

Cutter

searchgr

Is it compatible to rc2?

hitboy

This looks pretty cool thanks I am going to add the google search

Alpay

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

Leemy

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?

D#S

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"
ai dont spik inglish
@ ol

hash899

Hi,

Is there a 2.0 RC2 version? appreciate the help.

D#S

just install this mod in compatibility mode
ai dont spik inglish
@ ol

PLAYBOY

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?

Leemy

This is not compatible with RC4?

D#S

not yet
maybe two days needed
ai dont spik inglish
@ ol

Leemy

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.

Sudhakar Arjunan

Nice mod,

With this google search could we integrate our google search adsense code.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum


Srinib

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?

Mooby The Golden Sock

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.

Srinib

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.

Advertisement: