====== Migrating from TE 2.2 to TE 3.0 ====== Assuming you have already successfully installed TE 3.0 and logged in. - Import data: \\ Go to the "settings / [[te3:general_settings|general settings]]" menu and use TE2.2 to TE3 importer. Importer will import the following data from the 2.2 version: [[te3:trade_types|trades]], [[te3:niches|niches]], [[te3:toplist|toplists]], [[te3:toplist_descriptions|toplist descriptions]], [[te3:toplist_images|toplist images]], trading rules and personal info. \\ \\ - 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. \\ \\ - 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 ''/your_te3_directory/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:
##name:1##
##name:2##
##name:3##
After you have converted your templates into a new form, generate all your toplists from the "toplist" menu (''mass checkbox'' and click on the {{:te3:button_generate.png?nolink|}} ''Generate'' button). It is now time to preview them (click on the {{:te3:button_preview2.png?nolink|}} ''Preview'' icon) and test them by clicking a few outgoing links to make sure everything works as expected. - 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 [[te3:incoming:standard|incoming traffic tracking]] section. \\ \\ - Outgoing traffic tracking: \\ Replace your old outgoing links ''/cgi-bin/te/o.cgi'' with ''"/your_te3_directory/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: /your_te3_directory/out.php?s=#skim#&g=#var1#&l=#var2#&u=#url# Refer to the [[te3:outgoing|outgoing traffic tracking]] section for more details.