Results 1 to 10 of 32

Thread: Ahead-of-time Mobile Version Upgrade

Threaded View

  1. #1
    Flynax developer John's Avatar
    Join Date
    Oct 2009
    Posts
    606

    Ahead-of-time Mobile Version Upgrade

    Good day,

    We've finished development of the new mobile version, which is part of the next version of Flynax Software - 4.2.0,
    but in view of numerous requests we got from our Customers we decided to release it earlier.

    In general the new mobile version is just updated mobile template and some changed in the script program core.

    Note: Although updating the mobile version is simple but we recommend backing up your site just in case.
    Follow the instructions below to update your mobile version based on the default mobile template - mobile_default:

    1. Rename the directory of your mobile template on your server, for example, to old_mobile_default (for backup purposes)
    2. Download an updated template (v.4.2.0)* of the mobile version from www.flynax.com > customer area > downloads > templates
    3. Upload the new template to the /template directory on your server

    Note: If your current mobile template was modified then you will have to merge modified files
    of the previous template with those of the new one.

    4. Remove all the files from the directory: /tmp/mCompile

    Then you will need to make some changes to the source code:

    1. open the file /includes/classes/reefless.class.php
    and find the code (line~ 145):
    Code:
    Only registered members can view the code.
    and replace with:
    Code:
    Only registered members can view the code.
    find the code (line~ 155): ADDED at 12 Feb
    Code:
    Only registered members can view the code.
    and replace with:
    Code:
    Only registered members can view the code.
    find the code (line~ 200):
    Code:
    Only registered members can view the code.
    and replace with:
    Code:
    Only registered members can view the code.
    2. open the file /includes/classes/rlAccounts.inc.php
    and find the code (line~ 685):
    Code:
    Only registered members can view the code.
    and replace with:
    Code:
    Only registered members can view the code.
    3. open the file /includes/classes/rlCategories.inc.php
    and find the code (line~ 455):
    Code:
    Only registered members can view the code.
    and replace with:
    Code:
    Only registered members can view the code.
    find the code (line~ 455):
    Code:
    Only registered members can view the code.
    and replace with:
    Code:
    Only registered members can view the code.
    4. open the file /includes/classes/rlCommon.inc.php
    and find the code (line~ 185):
    Code:
    Only registered members can view the code.
    and replace with:
    Code:
    Only registered members can view the code.
    find the code (line~ 210):
    Code:
    Only registered members can view the code.
    and ADD the following code after code above:
    Code:
    Only registered members can view the code.
    5. open the file /includes/classes/rlMobile.inc.php
    and find the code (line~ 200):
    Code:
    Only registered members can view the code.
    and replace with:
    Code:
    Only registered members can view the code.
    6. Unzip and upload the files from jquery.zip (see below) to the directory: /libs/jquery/

    The new mobile version uses an updated system of photo uploading; so, you will need to update it in the source code as well:

    (Skip the following steps if you use Escort script)
    1. Go to your server to /libs/upload/ and remove all the files in the directory;
    2. Upload the files from the upload.zip to the directory: /libs/upload/;
    3. Upload the photo_manager.tpl file from photo_manager.zip to /templates/DESKTOP_TEMPLATE/tpl/blocks/ directory on your server;
    4. Upload the admin/photo_manager.tpl file from photo_manager.zip to /admin/tpl/blocks/ directory on your server;
    5. Add the following css styles to the /admin/css/style.css and /templates/DESKTOP_TEMPLATE/css/style.css:
    Code:
    Only registered members can view the code.
    Congratulations! You've updated your mobile version to the latest one!

    If you have any difficulty updating your mobile version or after updating it you can report issues in this thread
    or submit a ticket to our Tech Department.

    *The new mobile version is part of a new version of Flynax Software, which is to come soon.
    *The changes suggested bu Viktor below already added to the mobile templates available in Flynax Download area.

    John
    Attached Files Attached Files
    Last edited by John; February 12, 2013 at 07:56 AM.