Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter miceno

    (@miceno)

    Hi again!

    I didn’t realize that the order status was Complete and I didn’t set Complete as an allowed status for cancellation, so the button didn’t show.

    I changed the configuration to allow Complete status orders to show the cancel request link, and … tada! It worked.

    Sorry for not realizing before.

    Closing the topic as resolved!

    • This reply was modified 3 years, 1 month ago by miceno.
    Thread Starter miceno

    (@miceno)

    I found the answer looking at the HTML of the homepage…

    The header image uses responsive images. For this reason, the theme generates different images for different screen sizes, and in order to resize them, they should be locally stored on the WordPress site. WordPress creates different images for different screens: mobile, tablet, etc.

    In the case of using an external URL, we should use a different scaling strategy, like a CDN or similar.

    • This reply was modified 6 years, 7 months ago by miceno. Reason: Update closing reason
    Thread Starter miceno

    (@miceno)

    Hi Benjamin

    Sorry for the delay (vacation time ??

    I imported 5 events, all of them are imported, but the import process didn’t understand the fields, I mean, some of the provided fields in the CSV where empty on WordPress. The issue is related to the CONTACT field, since I have some contacts with numbers on the name of the contact (like “Quadrat 9” or “P9Artius” and the parser is interpretting them as… phone numbers!!

    I hereby attach a simplified version of the offending line.

    
    TYPE,UID,DTSTAMP,DTSTART,DTEND,GEO,SUMMARY,DESCRIPTION,LOCATION,WebSite,CATEGORIES,CONTACT
    vevent,kk1,TZID=Europe/Madrid:20160830T190000,"TZID=Europe/Madrid:20160916T210000","TZID=Europe/Madrid:20160916T230000",41.408171;2.199774,"INAUGURACIó: EXPOSICIó COL·LECTIVA DE P9ARTIUS","Els P9Artius","A Can Ricart\, local de l'Eix Pere IV","https://tallersobertspoblenou.org","INAUGURACIó,testing","P9Artius amb la Fundició del Poblenou;https://tallersobertspoblenou.org"
    

    After importing it, the event is created, but it has not an assigned starting date nor ending date.

    My request is double:
    1. add a more verbose output when a field is discarded.
    2. improve the parsing to deal with limit cases like the name of a contact containing numbers.

    • This reply was modified 8 years, 6 months ago by miceno.
    Thread Starter miceno

    (@miceno)

    Hi Danny

    Thank you for your reply.

    I will contribute to Transifex then, I also have an account there.

    I am a bit concerned since the plugin page on WordPress links to Glotpress translations but not to Transifex. Are you planning to sync both of them? Or at least add a link on the description on the WordPress plugin page?

    Regards.

    Hi

    I found the problem: there is an open a tag in the template-home.php file.

    Here it is the patch:

    diff -w ../bldr/template-home.php template-home.php
    50a51,53
    >                     <?php if ( get_theme_mod( 'hero_button_url' ) ) : ?>
    >                     	</a>
    >                     <?php endif; ?>

    Hi,

    I have the same issue and I should say the code is buggy ??

    In line 153, there is this code:

    $new_id = wvpd_create_duplicate($post, $status);

    and the definition of function wvpd_create_duplicate in line 344 says:

    function wvpd_create_duplicate($post, $status = '',$newpostype , $parent_id = '' ) {

    The issue is that $newpostype is not assigned a default value and the call at line 153 requires 3 parameters, but only 2 are present.

    I am not an expert on PHP, and it might be also related to the version of PHP, I am running PHP 5.5.29.

    Would you update the code or confirm it is a PHP version issue, please?

    Anyway, to solve it, just add an empty array on the call in line 153 like this:

    $new_id = wvpd_create_duplicate($post, $status, array());

Viewing 6 replies - 1 through 6 (of 6 total)