WordPress.org

Ready to get started?Download WordPress

Forums

App Store Assistant
[resolved] Links to appstore are broken (7 posts)

  1. samosn
    Member
    Posted 2 years ago #

    Hi,

    Great plugin! However I think something broke in version 3.4.1. Because the link are not working on the app icon and the button. However they are working on the itunes store logo, although that image is for some strange reason not loading. Hope you can help me out! Thanks!

    Regards,

    samson-

    p.s. you can check out http://vakantieapps.nl/?p=55 for an example.

    http://wordpress.org/extend/plugins/app-store-assistant/

  2. SEALsystems
    Member
    Plugin Author

    Posted 2 years ago #

    That page is giving a 404 error. Have you moved it?

  3. samosn
    Member
    Posted 2 years ago #

    yeah sorry. I found a way to fix it but it happend again since last update.

    http://vakantieapps.nl/top-10-vakantie-apps-voor-je-iphone/%3C?%20echo%20$appURL;%20?%3E

    I'll look in to it again and post the problem asap.

  4. samosn
    Member
    Posted 2 years ago #

    In app-store-assistant/appStore-main.php the php opening tag is incorrect around the buttons

    <a href="<? echo $iTunesURL; ?>" ><img class="iTunesStore-icon" src="<?php echo $artwork_url; ?>" width="<?php echo $newImageWidth; ?>" height="<?php echo $newImageHeight; ?>" /></a>
    		<div class="iTunesStore-purchase">
    			<a type="button" href="<? echo $iTunesURL; ?>" value="" class="iTunesStore-Button BuyButton"><?PHP echo $buttonText; ?></a></br>

    should be:

    <a href="<?php echo $iTunesURL; ?>" ><img class="iTunesStore-icon" src="<?php echo $artwork_url; ?>" width="<?php echo $newImageWidth; ?>" height="<?php echo $newImageHeight; ?>" /></a>
    		<div class="iTunesStore-purchase">
    			<a type="button" href="<?php echo $iTunesURL; ?>" value="" class="iTunesStore-Button BuyButton"><?PHP echo $buttonText; ?></a></br>
  5. samosn
    Member
    Posted 2 years ago #

    Also on one place in "app-store-assistant/appStore-main.php" it says:

    echo '<img src="'.plugins_url( 'images/badge_appstore-lrg' , __FILE__ ).'" alt="App Store" style="border: 0;"/></a></div>';

    instead of:

    echo '<img src="'.plugins_url( 'images/badge_appstore-lrg.gif' , __FILE__ ).'" alt="App Store" style="border: 0;"/></a></div>';

    it misses the .gif-extension.

  6. SEALsystems
    Member
    Plugin Author

    Posted 2 years ago #

    This has been corrected. Thanks for finding the error.

  7. 444344
    Member
    Posted 1 year ago #

    Hey everybody, Sealsystems, Samosn,

    I tried to bug fix it, but there are some problems.

    There is following error:

    Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /kunden/368399_14612/news/wordpress/wordpress/wordpress/wordpress/wp-content/plugins/app-store-assistant/includes/app-store-functions.php on line 850

    Warning: getimagesize(http://app-paradise.com/wp-content/uploads/appstoreassistant_cache/537386512/ProductPageIcon.512x512-75.png) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /kunden/368399_14612/news/wordpress/wordpress/wordpress/wordpress/wp-content/plugins/app-store-assistant/includes/app-store-functions.php on line 850

    Can't find app-store-assistant/appStore-main.php corrected in app-store-assistant/includes/app-store-functions.php , but doesn't run correcctly.

    echo '<img src="'.plugins_url( 'images/badge_appstore-lrg' , __FILE__ ).'" alt="App Store" style="border: 0;"/></a></div>';

    Can't find this part, there is just:

    echo '<img src="'.plugins_url( 'images/badge_appstore-lrg.gif' , <strong>ASA_MAIN_FILE</strong> ).'" alt="App Store" style="border: 0;"/></a></div>';
    		// Original image from http://ax.phobos.apple.com.edgesuite.net/images/web/linkmaker/badge_appstore-lrg.gif
    		echo '</div>';

    What could I do, seems to run at your sites well. I use WP 3.5, hope someone could help me to correct this. Your Plug-in is awsome!

    Thanks you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.