Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter bep_11

    (@bep_11)

    Hi Franky,

    thank you VERY much!
    I just updated and the fields are showing again.

    What I noticed:
    I had changed the field type of one field from “Generic” to “People”.
    After the update the (previously not displayed) “Generic” fields were showing but for the field I changed to “People”.
    I then changed the field type of this field back to “Generic” – and then it was displayed again.

    Not a problem but it seems that changing the field type is not a good idea.

    Thank you!
    Bernd

    Thread Starter bep_11

    (@bep_11)

    This problem has been solved.
    The encoding for the plugin database tables had been set to Latin1.
    However, I installed the Japanese version of WordPress and the encoding for all the other tables was correctly set to UTF8….
    You may want to check the encoding of main database tables and then setting the encoding accordingly.

    Thread Starter bep_11

    (@bep_11)

    Hello Franky,
    great! Thanks!

    Seems that language tags are not directly supported but this works for me:
    [:en](required)[:ja](必須)[:]

    Thread Starter bep_11

    (@bep_11)

    Yes, you’re right!
    That way the actual database value is consistent.

    Thread Starter bep_11

    (@bep_11)

    Hello,

    (2) issue
    This field value worked for me:
    [:en]Yes[:ja]はい[:]
    [:en]No[:ja]いいえ[:]
    .. options of separate lines i.e. “||” don’t work.

    Best Regards,
    Bernd

    Thread Starter bep_11

    (@bep_11)

    Hi Franky,

    that’s great!

    Thanks a lot and best regards,
    Bernd

    Thread Starter bep_11

    (@bep_11)

    Hi Franky,

    thank you very much!
    That did the trick.
    BTW, it seems that the translations for locations don’t work properly (I haven’t tested this thoroughly). May be you can have an eye on …

    Are you pushing these program changes with one of the next updates?

    Thanks again and best regards,
    Bernd

    Thread Starter bep_11

    (@bep_11)

    Hi Franky,

    thanks for the quick response.
    I applied those changes and new I can add multiple custom attributes to locations BUT they are not saved!
    Tried this with an existing location and with a new location.

    I’d like to make sure that really all programs are up-to-date. Could I remove the plugin and re-install it WITHOUT deleting the database table(s)?
    If this should not be possible I could probably back up the tables and later replace the newly created with the old tables.

    What is your advice?

    Thanks and best regards,
    Bernd

    Thread Starter bep_11

    (@bep_11)

    Hello Franky,

    >I tried posting: it succeeded, but the repost to show the hank-you resulted in a 403 forbidden (but still showed a page).

    Hm, how did you check this?
    I didn’t see the 403 message, only the error page.

    I have the following plugins: Captcha by BestWebSoft, Contact Form 7, Wordfence Security.
    Disabled them but this didn’t help.

    Thanks and best regards,
    Bernd

    For now I have disabled the Captcha …

    Thread Starter bep_11

    (@bep_11)

    Helly Franky,
    I did some debugging.
    In eme_functions.php I added:

    function eme_captcha_generate() {
    eme_session_start();

    $randomtext=$random1.$random2.$random3.$random4.$random5;
    $_SESSION[$sessionvar] = md5($randomtext);
    //debug
    $File = “eme_captcha_log1.txt”;
    $Handle = fopen($File, ‘w’);
    fwrite($Handle, “captchatext: $randomtext \n”);
    fclose($Handle);


    function eme_check_captcha($post_var,$session_var=””,$cleanup=1) {
    if (empty($session_var))
    $session_var=”captcha”;
    $eme_captcha_no_case=get_option(’eme_captcha_no_case’);

    //debug
    $File = “eme_captcha_log2.txt”;
    $Handle = fopen($File, ‘w’);
    fwrite($Handle, “post_var: $post_var – session_var: $session_var \n”);
    fwrite($Handle, “post value: $_POST[$post_var] – session value: $_SESSION[$session_var] \n”);
    $par = print_r($_POST, true);
    $sar = print_r($_SESSION, true);
    fwrite($Handle, ” ‘$_POST’ array: $par \n ‘$_SESSION’ array: $sar \n”);
    fclose($Handle);

    which resulted in:

    eme_captcha_log1.txt:
    captchatext: c7s9t

    eme_captcha_log2.txt:
    post_var: captcha_check – session_var: eme_add_booking
    post value: – session value:
    ‘Array’ array: Array
    (
    [eme_rsvp_nonce] => 638a4d238a
    [honeypot_check] =>
    [eme_eventAction] => add_bookings
    [eme_register_empty_seats] => 0
    [eme_event_id] => 131
    [lastname] => tester1
    [firstname] => tester1
    [FIELD2] => test
    [email] => [email protected]
    [phone] =>
    [bookings] => Array
    (
    )

    [FIELD1] => XS
    [comment] => b9z9w
    )

    ‘Array’ array: Array
    (
    [cptch_login] => 1
    )
    ———————–
    I also entered the captcha code to the comment field – and as you can see this value is different from the previously created.
    Also, I can’t see a $_POST value for the captcha.

    Could you check this?
    Feel free to check on the website (event 609) – but make sure that the entry is recognized as test.

    Thanks and best regards,
    Bernd

    Thread Starter bep_11

    (@bep_11)

    Hello Franky,
    thanks for your answer.

    Well, the captcha is showing and if I press Refresh it is changing.
    Do you know off head which program verifies the code?

    Thanks and best regards,
    Bernd

    Thread Starter bep_11

    (@bep_11)

    Thanks, I was looking for the #_RESERVEDSPACES place holder.
    I put it into the template header before the table. Works fine!

    Thread Starter bep_11

    (@bep_11)

    Hi Franky,
    thanks for your quick answer.

    I checked the documentation but found only #_RESPSPACES (spaces reserved by one booking).
    Looking at the code I also found #_RESERVEDSPACES being used for email. Is this the placeholder you mean? I’ll try to use this one (on a page). I think that would be enough.

    Thanks,
    Bernd

    Thread Starter bep_11

    (@bep_11)

    Thanks Franky,
    I found the links on the “Change Registration” screen.
    Links are located next to the event name (first field left).
    They are labeled “Printable View” and “CSV Download”.

    Thread Starter bep_11

    (@bep_11)

    Hm, I’m not sure if I understand what you’re trying to say …
    What do you mean with “so in this particular case I’d use the language tags”?
    What are the language tags? – “[:en]English[:de]Deutsch[:]” ??

    The qtranslate documentations explains several ways to “designate a field as multilinugal”
    Definition in the Json file and special reserved “classes” seem to be the most common/easiest way. From what I’ve seen multilingual field content will only be shown in different languages if a field has been declared as a multilingual field.

    Are you saying that this is not necessary?
    If so, what do I need to do to be able to enter multilingual content in attributes – without adding new ID’s and specifying them in the Json file.

    Sorry, but this is the first time I work with qtranslate-x.
    Cheers,
    Bernd

Viewing 15 replies - 1 through 15 (of 21 total)