User Tools

Site Tools


te3:migrating

This is an old revision of the document!


Migrating from TE 2.2 to TE 3.0

Assuming you have already successfully installed TE 3.0 and logged in.

  1. Import data:
    Go to the “settings / general settings” menu and use TE2.2 to TE3 importer. Importer will import the following data from the 2.2 version: trades, niches, toplists, toplist descriptions, toplist images, trading rules and personal info.

  2. Remove toplists from your TE 2.2:
    Disable / remove toplists from your TE 2.2 ,otherwise if all the output paths and filenames are the same in both scripts, toplists from the old and the new version will keep overriding each other.

  3. Toplist templates:
    Toplist template codes remained pretty much the same as in the old version. There are some changes though. Edit your toplist templates and replace outgoing links “/cgi-bin/te/o.cgi” with “/te3/out.php”. Query string parameters and toplist codes remained the same as in the old version (except ##id:X## which is no longer supported). In case you were using ##id:X## code, replace it with ##domain:X##.

    Here is a simple example of the toplist template:

        Example toplist:<br /> 
        <table> 
        <tr><td><a href="/te3/out.php?id=##domain:1##">##name:1##</a></td></tr>
        <tr><td><a href="/te3/out.php?id=##domain:2##">##name:2##</a></td></tr>
        <tr><td><a href="/te3/out.php?id=##domain:3##">##name:3##</a></td></tr> 
        </table> 
        

    After you have converted your templates into a new form, generate all your toplists from the “toplist” menu (mass checkbox and click on the generate button). It is now time to preview them (click on the preview icon) and test them by clicking a few outgoing links to make sure everything works as expected.

  4. Incoming traffic tracking:
    We recommend that you add TE 3.0 incoming tracking code (at least untill the end of the beta phase) as an addition to your TE 2.2 tracking code so you (and we) can compare incoming stats between the old and the new version. Tracking code is similar to the old version, but not exactly the same. Refer to the incoming traffic tracking section.

  5. Outgoing traffic tracking:
    Replace your old outgoing links “/cgi-bin/te/o.cgi” with “/te3/out.php”. Query string parameters (s=, g=, l=, u= …) remained the same as in the old version, therefore changes are not required.

    Here is an example outgoing link template in combination with Smart thumbs:

    TE 2.2 outgoing link code:

    /cgi-bin/te/o.cgi?s=#skim#&g=#var1#&l=#var2#&u=#url#

    TE 3.0 outgoing link code:

    /te3/out.php?s=#skim#&g=#var1#&l=#var2#&u=#url#

    Refer to the outgoing traffic tracking section for more details.

te3/migrating.1418323181.txt.gz · Last modified: 2014/12/11 18:39 by moderator

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki