Torsten

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • Torsten
    Participant

    Thanks Geoff, Your 2nd suggestion worked perfectly for me 🙂

    • This reply was modified 6 years, 11 months ago by Torsten.
    in reply to: Phone field of event location too short #1195361
    Torsten
    Participant

    Hey Andras,

    Thanks for your help.

    I actually fixed this one already with CSS.

    Cheers,
    Torsten

    in reply to: Customized phone number field format #1193332
    Torsten
    Participant

    Hey Geoff,

    Thanks for this!

    I actually found a plugin that is limiting the characters and displaying it. It is called “Word Count and Limit” and works fine within the backend for post, pages and adding events.
    However it is not working for the “outside” event submission page in my case at http://psychiatrie-frankfurt-am-main.de/events/community/add/ for the event description form.

    Would you be able to amend the PHP/JS script a bit to make this work?

    I also actually have tried it with a JS script that works but only for the text (or code) type of the event description field not when I use the editor. You can see this here:

    // character limit for event submission text fields
    
    // Add ID to Description textarea
    jQuery(document).ready(function ($) {
        // Set your character limit
        var count_limit = 1000;
    
        // Set the initial symbol count on page load
        $('#tcepostcontent-wc span').html($('#tcepostcontent').val());
    
        $('#tcepostcontent').on('keyup', function () {
            var char_count = $(this).val().length;
            var tcepostcontent = $(this).val();
            var text_remaining = count_limit - char_count;
    
            // Update the character count on every key up
            $('#tcepostcontent-wc span').html(text_remaining);
    
            if (char_count >= count_limit) {
                $('#tcepostcontent-wc').css('color', 'red');
                $(this).val(tcepostcontent.substr(1, count_limit));
            } else {
                $('#tcepostcontent-wc').css('color', null);
            }
    
        }).after('<p id="tcepostcontent-wc">Maximal 1000 Zeichen stehen zur Verfügung: <span>1000</span></p>');
    });

    Maybe you can amend that one a bit so it works?

    Thanks for all your help!

    Kind regards,
    Torsten

    in reply to: Community Events: edit possible without access to backend #1193317
    Torsten
    Participant

    Thanks for your help Geoff. This makes total sense!

    in reply to: Community Events: edit possible without access to backend #1190651
    Torsten
    Participant

    No problem Geoff!

    I tried this now but it looks that the organiser needs to sign into the backend and this is want I don’t want or am I wrong?

    Cheers,
    Torsten

    in reply to: Community Events: edit possible without access to backend #1190478
    Torsten
    Participant

    Hey Geoff,

    Thanks for your quick response!

    I am not sure I can follow you. There are no tickets involved. Our website offers event organisers to submit their own event. I want them to be able to edit the event details afterwards in case something went wrong but without them logging into the wordpress backend.

    So how is it possible?

    Cheers,
    Torsten

    in reply to: Community Events: edit possible without access to backend #1190458
    Torsten
    Participant

    Hi Geoff,

    Sounds good, thx, but how?

    What would be the settings and how does it work after an event has been submitted. How to get it back or access to it?

    Thanks for your help!

    Kind regards,
    Torsten

    in reply to: Google Map not showing up in the posted event #1099316
    Torsten
    Participant

    Thanks a lot Hunter (what a name) 😉

    Actually I had included a custom JS script which caused an error “Uncaught TypeError: Cannot read property ‘length’ of undefined” so the map did not show up anymore.
    It was for a character limitation of the event description field (id=”tcepostcontent”) which I need to set to a max of 1000. Would you have an idea what else or how else I can implement such thing?

    Is there maybe a bit of php or else even a plugin that can be used?

    Here is the code snippet I used. Maybe you can even tell how to fix it?

    // character limit for event submission text fields

    // Add ID to Description textarea
    jQuery(document).ready(function ($) {
    // Set your character limit
    var count_limit = 1000;

    // Set the initial symbol count on page load
    $(‘#tcepostcontent-wc span’).text($(‘#tcepostcontent’).val().length);

    $(‘#tcepostcontent’).on(‘keyup’, function () {
    var char_count = $(this).val().length;
    var tcepostcontent = $(this).val();

    // Update the character count on every key up
    $(‘#tcepostcontent-wc span’).text(char_count);

    if (char_count >= count_limit) {
    $(‘#tcepostcontent-wc’).css(‘color’, ‘red’);
    $(this).val(tcepostcontent.substr(0, count_limit));
    } else {
    $(‘#tcepostcontent-wc’).css(‘color’, null);
    }

    }).after(‘<p id=”tcepostcontent-wc”>Maximal 1000 Zeichen stehen zur Verfügung: <span>0</span></p>’);
    });

    The error is on line 9 at “$(‘#tcepostcontent-wc span’).text($(‘#tcepostcontent’).val().length);”

    Thanks a lot,
    Torsten

    in reply to: Google Map not showing up in the posted event #1098897
    Torsten
    Participant

    Hey there,

    Also the mobile view does not look great.
    The calender days are overlapping as you can see here:

    https://www.dropbox.com/s/uqpcaul01i25amb/Screenshot%202016-04-06%2015.40.51.png?dl=0

    Thanks for your help.

    Cheers,
    Torsten

    in reply to: Ninja form submit causes error #986374
    Torsten
    Participant

    Hey Brian,

    The update fixed the issue indeed!

    Thanks a million for your quick and efficient help,
    Torsten

    Torsten
    Participant

    The mesage there is currently:

    “Veranstaltung submitted.

    Submit another veranstaltung”

    But I need:

    “Ihre Veranstaltung wird in Kürze freigeschaltet.
    Falls Sie Ihre Veranstaltung nach 1 – 2 Tagen nicht auf der Homepage sehen können, aktualisieren Sie bitte Ihre Browseransicht indem Sie gleichzeitig die Tasten Strg und F5 drücken bzw. einfach einen anderen Browser verwenden.

    Bitte beachten Sie, dass in der Broschüre leider nur Veranstaltungen erscheinen können, die bis zum 19.06.2015 angemeldet wurden.
    Selbstverständlich werden alle Veranstaltungen der Psychiatriewoche 2015 jederzeit online zu sehen sein.”

    Torsten
    Participant

    Hey there,

    Also my customised message after submission of an event is now gone and has been replaced with a terrible translation.

    How can I change this so I can show a page with my wording there that I have been setup already?

    I used an additional plugin for this before but this also causes now my site to break as soon as activated.

    Thanks for your quick help,
    Torsten

    in reply to: Latest update broke my site – cannot access wp-admin #971485
    Torsten
    Participant

    The mesage there is currently:

    “Veranstaltung submitted.

    Submit another veranstaltung”

    But I need:

    “Ihre Veranstaltung wird in Kürze freigeschaltet.
    Falls Sie Ihre Veranstaltung nach 1 – 2 Tagen nicht auf der Homepage sehen können, aktualisieren Sie bitte Ihre Browseransicht indem Sie gleichzeitig die Tasten Strg und F5 drücken bzw. einfach einen anderen Browser verwenden.

    Bitte beachten Sie, dass in der Broschüre leider nur Veranstaltungen erscheinen können, die bis zum 19.06.2015 angemeldet wurden.
    Selbstverständlich werden alle Veranstaltungen der Psychiatriewoche 2015 jederzeit online zu sehen sein.”

    in reply to: Latest update broke my site – cannot access wp-admin #971458
    Torsten
    Participant

    Hey there,

    Also my customised message after submission of an event is now gone and has been replaced with a terrible translation.

    How can I change this so I can show a page with my wording there that I have been setup already?

    I used an additional plugin for this before but this also causes now my site to break as soon as activated.

    Thanks for your quick help,
    Torsten

    in reply to: Latest update broke my site – cannot access wp-admin #971454
    Torsten
    Participant

    Hey there,

    Luckily I managed to fix this myself.
    However all my additional add-ons and special settings are gone now.

    Also I noticed that the German translations have gone worse. It’s now part German part English and therefore looks pretty bad.

    Is there a way to go back to an older version of the plugins?

    Cheers,
    Torsten

Viewing 15 posts - 1 through 15 (of 19 total)