Xpark Media

Forum Replies Created

Viewing 15 posts - 271 through 285 (of 1,644 total)
  • Author
    Posts
  • in reply to: Redirect after cart #56809
    Xpark Media
    Keymaster

    The form is submitted using ajax, the code above does redirect on the ajax call but not the user page.

    What you wan to do is bind a javascript function to the submit botton

    $( 'body' ).delegate( 'input[name="ims-add-to-cart"]', 'click', function( e ){
    $(document).bind( "ajaxComplete", function(){
    window.location = "http://www.google.com/"
    })
    }
    in reply to: Búsqueda con imagen en el resultado #56808
    Xpark Media
    Keymaster

    El código lo puedes poner en un plugin o en el archivo functions.php en tu tema,

    function make_ims_image_rearchable( $image_type ){			
    $image_type['exclude_from_search'] = false;
    return $image_type;
    }
    add_filter('ims_image_post_type', 'make_ims_image_rearchable');

    usando el código te permitirá buscar el título y descripción, pero no tags, tax es una taxonomy y termite agrupar pero no buscar el contenido

    se quieres hacer una busqueda solo en las imagenes añade un campo escondo en el formulario de busqueda

    <input type="hidden" value="ims_image" name="post_type" />
    http://codex.wordpress.org/Function_Reference/get_search_form

    in reply to: Images Not Showing In Search Results #56799
    Xpark Media
    Keymaster

    @jesus,

    This is currently not possible tags are assigned to the gallery, while you can search image data the plugin will always give you a gallery as result.

    You can add the code below to make the images searchable, but you still will not be able to search by tags. Only by image name or description.

    function make_ims_image_rearchable( $image_type ){			
    $image_type['exclude_from_search'] = false;
    return $image_type;
    }
    add_filter('ims_image_post_type', 'make_ims_image_rearchable');
    

    Si prefieres una contestación en español por favor crea un nuevo “topic”

    in reply to: Redirect after cart #56798
    Xpark Media
    Keymaster

    @andrew,

    if you use the wordpress php option wp_redirect(); and set the cookie, also you can use javascript to set the cookie or display your own message.

    in reply to: Redirect after cart #56789
    Xpark Media
    Keymaster

    @andrew,

    Your question is not very clear, do you want to redirect the user just after they add a product to the cart?

    To redirect users you can use javascript

    <script type="text/javascript">
    <!--
    window.location = "http://www.google.com/"
    //-->
    </script>

    or wordpress using wp_redirect()

    in reply to: Post date #56780
    Xpark Media
    Keymaster

    There is no setting for it currently, you will have to use the pop_tab_title hook.

    function modify_pop_recent_title( $title, $post ) {
    return '<span class="pop-title title">'. $title . '<span class="post-date">' . date_i18n( get_option('date_format'), $date ) ,'</span></span>' ;
    }
    add_filter('pop_recent_title', 'modify_pop_recent_title');
    in reply to: uhm…how do i make my store/album look like yours? #56772
    Xpark Media
    Keymaster

    For albums you will need to create a custom taxonomy-ims_album.php template and use the WordPress feature image.

    you may want to change the image size by using set_post_thumbnail_size( 800, 320, true );

    to add a download button use

    function add_ims_image_tag_buttons($buttons, $imageid, $data){
    global $ImStore;
    $buttons = array_merge( array( 'download' =>
    '<a class="ims-download" title="' . __( 'Download' ) . '" href="' . esc_attr( $ImStore->get_image_url( $imageid, 4 , true ) ) . '" download="'
    . esc_attr( $data['title'] ) . '">' . __( 'Download' ) . '</a>' ,
    ), (array) $buttons );
    }
    add_filter( 'ims_image_tag_buttons', 'add_ims_image_tag_buttons', 10, 3 );

    the rest is just css work.

    in reply to: Downloadable Purchases #56771
    Xpark Media
    Keymaster

    @klarsendesign,

    Downloadable images are controlled by the price list, next to each image size there is a check box that allows that image size to be downloadable when the user selects that size.

    What we recommend is to create pixel size images for downloadable images, and to be sure that the original images that you upload are big enough to generate all desired sizes.

    in reply to: Images Not Showing In Search Results #56770
    Xpark Media
    Keymaster

    @jcharris,

    you want to create a “content-ims_gallery.php” template part, this will allow you do modify and display of the galleries in the search result.

    you can use the templates provided by the plugin image-store/theme/ as guide.

    An alternative is to use WordPress post thumbnail and use the image in the search results.

    in reply to: Adding wrong items to cart… Help #56769
    Xpark Media
    Keymaster

    @artfororphans,

    We tested the gallery that you provided, and it looks like is working fine. there are just some issues with the prices list.

    This suggest that it may have been an issue when you installed the plugin. Try reseting all settings if that doesn’t help, if you don’t have many galleries created. Completely uninstall the plugin and with out the cache plugin active try reinstalling it.

    in reply to: How To Add Detailed Receipt For E-Mail Only Checkout #56768
    Xpark Media
    Keymaster

    @jcharris,

    You can removed or add checkout buttons base on the user status using the ims_checkout_actions hook.

    To completely modify the email sent to the customer you can use the ims_customer_message hook.

    in reply to: Album and Tag Shortcodes? #56766
    Xpark Media
    Keymaster

    @jcharris,

    You should be able to WP_Query to pull anything you want; you just need to use the custom post values. Galleries and images are just a custom post types and albums are custom taxonomies.

    galleries: ims_gallery
    image: ims_image
    albums: ims_album
    tags: ims_tags

    you can also create custom template to display custom content base on post type or taxonomy.

    in reply to: Image downloadable #56765
    Xpark Media
    Keymaster

    @carob,

    Any other payment method should work, we can check the site for you if want. Please set us login information at [email protected]

    If it worked before as we mentioned it was a bug, because usually user don’t want customer to have the images until they have confirm payment.

    we can make the adjustment for you for a donation to the plugin

    in reply to: Cannot Upload images to gallery. #56764
    Xpark Media
    Keymaster

    @jkaphoto,

    you should be able to increase both until you can upload you largest image if you hosting company has a limit you may have to find another hosting.

    Usually this is a limit on the server, WordPress (php) can only use the resources that is available to it.

    in reply to: Album and Tag Shortcodes? #56744
    Xpark Media
    Keymaster

    @jcharris,

    you can use the shortcode [image-store album=ID] for more information in check the shortcode page

Viewing 15 posts - 271 through 285 (of 1,644 total)