Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthordervis
    • CommentTimeOct 13th 2016
     

    Hello,

    I would like to use OIO on my multilingual site. Please is it possible have different languages on advertisers side? I use OIO on wordpress.

    Thanks
    Regards

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeOct 16th 2016
     
    Project Admin

    OIO doesn't support it directly, but you could make OIO's "lang" setting dynamic (e.g. based on the value of a cookie.

    For example, in OIO's "/index.php" file you could check for the existence of a lang cookie and then update the setting based on that.

    //find this code in OIO's /index.php file
    $oiopub_set = new oiopub_settings();
    //noe add cookie check underneath
    if(isset($_COOKIE['oiopub_lang']) && $_COOKIE['oiopub_lang']) {
    $oiopub_set->lang = oiopub_clean($_COOKIE['oiopub_lang']);
    }

    How you set the cookie would be up to you (e.g. use a pre-existing cookie with language info in, set via a drop-down menu).

    Need help?  Quick start guide | Troubleshooting | All help topics