Plugin Directory

Changeset 1123785


Ignore:
Timestamp:
03/30/2015 05:32:24 PM (11 years ago)
Author:
nebelhorn
Message:

0.8.4.4

  • Fixed: iframe video size problem
Location:
yournewsapp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • yournewsapp/trunk/nh_ynaa_plugin.php

    r1089322 r1123785  
    22/*
    33Plugin Name: Blappsta Plugin
    4 Version: 0.8.4.3
     4Version: 0.8.4.4
    55
    66Plugin URI: http://wordpress.org/plugins/yournewsapp/
     
    2121//Temp fix folder problem
    2222global $nh_ynaa_version;
    23 $nh_ynaa_version = "0.8.4.3";
     23$nh_ynaa_version = "0.8.4.4";
    2424global $nh_ynaa_db_version;
    2525$nh_ynaa_db_version=1.2;
     
    13901390                        <option value="ru" <?php if($this->general_settings[$field['field']]=='ru') echo ' selected'; ?>><?php _e('Russian', 'nh-ynaa'); ?></option>
    13911391                        <option value="es" <?php if($this->general_settings[$field['field']]=='es') echo ' selected'; ?>><?php _e('Spanish', 'nh-ynaa'); ?></option>
    1392                         <option value="es" <?php if($this->general_settings[$field['field']]=='ro') echo ' selected'; ?>><?php _e('Romanian', 'nh-ynaa'); ?></option>
     1392                        <option value="ro" <?php if($this->general_settings[$field['field']]=='ro') echo ' selected'; ?>><?php _e('Romanian', 'nh-ynaa'); ?></option>
    13931393                    </select>
    13941394           <?php
     
    31803180                    if($lim) $limit = $lim;
    31813181                    else $limit=999;
     3182               
    31823183                }
    31833184                else  {$cid = $_GET[$this->requesvar['id']];
     
    31893190                        $limit = 999;
    31903191                    }
     3192                }
     3193               
     3194                if($_GET[$this->requesvar['offset']]) {
     3195                    $offset=$_GET[$this->requesvar['offset']];
     3196                }
     3197                else {
     3198                    $offset = 0;
    31913199                }
    31923200
     
    32363244                    }
    32373245
    3238                     $args = array('posts_per_page'   => -1, 'category__in' => array($cid), 'orderby' => $orderby ,  'order' => $order);
     3246                    $args = array('posts_per_page'   => $limit, 'offset'=>$offset, 'category__in' => array($cid), 'orderby' => $orderby ,   'order' => $order);
    32393247                    $posts_array = get_posts( $args );
    32403248                    //$args = array('posts_per_page'   => -1, 'category__in' => array($cid), 'orderby' => $orderby ,    'order' => $order);
     
    36233631          }
    36243632          iframe {
    3625               width:100% !important;
     3633              /*width:100% !important; */
    36263634          }
    36273635          img {
     
    36293637            height: auto;
    36303638          }
     3639         
     3640          .nh-elastic-video {
     3641              position: relative;
     3642              padding-bottom: 55%;
     3643              padding-top: 15px;
     3644              height: 0;
     3645              overflow: hidden;
     3646            }
     3647          .nh-elastic-video iframe {
     3648              position: absolute;
     3649              top: 0;
     3650              left: 0;
     3651              width: 100%;
     3652              height: 100%;
     3653            }
     3654                     
     3655
    36313656
    36323657          ';
     
    45974622
    45984623
    4599                 //iframe tag src replace // with http://
     4624               
     4625                    $divElements  = $dom->getElementsByTagName("div");
     4626                    foreach ($divElements as $divElement) {
     4627                        if($divElement->hasAttribute('style'))$divElement->removeAttribute('style');
     4628                    }
     4629                   
     4630                    //iframe tag src replace // with http://
    46004631                    $iframeElements  = $dom->getElementsByTagName("iframe");
    46014632                    foreach ($iframeElements as $iframeElement) {
    4602                         $src = $iframeElement->getAttribute('src');
     4633                        $clone = $iframeElement->cloneNode(false);
     4634                        $newEdiv = $dom->createElement('div');
     4635                        $newEdiv->setAttribute('class', 'nh-elastic-video');
     4636                        $newEdiv->appendChild ($clone);
     4637                        $iframeElement->parentNode->replaceChild($newEdiv,$iframeElement);
    46034638                        /*if(substr($src,0,2)=='//'){
    46044639                            $iframeElement->setAttribute('src','http:'.$src);
    46054640                        }*/
    46064641                    }
    4607 
    4608                     $divElements  = $dom->getElementsByTagName("div");
    4609                     foreach ($divElements as $divElement) {
    4610                         if($divElement->hasAttribute('style'))$divElement->removeAttribute('style');
    4611                     }
     4642                   
    46124643
    46134644
  • yournewsapp/trunk/readme.txt

    r1089322 r1123785  
    11=== Blappsta - your FREE native WordPress based mobile app for iPhone and Android ===
    22Contributors: nebelhorn
     3Tags: • App, application, abmob, adsense, app generator, blappsta, blappsta plugin, blappsta mobile, blappsta wordpress plugin, blappsta mobile wordpress plugin, smartphone, tablet, social, facebook, twitter, post, posts, comments, widget, Android, android app, app for android, wordpress android app, android tablet, android smartphone, android, android blog app, samsung, htc, google, Ios, ios app, app for ios, apple, iphone, iphone app, ipad app, wordpress ios app, wordpress iphone app, wordpress ipad app, wordpress apple app,    mobile, mobile app, mobile app for wordpress, mobile app plugin, mobile plugin, mobile site, mobile website, mobile theme, mobile web, create mobile app, build mobile app, build wordpress app, app for wordpress, build blog app, blog app, app for blog, build blog app, create blog app, mobile app converter, native app, native blog app, native wordpress app, native app plugin, native wordpress app plugin, native, native smartphone app, native ios app, native android app, native mobile app, push, push notification, intelligent push notification, wordpress app plugin, wordpress app, wordpress, wordpress plugin, wordpress app builder, wordpress app maker, wordpress native app plugin, website to mobile app, wordpress blog app, wordpress website app, wordpress mobile, wordpress mobile app
     4
    35Donate link:
    46Tags:
    57Requires at least: 3.0
    6 Tested up to: 4.0
    7 Stable tag: 0.8.4.3
     8Tested up to: 4.1.1
     9Stable tag: 0.8.4.4
    810License: GPLv2 or later
    911License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1618
    1719= Turn your blog into a free native app =
    18 Don’t fall for the typical HTML web apps with poor usability. And don't spend money for a native app in iOS (iPhone) and Android.
    19 Build your individual app using your favorite colors and your own logo in only a few minutes. Instantly test it using our Blappsta Preview app from the [Apple App Store](https://itunes.apple.com/us/app/blappsta-preview/id912390326?mt=8) or [Google Play&trade; Store](https://play.google.com/store/apps/details?id=com.blappsta.blappstaappcheck). If you like it, go to [www.blappsta.com](https://www.blappsta.com/sign-up) and we will take care of pushing the app into the stores.
    20 Check out our [website](https://www.blappsta.com) for more information about Blappsta.
     20**Don’t fall for the typical HTML web apps with poor usability. And don't spend money for a native app in iOS (iPhone) and Android. Build your individual app using your favorite colors and your own logo in only a few minutes. Install our Blappsta plugin for free and design your app the way you want it to look. Instantly test it using our Blappsta Preview app from the [Apple App Store](https://itunes.apple.com/us/app/blappsta-preview/id912390326?mt=8) or [Google Play&trade; Store](https://play.google.com/store/apps/details?id=com.blappsta.blappstaappcheck). You can test it as long as you want. If you like it, go to [http://www.blappsta.com](https://www.blappsta.com) and we will take care of publishing the app to the stores. Check out our website for more information about Blappsta and our affordable pricing plans.**
    2121
    2222= Increase the number of readers of your blog with Push Notification =
     
    5454
    5555= How it works =
     56
     57[youtube https://www.youtube.com/embed/Ng6xlcZr7Uw]
     58
    56591. Install and activate the plugin.
    57602. To get a preview on what the app would look like, download and install our Blappsta Preview App from the [Apple App Store](https://itunes.apple.com/us/app/blappsta-preview/id912390326?mt=8) or [Google Play  Store](https://play.google.com/store/apps/details?id=com.blappsta.blappstaappcheck).
     
    7881
    7982== Change Log ==
     83= 0.8.4.4 =
     84- Fixed: iframe video size problem
     85
    8086= 0.8.4.3 =
    8187- Fixed: problem with Push URL
     
    358364 
    359365== Upgrade Notice ==
     366= 0.8.4.4 =
     367- Fixed: iframe video size problem
     368
    360369= 0.8.4.3 =
    361370- Fixed: problem with Push URL
Note: See TracChangeset for help on using the changeset viewer.