Per

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Option to buy tickets are not displaying on page #1111357
    Per
    Participant

    Hi
    I moved the site to another server and rebuilt it….the issue is resolved although I did not figure out what the issue was.

    in reply to: Option to buy tickets are not displaying on page #1110114
    Per
    Participant

    Hi

    yes I have checked for conflicts…
    The javascript console reports some warnings related to the events calendar but no errors and that there is a language related file from jetpack(https://widgets.wp.com/languages/notifications/nb.json) that hasn’t loaded correctly. The Jetpack issue is unrelated and I have also tested with jetpack disabled.

    As I mentioned in my original post it was working fine before the last round of updates!

    in reply to: Format for pricing display #1091710
    Per
    Participant

    Hi George

    Thanks for your help.

    The code you gave me didn’t solve the problem; it added “kr ” to the string that was already there (kr kr2700) so I modified it a bit and now it is displaying with a space.

    Here is the code after I modified it 😉

    
    add_filter( 'tribe_get_cost', 'tribe_filter_cost_for_kr', 20, 3 );
     
    function tribe_filter_cost_for_kr( $cost, $post_id, $with_currency_symbol ) {
     
        if ( ! empty( $cost ) && 'Free' !== $cost ) {
            $cost = sprintf( '%s', str_ireplace( 'kr', 'kr ', $cost ) );
        }
     
        return $cost;
    }
    

    Thank you for the help

    Regards

    in reply to: Format for pricing display #1090978
    Per
    Participant

    Hi George

    Thankyou for your responce.

    I actually made a mistake in typing the format in my first post 🙂

    Yes, I have tried adding the space in general settings(Default currency symbol)( “”kr “” ) but it gets removed.

    1. Correct, the format is currently kr2700

    2. Correct, it SHOULD be kr 2700

    3. The correct currency format for Norwegian is kr 2.700,- or kr 2.700,00 (kr #.###,##)It is normal to have the dash after instead of the two decimals

    4. They aren’t truly required but they help with readability. As a minimum I would need to have the space between the kr and the number (kr ###). Also it would be nice to get a fix for this as we plan on using your plugins for a lot of our sites

    Per
    Participant

    HI Cliff
    Thanks for your response 🙂

    I had checked the CSS file you mentioned before I posted the help request….the selector there is set to white too…
    Any way I fixed the issue by adding “”!important”” to the colour rule.

    So issue resolved 🙂

    in reply to: Display language #1069265
    Per
    Participant

    Hi Geoff

    Thank you (Y) the files you provided did the trick, I just needed to modify/add a few translations….but problem solved.

    I have no idea how the files I was using got mixed up and renamed…..

    Thanks again

    in reply to: Display language #1068007
    Per
    Participant

    This reply is private.

    in reply to: Display language #1067686
    Per
    Participant

    Hi Geoff

    Again thank-you for your time. 🙂

    I have tried your suggestion regarding updating the language files. Unfortunately it hasn’t helped.
    I have also done the same with the “Events Tickets” plugin and checked that none of the language files in /wp-content/languages/ and it’s sub-folders were overriding.
    I have been through all of the usual things too(deactivating and reactivating plugins etc) I have also re-uploaded most of the plugins that are in use on the site….

    I have also setup a completely new site with just the bare bones of what is necessary regarding plugins
    -Akismet (not active)
    -Event Tickets
    -Event tickets plus
    -Hello Dolly (not Active)
    -The Events Calendar
    -TinyMCe Advanced
    -WooCommerce

    The problem is still there (I also updated the language files)

    • This reply was modified 10 years, 3 months ago by Per. Reason: Added info about testing on a freshly setup site
    in reply to: Display language #1066730
    Per
    Participant

    This reply is private.

    in reply to: Display language #1066136
    Per
    Participant

    Hi
    Thanks for responding. Unfortunately that isn’t the problem, WooCommerce is using the Norwegian language.

    If you check the regular shop pages(Butikk) you’ll see that there are a couple of items there and they are displayed in Norwegian. It seems that something is causing the tickets to revert to displaying in English instead of Norwegian.

    Regards

Viewing 10 posts - 1 through 10 (of 10 total)