1. This forum is read-only and considered to be an Archive. Please utilize the SmarterTools Community for future interaction and posts.

Sites added with API do not respect Site Tuning being turned on by default

Discussion in 'SmarterStats' started by kostonconsulting, Apr 18, 2012.

  1. kostonconsulting

    kostonconsulting New Member

    I've set Enable Site Tuning to checked in the Settings area of SmarterStats but this does not seem to be respected when adding site with the API in SS7. Anyone else experiencing this bug? Shouldn't the defaults be enabled for new sites regardless of how they are added?
  2. ST-MMcAdams

    ST-MMcAdams New Member

    This has been fixed and will be in the next release of SmarterStats.
  3. kostonconsulting

    kostonconsulting New Member


    Thanks. I've stumbled upon getSiteTuningSettings and setSiteTuningSettings for the moment. Unfortunately those don't seem to respect the defaults either as I get a -1 for most:

    Code:
         
    'ScanFrequency' => '-1',
    'SiteId' => '1',
    'MaxQueryPages' => '-1',
    'Enabled' => 'True',
    'MaxPagesPerMinute' => '-1',
    'MaxPages' => '-1'
    
    Will these '-1' values go by the defaults or do I need to hard code in my defaults for now?