Main » Articles » My articles |
The setting for "localhost" usually doesn't need to
be changed but your host may have a different name for their MySQL server. The settings for "username", "password" and
"database name" usually need to be entered like this
in the config.inc file. [If you need assistance most hosts will happily
guide you.]
yourdomain_username password just as it is yourdomain_databasename 3. In admin/config.inc.php change the url for $server_dir= to point to the full path of the directory where you have installed the script, eg. $server_dir="http://mydomain.com/" [Remember to include the last forward slash.] You can also change the admin login user and password anytime in admin/config.inc.php. 4. Change the permission of the file admin/settings/filter.txt file to 777 Change the permission of the file tabs.php in the root folder to 777 Change the permission of the file cgi-bin/amazon.cgi to 755 Change the permission of the file cgi-bin/apf_config.cgi to 755 5. Go to the URL http://yourdomain.com/admin/index.php in your browser and login with your admin login username and password. First time when you login, the script will be automatically installed. Then follow the instructions. From the admin you will see all the options to arrange, edit and create engines and the other config options you have. [If you cannot see a list of engines in admin you have not setup MySQL correctly.] To see your engine go to the index page of the directory you installed in. If you installed in public_html you will see your engine in www.yourdomain.com Note: if engine fails to install/does not work reset tabs.php permissions set to 644 as some servers will not allow full permissions and run install.php (Make sure to run it after logging into admin area) again. If engine still does not work go here and check that your host has Curl support enabled. If not ask them to turn it on. If for some odd reason they won't, then go to config.inc.php and change the fOpen vale to true, like this : $fopenusage = true. Check that your host has fOpen On here. On is the normal/default setting. If it is Off ask them to turn it On. If neither of these options is available with your host we strongly recommend you move host. 99% of hosts will have one or both of these options as standard. We Recommend using the default Curl option if you have a choice as this will allow the use of non-standard Western European alphabets/characters in search terms. resultsiv.tpl.html controls the image and video results pages results.tpl.html controls all other results pages
All the variables you can use in each template are listed in the corresponding text file.
You can also add whatever content you want to the home page by adding to the root index.php file.
7. To change the look of the tabs edit the file tabs.php Tabs will automatically change in all templates and the index page.
Remember, whenever you make a change to the engines - edit, enable,disable, re-order or create the tabs will return to the default look. [So keep your own tabs customisation colors etc backed up.]
To change the name of Tabs based on websites just edit that engine via the admin panel. To change the names of other tabs without changing the search query edit the Tab names in the tabs.php file.
[eg. you create an engine based on the term "blog" but you want the Tab to be labelled "Blogging"]
8. css control of all pages is located in style.css in the root folder where you can make changes to link and font styles. The file amazon.css controls the amazon pages.Any cahnges to style.css need to be copied to amazon.css
9. In install_folder/admin/config.inc.php you have options to turn on and off Thumbshots, Quick Look Preview, Related Words Output, Keyword Filter and the grey line in-between results. [Note: Quick Look is currently unavailable with Wikipedia search.]
If you have Thumbshots enabled you are required by their licence to retain the link to thumbshots.com somewhere on any page that displays thumbshots.
10. To change the grey line color between results For images and video goto searchiv.php and look for the line of code that contains the text images/spacer and change CCCCCC to 0000CC for red, for example, or any other color you prefer. Similarly in search.php for all other results [apart from Open Directory results which cannot be altered in this manner.]
11. To restrict the root category for Open Directory searching goto admin/config.inc.php Find the line that says
$dmoz_target=""; // If you want to target your dmoz open directory search on some special subject. eg: "Arts" , "Arts/Movies"
and edit as you wish.
12. To specify a News Region add the required values as detailed at the bottom of the file url_replaces.inc.php
13. Upload your own logo by changing the file /images/logo.gif. Change the image size in all the ta admin/emplates, index, ebayheader.php and cgi-bin/templates/default/ipureheader.template filesto match your new logo. Additional customization details can also be found here.
Monetize your site
14.
15. Sign up for sponsored links with RevenuePILOT
Multiple engines
18. If you want to add your own MySQL table prefix for all tables created by this script you can do so in config.inc.php . Just add it in $table_prefix="" .
This can be useful if you want to run multiple engines on one domain without creating new MySQL databases.
Unzip the package in a new folder, eg. /new_engine Copy the config.inc.php file from the version of the script that is running. Add a new MySQL prefix and change the absolute server path name eg. http://yourdoamin.com/ new_engine/ Then run http://yourdomain/new_engine/install.php (Make sure to run it after logging into admin area)
That's it, a new engine is created in the folder /new_engine that has an admin at yourdomain.com/new_engine/admin/index.php and is viewable at yourdomain.com/new_engine/index.php
==================================================
DISCLAIMER
By downloading and/or installing this script you accept all responsibility and liability without exception for all content displayed on the domain that uses this script, and you accept all the terms of use without exception as given at our website InoutScripts.com
The licence granted is for single domain use only. You may create as many engines as you wish on a single domain.
================================================== Note: As per the terms of thumbshots.org, if you enable thumbnails you should follow there terms and instructions as given at http://www.thumbshots.org/attribution.pxf. Do not remove the thumbshots link in any engine pages that show thumbshots.org thumbshots. You may place the link anywhere you like on the page. | |
Views: 104939 | Comments: 28 | Rating: 0.0/0 |
Total comments: 5 | ||||||
| ||||||