the Internet Windows Android

How to install scripts. Installation of scripts to various browsers

How to install the script and what we will discuss this in today's post.

Let's start with what the script is a code written in a specific programming language. We will not delve into the details of the creation of scripts. It is better to discuss why they are needed.

Those who worked with a blog or the site knows that its appearance is written in that very programming language. Usually write. We just choose the one that we like and use it.

It is possible to say with one hundred percent confidence that templates are created hundreds of times less. What users they need. But it is almost impossible to find two identical sites. Why? Each user tries to create his own unique site, because each author's goals have their own. And what would these goals in the blog template are usually installed plugins. These are also codes that perform a specific function.

Similarly, page templates in our designer are created. But we no longer install the plugins. But the script code is please. The script is the code in which one of any or a certain task is concluded.

For example, in the video that you will look, Nadezhda Komarova will install the script flying dandelions. If you want to install sparkling stars - find this script on the Internet - and there are no problems - the stars sparkle. The scripts created by programmers are free, very much published. It is necessary to just find a resource with those tasks you need.

The designer laid two functions of the installation of codes: script Manager and Custom HTML. What is the difference.

Script manager Introduces the code into a specific site site. Website is our page. In the language of programmers, our site can be divided into parts that are similar to the human body. More precisely on the body together with your head.

In Internet language the head of the site is called - Head. The most important codes are inserted into this part. By analogy - our head is also very important - it leads to all our organism. For example, meter codes are installed there. Unfortunately, in our page it is impossible to do this until you are tied to it your own second level domain.

The body of the site is called - Body . And here you can also install as counters. So all sorts of analytics codes.

You can install both scripts and HTML code. Scripts, as we have already said, can be to install an audio player, or falling snowflakes, or festive fireworks ...

But the HTML code can be - a subscription form or an interesting button leading to another page ...

And install this code is possible anywhere page. How to do it - you will see in the video. I want to clarify only one moment. When Hope shot this lesson, our designer was still in the development and the script manager button was located in the left toolbar. Now it is located in the upper right corner.

With the development of Internet technologies, the creation of your own site has become on the shoulder not only to professionals, but everyone who has access to the Internet. For newbies, a large number of designers have been created, with which the site can be created in a matter of minutes. But what if the designer do you have little and you wanted to do something original? This will help you scripts.

What is a script? The script is a program that automates some task that the user would do without a script manually using the interface. With the help of scripts, both separate site blocks and entire portal systems are created.

And so, you have chosen a suitable script, or the engine for the site. And then the question arises - how to install it, so that the script earned? To understand this, take for example the script written in PHP. To install the scripts, you will need programs to access your future FTP site. If you are a novice, it is better to choose the program easier. Of these programs, you really want to recommend such as Smart FTP Client, or Directory Opus V8.0. The latter, by the way, is also an internal browser for your computer.

And so, proceed directly to the installation of the script. We will analyze the example of the Smart FTP Client. Run the program. In the upper left window, we see the field to fill with the inscription "Address". Fill it by entering the address of your FTP account, which you have. This address will be viewed: ftp.domains.zona, where Domains is a domain of your site, and Zona is a zone in which your site is. For example, FTP.rambler.ru is all, this field is filled. The following field for filling is called "Name". Everything is easy here. You just enter your login that you specified when registering your domain and which was sent to you by your hoster when registering. The following field is called "Password". There is also nothing complicated here. You also enter a password that is specified by you upon registration, or who sent you your hoster. Next follows the port field. Usually, if there are no additional conditions from your host, then the port should be specified 21. And so, everything is ready.

Now you should press only the green arrow, which is immediately behind the "Address" field. You can see - how to connect with your site. In the case of a successful connection, on the left side you will see all your folders you have on the site. In case your script is not a CGI script, all files and scripts are installed in the Public HTML folder. We find this folder in the left column of the SMART FTP Client program and click on it. After that, in the central program window, we will see all the folders that are located in the Public HTML folder. This is the root folder in which scripts are installed. If you install the site engine, then it is necessary to install it in this folder. Now open the folder with your script located on your computer. Allocate all the files in this folder and drag them to the central SMART FTP Client program. In this case, everything that we move from the folder on the computer will be copied to the root folder of your website "Public HTML". After the copy process is completed, proceed to setting the attribute files (rights to use files). But first you need to know what attributes how the files must match. If your hoster does not make additional settings, the attributes will be approximately such: 747 access rights and HTML files and HTML files are set to access rights. 644 is set to graphic files. And 777 This rule applies to most files.

But there are exceptions. Is there any exceptions in your script, or not - you can read in the descriptions of the descriptions attached to the scripts. As a rule, these files are text and called "Readme". Going into such a file, you can read everything about installing this script. Now more about attributes. File attributes control access to your files and protect your site from hacking. But there are files for which you want to open full access. For example, the rights of 777 mean that accessing this file is available to both you and all users of your site. Such rights are set to files that are responsible for editing. For example, when a person needs to edit his own questionnaire on your site, which is stored in a text file. Now let's start installing attributes. To do this, select the desired, we, file and click on the right mouse button. In the appeared window, select "Properties / CHMOD". And now we have a dialog box with the field of access rights. In this field, we enter the necessary rights and click OK. You need to do the same with all the files and in all the folders of your script. To simplify the work, you can allocate several files at once, to which the same rights will be put and selecting "Properties / CMOD", set the rights to all the files that you allocated. After all rights are installed, your script is ready to work. If there are installation files in the script, such as install.php, then simply make the script setting, typing in the http: //vash_site.install.php browser and pass the installation procedure.

Now consider the script version with the database. How to install it? To do this, go to your account on the host server and go to the section in which databases are created. The most common of them are called "PHP My Admin". Create in this section the database and password to this database. Now the base is created. If a SQL extension file appears in the script, then go to the database that we only created and selecting in the "SQL" panel, copy the entire text from the SQL file and save it. Now we need the script files to establish a connection with our database. To do this, open the file with the description "README" and read - in which files it is necessary to register settings with our database. As a rule, such files are configuration files and have the same name "Config". Going into such a file, we prescribe a connection to the database. As a rule, the data that must be prescribed to connect to the base have the following values:
$ Config \u003d "LocalHost";
$ config \u003d "root";
$ config \u003d "";

Host value almost in all cases remains unchanged. In the value of Login, instead of root, we prescribe the name of your database. For example, MySite_DVIZHOK. In the PAS value, you specify your password. Login and Pas values \u200b\u200bcorrespond to the values \u200b\u200bthat you specified when registering your database. Now your script can be connected to the database and will fully function.

The article describes the installation of scripts to various browsers.
Removal or shutdown. Editing features.
Tells where to find the error console, the script folder or script commands.

In my scripts, the universal code and they must work in various browsers.
And also on mirrors Heroeswm.ru and LordSwm.com

Installation of scripts in Google Chrome:
-
- Script teams
- Console mistakes
- chrome disables all user scripts set as extensions
- Installation of scripts in pure chrome (outdated)

Installation of scripts in Yandex.Browser:
- Installation of scripts

Installation of scripts in Opera 18+:

- Script teams
- Console mistakes

Installation of scripts in Opera< 18:
-
- Script teams
- Console mistakes

Installation of scripts in Safari:
- Installation of scripts
- Script teams

Installing scripts to smartphones in the Dolphin browser.

Installation of scripts in Opera Mobile - on tablets and phone numbers:
- Installation of scripts

Installation of scripts in Mozilla Firefox

Installation of scripts, editing, disconnection, deletion

To work with scripts in Mozilla, you need to additionremonkey: https: //addons.mozilla.org/ru/firefox/addon/gre ...


Also downloaded script (* .user.js) can be dragged into the browser window.

After the scripts can be found through the browser menu tools - additions. There are buttons: settings, disable, delete. Through the settings it is possible to edit the script.

A pre-downloaded script can be edited in notepad.

You will have a mord of the monkey in the add-ons panel. When you click on it, all scripts will turn off / turn on. The drop-down list displays the scripts active on the open page and the daws opposite them indicate whether the script is enabled (they can be removed by turning off the script).

Script commands

Script commands are available through a monkey face or tools - GreaseEmonKey - script commands. You can also see a list of active scripts and disable them.

Folder Script

Mozilla stores scripts openly. For win7 x64 This is a folder C: \\ Users \\ User \\ AppData \\ Roaming \\ Mozilla \\ Firefox \\ Profiles \\ D0FXDQJU.DEFAULT \\ GM_Scripts \\
The AppData folder in Windows is hidden (you need to display hidden folders). For the remaining OS, the folder is about the same.
This folder can be copied and transfer to another computer. Reinstalling scripts will not need. You need to do this with a closed browser. As well as replacing this folder (first completely deleted, after copying a new one).
From the GreaseEmonKey version 1.13 in the scripts folder, the scripts settings are also stored in the * .db files
In the config.xml file, all paths to scripts and other settings are stored. The names of the scripts and folders can not be renamed.

Console mistakes

When changing the pages that the script worked or not competently writing the script in it, errors may occur. In this case, the execution of the script stops the browser. You can view errors in the error console: Called by the Ctrl + Shift + J keys (or through tools - web development). You should go to the Error tab, Clear the console and update the page. Errors encountered on this page will be displayed.

Installation of scripts in Google Chrome

Installation of scripts, editing, disconnection, deletion

For the work of many scripts in Chrome, the TAMPERMONKEY is required: https: //chrome.google.com/webstore/detail/dhdgf ...
Extension emulates GreaseEmonKey functions, because Chrome itself supports execution of JavaScript scripts.

To install the script on this site, it is enough to click Install on the script page, or on the link leading to the script.

In the browser panel, an incomprehensible TAMPERMONKEY icon will appear. By clicking on it, you can go to the extension settings and edit the script. Buttons of the abolition of the last action not!

The basket next to the script name is to remove it.

When you click on the TAMPERMONKEY icon in the drop-down list, you can disable the execution of the script scripts by the name of the script or play in the adjustment settings by the traffic light (the numbers on the left of the script name).

Sometimes the addition cannot be transferred to the browser some teams that could run a script in a chrome without TampermonKey, but this is extremely rarely replaced by the scripts.

Script commands

Some scripts have access through the script commands. This feature works only in Firefox and in other browsers there is no alternative. If the script uses settings in this way, then access will not work.

Console mistakes

When changing the pages that the script worked or not competently writing the script in it, errors may occur. In this case, the execution of the script stops the browser. You can view errors in the error console: caused by the Ctrl + Shift + J keys (or through the menu - the tools - the JavaScript console). The console is cleared for each page and it appears in it that occurred on it.

Chrome disables all custom scripts set as extensions

Since June 2014, chrome disables all extensions installed not from the Chrome online store, including the scripts set by dragging in expansion.

The ban on the installation of third-party extensions (not from the Chrome Web Store) applies only to the Windows version of chromium and only for Stable and Beta channels. You can find ways to temporarily enable scripts, but all of them are blocked by chromium developers over time. The most optimal solution is to change the browser or the transition to the use of DEV or CANARY browser assemblies, where third-party extensions are not yet disconnected.

Thus, you can or change the browser (assembly) to install scripts in a clean chrome or set the TAMPERMONKEY extension.

Installation of scripts in pure chrome (outdated)

My scripts will work in pure chrome, because They are registered in the emulation functions of the GreaseEmonKey commands, but most of the rest of the scripts will not work.

Instead of installation, the script is downloaded to the download folder. You can open it through the menu - Downloads (or CTRL + J key combination), and after clicking on the link on the right to open the download folder. I recommend to remove everything from it and click Install again so that the script version is the last (if there are several of them).

Installation of scripts in Yandex.Browser

Installation of scripts

Yandex is the same Chrome, only an older version (at the time of writing chromium V26, Yandex v22).

For him, accordingly, all that is written above about Chrome.

Installation of scripts in Opera 18+

Installation of scripts, editing, removal

For the work of scripts in Opera 18+, you need to addition Violent Monkey: https: //addons.opera.com/ru/extensions/details / ...

Script commands

Some scripts have access through the script commands. This feature works only in Firefox and in other browsers there is no alternative. If the script uses settings in this way, then access will not work.

Console mistakes

Called by the CTRL + SHIFT + J key combination.

Installation of scripts in Opera< 18

Installation of scripts, editing, removal

To install scripts in Opera, you need to specify the folder from which scripts will start and install JavaScript enabled.

Scripts need to download and copy to this folder.

If the script opens as a text file, select Opera - Page on the Opera menu.

If necessary, install the GreaseEmonKey function emulation script.

If the script data is not updated when the page is updated, disable the caching of web pages in the browser.

Scripts can be edited in notepad.

If the script is not needed - delete it from the folder.

Script commands

Some scripts have access through the script commands. This feature works only in Firefox and in other browsers there is no alternative. If the script uses settings in this way, then access will not work.

Console mistakes

When changing the pages that the script worked or not competently writing the script in it, errors may occur. In this case, the execution of the script stops the browser. You can see errors in the error console: Called by the Ctrl + Shift + O key (or through the menu - page - Development tools - Error Console). You should select the JavaScript in the drop-down list, clean the console and update the page. Errors encountered on this page will be displayed.

Installation of scripts in Safari

Installation of scripts

For work of scripts in Safari, you need a Greasekit addition: http://8-p.info/greasekit/

After installing it, the Safari menu appears the Greasekit item with the list of installed scripts and different functions. To add the script you need to the GreaseKit, open it in the browser, or transfer the previously saved script to the Safari window.

Script commands

Some scripts have access through the script commands. This feature works only in Firefox and in other browsers there is no alternative. If the script uses settings in this way, then access will not work.

Installation of scripts to smartphones in Dolphin browser

Quote: "Put the addon to the dolphin - TampermonKey Dolphin with Play Market - Scripts are perfect and work well. In general, I now fully play on the phone and can do everything."

Installation of scripts in Opera Mobile - on tablets and phones

Installation of scripts

User scripts from telephone browsers are supported in Opera Mobile. Method from world_is_hell: http: //www.heroeswm.ru/forum_messages.php? Tid \u003d 2 ... They are included as follows:

1) We type in the Opera address line: Config -\u003e Okno Preferences Editor
2) Find User Pref. KlikameTe His and Seek User JavaScript and Custom
3) in the POE User JavaScript File write \\ ... The path to the folder in which the opera is installed ... \\ OperaMobile \\ UserJS \\
4) NEW and SAVE SAVE
5) Restart the browser

After this, create .. \\ userjs folder in some file manager and put in it the necessary scripts.

The method works, checked on the phone and tablet.

Welcome to the site site!

Today I will write an article about how to configure the script on the example of the joomla engine andcPanel control panel.

Often on the Internet you can find different scripts that are sold for money, orfold free. Usually these scripts look like archive.zip or.rar in whichthere are folders and files, as well as .SQL file database.

It will be about scripts that worked already at any other hosting and domain andyou just downloaded it from the network.

This article will also be useful for those who want to transfer their website or blog to a new domain.or hosting. Including resources made on Joomla.

In order to establish a hosting script, you need a FTP client program (I recommend free FileZilla), the data for the connection that the host has sent you after your registration, as well as access to phpmyadmin hosting on which the script will work.

You can also use the tools that the control panel providesCPanel, ISPManager or other, and not use the FTP access program. In cpanelthis tool is called "File Manager".

Nus, let's start!

First you need to register a domain if you do not have it, or make a subdomain onyour work site. When you create it, you must come up with a password and specify the nameregistered domain or subdomain. It is also necessary to create a database,user to it and install user password. Do not forget to save all data
created domain and database to yourself, where neither be in a reliable place. If on your hostingthis is your first site, then invent and register anything unnecessary, during registrationon the hosting, you are issued domain and all the other necessary for work, data. If a
it is so, just "fill" the script into the Public_HTML folder on your server.

If you still have registered the second domain after registration on hosting.second level, you need to wait until it is activated - this is usually happening inthe course of one or two days. If you have created a subdomain on a working domain, heactivated immediately, and no longer need to wait.

Next, open the FTP client, enter the data for connecting to the server, connectand pour into the public_html folder or in the folder of your domain that you created yourselfscript, that is, all folders, and files as they are.

Files can be downloaded in two modes, or in binary or in texts. This is veryit is important because if you download a binary file in text mode, then the file encodingviolated, and subsequently on the site information will be displayed incorrectly. And whatnone suffer, put auto definition in the FTP program settings. Then allfiles will be loaded in the formats you need. If you download files through the panelcontrol, you can not worry, the system itself will understand which file, in which formatneed to download.

At the end of the download, open the configuration.php file to edit, andspecify the database name, username, user password and localhost.

It looks like this:

public $ Host \u003d "Localhost";
public $ user \u003d "username";
public $ password \u003d "user password";
public $ db \u003d "database name";

Also replace if it is required, the database prefix to the new one.

It looks like this:

public $ dbPrefix \u003d "A5HT42S_";

Also replace the path to the logs and temporal folder of the script:

public $ log_path \u003d "/ home / Your nickname / public_html / your site.ru / Logs";
public $ tmp_path \u003d "/ home / Your nickname / public_html / your site.ru / TMP";

Now take the database file and open it with notepad, and even better the programnotePad ++. We find a line where someone else's or the old address of the site, which is previouslythe base worked, and replace this line to the address of the site you registered.To do this, click on the right mouse button on the.sql file and select the context menu in the context menu.notePad ++, unless of course it is installed, well, or just notepad, it is in everyversion WINDOVS.

Next, click on "Search" - "Find ..." - "Replace" and in the field "Find:" fitthe address of the site where the script worked before, i.e. What you need to replace. And in the field"Replace:" You need to enter the address of the site to which you install the script and onwhich needs to be replaced. Next, click the "Replace All" button and the program per secondreplaces old data to new ones. Also in the database it will be necessary to replace the nameuser and database name, as well as the path to the site folder, if necessary. Afterwe save and closed the file. Do not forget to rename the file.sql to the name of the base,which you created. At the same time there must be an extension of the file.sql.After that go in phpmyadmin, choose on our computer you need
edited database and click "import".

It is also necessary to make edits to file.htaccess, for example, if it specified in itforwarding the address of the site from WWW on without WWW, that is, you need to substitute a new fileaddress your site instead of the old one.

After that, we open our site in the browser at a new address and rejoice in its work already onyour domain.

PS: In general, the whole essence comes down to the fact that you need to replace everywhere, in all files, olddata to new. Usually these are two files - configuration file and database file.

If you have questions or you want to add something to the article, write everything in

Want to feel like administrator? BUT! How to install a script (khaip, box or other)? In this article you will find all the answers.

Hello, dear blog readers Website.

Want to have your investment game? Want to feel yourself in the role of the project administrator? And do not know how to install the script correctly? Do not worry ... In this article, I will tell everything in detail.

So let's go ...

First of all, I want to say where you can download such scripts. I allocated three projects for myself, which, in my opinion, the best and without viruses. You can learn about them in another article. Link.

We downloaded the finished script, which is in the archive. Opening it and copy all the files into a separate folder. Next, we need to buy a hosting and domain. I use Hostia.Qualitative, reliable and most importantly, very cheap. In a word "I recommend."

I will not stop on it, because not every hosting has the same control panel.

My hosting supports Direct Admin, but know that you can have a completely different control system (for example: ISpmanager, Zpanel, WHM / CPANEL). If you have one with them, then there is nothing terrible. The entire process of installing the script is no different.

Instructions for installation of the script (investment game, khaip, box)

Step 1. Plive the script itself for hosting

To do this, we will need one with the programs: FileZilla. (recommend), Total Commander. or NotePad ++.. Download anyone on your computer, run and create an FTP connection. I forgot to say that the hosting control panels also have a "built-in" file loader. You can use it. I chose FileZilla for myself. The program is stable in work and completely free.

As for FTP, here we will need some data that without problems can be found at your hoster:

  1. Login.
  2. Password.
  3. IP address.

If there are problems with the admix entrance, write in the comments. I will help!


We are waiting for the completion of the download ...

Step 2. Create a database

Go to the section "Databases (MYSQL)" and click "Create a new" or "Create a database". We prescribe the name and password. Fields: Database name and Username DByou can fill in the same way. Attention! Login and password Remember or write down somewhere. We will need them when we change the Config file. On the example I will show how it looks in the Direct Admin. See:




Step 3. Import SQL to our database

Each script has a file in SQL format. Perhaps there may be exceptions and such a file is simply not. I do not know, I did not have this. But! If you are so lucky, then simply skip it (see step 4).

Now we need to find in your personal account " PhpmyAdmin." The utility serves to import or edit the database of MYSQL. We go into it, connect (if there is no account, then we must pass uncomplicated registration).

We come in, and on the left we see the list of databases we created. We choose the one that was created in the second step. And then we do everything in screenshots:




Step 4. Change the file config

In the script folders, we are looking for a file called Config. In the Highips, look for a file in the "Classes" folder. Found? Excellent! Open it. We see:

public $ HostdB \u003d "Localhost";
Public $ USERDB \u003d " User name database " ;
Public $ PASSDB \u003d " password" ;
Public $ BasedB \u003d " Database name » ;

We replace your data and save. This is the most, we have connected the script to our database.

All friends! My congratulations! The script is fully installed!

And now a small addition ...

Free scripts from the Internet often happen to holes. Be careful! Check files for viruses. Also delete all additional links in the script files. Often they look like this:


But still, if you can't install the script, we can do all the work for you. For example, install the script of any complexity, connect additional payment systems, make a script unique, etc.

Thank you very much for reading the article to the end. . There will be a lot of different delicacies ahead!