1) to signup. SAPE. and. XAP. , Then the text of glanders and ksapa. Why do we signup through my refferal link? . But those who, through me regnulsya respect and consultation on ICQ at any time of day and night. I repeat - referral reward system pays me, not you.
2) Download the latest version of scripts. Make a folder, as mentioned in the instructions to fill them and place systems, scripts.
3) Start picking your scripts. Open the header template. All of it is called differently, but this is part of a pattern that appears first, and then the body. That's why the header.
4) Poke in the header code of both systems.
if (! defined ('_SAPE_USER')) {.
define ('_SAPE_USER', ' vasha_papka_s_sapoy ');.
}.
require_once ($ _SERVER ['DOCUMENT_ROOT']. '/'. _SAPE_USER. '/ sape. php ');.
$ sape_context = new SAPE_context ();.
if (! defined ('_SAPE_USER')) {.
define ('_SAPE_USER', ' vasha_papka_s_sapoy ');.
}.
require_once ($ _SERVER ['DOCUMENT_ROOT']. '/'. _SAPE_USER. '/ sape. php ');.
$ sape = new SAPE_client ();.
$ cache_dir = '/ vasha_papka_s_ksapoy /' / / here MUST include your name for the folder instead of the cache, at least 12 characters!.
include_once ($ _SERVER ['DOCUMENT_ROOT']. $ cache_dir. 'tnx. php ');.
$ tnx = new TNX_n (' your username ', $ cache_dir); / / your username in the system.
5) carry on the body site links. I prefer the recent placement of a single, but in the header or the footer to cover more pages.
>echo $ sape-return_links ( 1);. - Is sapossylka.
>echo $ tnx-show_link ( 1);. - Is ksapossylka.
(1) - meaning ' to display a next link'. t. e. every time this function is called, it will display the next link of the purchased.
() - Means ... With such an argument to the thread where we put in the basement. Remember, however, that ksapa not sell more than four links on the page, but the sap from the limit a little more, but more than 10 I do not recommend to put. Even better, put a limit to 5 links per page.
Total we have a place in the five links. I think you can find them. Now let's look at the first part of the code sap. There lies the conclusion contextual links. Here's to sell them, we will have to change the output of articles on the site.
5) Change the output of articles on the site.
Assume that the text of the article is transferred to the variable $ text.
Then, the output will have to precede the processing of this variable:.
>$ text = $ sape_context-replace_in_text_segment ($ text);.
And only then concluded:.
echo $ text;.
6) ufff.
Well that's all. Now Swift Salvage and enjoy life.
Sunday, April 15, 2012
Put SAPE XAP ( for beginners )
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment