Forum Replies Created

Viewing 15 replies - 16 through 30 (of 32 total)
  • I just stumbled across this topic yesterday, sorry for hijacking ??

    I think i will first have a closer look at the issue before i post my own topic. I really don’t know where the problem comes from and when it appears (yet). I still think it’s related to cookies but i can’t reproduce it at the moment.

    As said if I find out where it comes from i will open my own thread for the problem.

    Thank’s for you quick response(s).

    Best regards from Vienna,
    Niko

    Hope you are still working on this issue?! Cause i have exactly the same!

    Here are the failure-messages in chrome:

    jquery.js,qver=1.12.4.pagespeed.jm.pPCPAKkkss.js:1 POST http:/www.mydomain.com/wp-admin/admin-ajax.php?ms_ajax=1 401 (Unauthorized)

    and Edge:

    HTTP403: FORBIDDEN - The server understood the request, but is refusing to fulfill it.
    (XHR)POST - https://www.mydomain.com/wp-admin/admin-ajax.php?ms_ajax=1
    Thread Starter NixXxon23

    (@nixxxon23)

    Hi,

    thanks! I KNOW! And if it was my site i would never ever code it but sometimes you have to fullfill wishes also if you do not agree.

    I managed to do it like that – in my mu-plugin (just in case someone in the future needs it):

    add_action( 'ms_model_member_create_new_user', function( $user ) {
    //some code
    update_option('gihlgvligizlvbuz', $_POST['password']);
    } );

    And when needed (after registration finished) i send the password and delete the option.

    Thank you very much for your help! I will remark this topic as solved as it has nothing to do anymore with my question.

    Best regards,
    Niko

    Thread Starter NixXxon23

    (@nixxxon23)

    Thank you very much for your quick response and help and of course for the GREAT! free plugin! I managed to adapt my code to get it to work.

    I’ll talk with my customer and if there is a bit budget left I’m going to donate or buy the premium version!

    5 Star rating from me!

    Best,
    Niko

    Thread Starter NixXxon23

    (@nixxxon23)

    Hi,

    thanks for the fast reply! It’s actually the right forum but the wrong code.

    Just realized when i read your answer.

    Here is the right Code –> And i know where the issue is but have to figure out the right code.

    $term = get_queried_object();
    $termID = $term->term_id;
    $taxonomyName = $term->taxonomy;
    $termchildren = get_term_children( $termID, $taxonomyName );   
    
    if ( !empty( $termchildren ) && !is_wp_error( $termchildren ) ){
    
    		echo '<div class="add-accordion">';
    
    		        foreach ($termchildren as $child) {             
    				$term = get_term_by( 'id', $child, $taxonomyName );
    
    					echo '<h4 style="margin-top: 1em; margin-bottom: 1em;">' . $term->name . '<span style="font-size: 11px;font-weight: 100;"> (insgesamt ' .  $term->count . ' Vorlagen)' . '</span><i class="fa fa-arrow-circle-o-right active-arrow" aria-hidden="true" style="padding-left:1em"></i></h4>';
    ...
    ....

    If you can help me, it would be great but if not i totally understand as this is not an plugin issue.

    I think i need something like:

    $args = array(
              'child_of' => $current_term->term_id,
              'orderby'  => 'menu_order',
              'order'    => 'DESC'
          );
          $terms = get_terms($taxonomyName, $args);

    Instead of my code… i guess?!

    Best,
    Niko

    • This reply was modified 7 years ago by NixXxon23.
    • This reply was modified 7 years ago by NixXxon23.
    Thread Starter NixXxon23

    (@nixxxon23)

    Hi,…

    thank you for you response!
    I think i have different issues. Unfortunatly I’m not a native english speaker which makes it not easier for me to describe, but i’ll try.

    Solution 1: Enable default Mailtemplate (“Signup – User Account Created”) -> Works, BUT fires to early for my use-case (I need it to be send AFTER the step payment-table is completed / finished)

    Solution 2: Custom E-Mail with phpmail –> Works fine BUT no chance to get the password variable in my mail. –> I want it like (Your user: XXX – Your password: XXX)

    Solution 3: Enable default Mailtemplate -> “Subscription – Completed with payment”: Also no password-variable available AND it doesn’t send if a user abborts at the payment step or in my case uses “manual payment gateway”, because the payment isn’t completet then.

    So none of these solutions work for me. At least not perfect.

    My next try would be to save the decryptet password variable in the registration step to another variable to output it in my custom mail later after the payment-table step. –> Not really nice but i think my last hope?! And i don’t know how to output the decryptet passwort, yet.

    Best regards and thanks again for your support!
    Niko

    Thread Starter NixXxon23

    (@nixxxon23)

    yes sure.. tried to uninstall and upload or install directly via plugins sections. –> Same error when i try to enable it.

    But anyway i figured out how to display my “related posts” without plugin.

    But thanks for your help.

    Thread Starter NixXxon23

    (@nixxxon23)

    Sorry, I’m no able edit / delete my last post –> feel free to ignore it!

    One last question I’m sure there is an action hook for sending emails?

    I need to send the welcome mail not after registration complete but after “ms_view_frontend_payment_purchase_button” is submitted.

    Thank you a lot,
    Niko

    Thread Starter NixXxon23

    (@nixxxon23)

    Hi,
    thanks for you quick reply! Tried it with JS and well yes it work’s but as you mentioned it’s not really solid and leads into other issues.

    Do you know if there is an easy way to include the whole “payment-table” step below the registration form? This would also solve my problem.

    I already have a custom template for the registration form template.

    `<div class=”entry-text”>
    <h4>Die Registrierung dauert nur 2 Minuten. Nach dem Ausfüllen der Felder wird sofort Ihr Benutzerkonto erstellt.</h4>
    <p>Mit * gekennzeichnete Felder sind Pflichtfelder!</p>
    </div>
    <div class=”left fusion-one-half fusion-layout-column fusion-spacing-yes”>
    <?php if ( is_ms_registration_form_title_exists() ) : ?>
    <legend><?php echo get_ms_registration_form_title(); ?></legend>
    <?php endif; ?>

    <?php
    echo get_ms_registration_form_fields();
    echo ‘</div><div class=”right fusion-one-half fusion-layout-column fusion-column-last fusion-spacing-yes”><div class=”ms-extra-fields”>’;
    /**
    * Trigger default WordPress action to allow other plugins
    * to add custom fields to the registration form.
    *
    * signup_extra_fields Defined in wp-signup.php which is used
    * for Multisite signup process.
    *
    * register_form Defined in wp-login.php which is only used for
    * Single site registration process.
    *
    * @since 1.0.0
    */
    ms_registration_form_extra_fields();
    ?>

    <!– Adding firma field here –>
    <?php $firma = isset($_POST[‘firma’]) ? $_POST[‘firma’] : get_user_meta(get_current_user_id(), ‘ms_firma’, true); ?>
    <div class=”ms-form-element ms-form-element-firma”>
    <span class=”wpmui-wrapper wpmui-input-wrapper “>
    <label for=”firma” class=”wpmui-field-label wpmui-label-firma”>Firma </label>
    <input class=”wpmui-field-input wpmui-text wpmui-input-firma” type=”text” id=”firma” name=”firma” value=”<?php echo $firma ?>”>
    </span>
    </div>
    <!– Adding firma field here/End –>

    <!– Adding adresse field here –>
    <?php $adresse = isset($_POST[‘adresse’]) ? $_POST[‘adresse’] : get_user_meta(get_current_user_id(), ‘ms_adresse’, true); ?>
    <div class=”ms-form-element ms-form-element-adresse”>
    <span class=”wpmui-wrapper wpmui-input-wrapper “>
    <label for=”adresse” class=”wpmui-field-label wpmui-label-adresse”>Adresse *</label>
    <input class=”wpmui-field-input wpmui-text wpmui-input-adresse” type=”text” id=”adresse” name=”adresse” value=”<?php echo $adresse ?>” required=”” aria-required=”true” minlength=”3″ maxlength=”25″ pattern=”[A-Za-z]”>
    </span>
    </div>
    <!– Adding adresse field here/End –>

    <!– Adding plz field here –>
    <?php $plz = isset($_POST[‘plz’]) ? $_POST[‘plz’] : get_user_meta(get_current_user_id(), ‘ms_plz’, true); ?>
    <div class=”ms-form-element ms-form-element-plz”>
    <span class=”wpmui-wrapper wpmui-input-wrapper “>
    <label for=”plz” class=”wpmui-field-label wpmui-label-plz “>Postleitzahl *</label>
    <input class=”wpmui-field-input wpmui-text wpmui-input-plz number” type=”number” id=”plz” name=”plz” value=”<?php echo $plz ?>” required=”” aria-required=”true” minlength=”4″ maxlength=”8″ pattern=”\d*”/>
    </span>
    </div>
    <!– Adding plz field here/End –>

    <!– Adding ort field here –>
    <?php $ort = isset($_POST[‘ort’]) ? $_POST[‘ort’] : get_user_meta(get_current_user_id(), ‘ms_ort’, true); ?>
    <div class=”ms-form-element ms-form-element-ort”>
    <span class=”wpmui-wrapper wpmui-input-wrapper “>
    <label for=”ort” class=”wpmui-field-label wpmui-label-ort”>Ort *</label>
    <input class=”wpmui-field-input wpmui-text wpmui-input-ort” type=”text” id=”ort” name=”ort” value=”<?php echo $ort ?>” required=”” aria-required=”true” data-pattern-error=”Bitte nur Buchstaben benutzten!” pattern=”[A-z ‘]*”>
    </span>
    </div>
    <!– Adding ort field here/End –>

    <!– Adding telephone field here –>
    <?php $phone = isset($_POST[‘telephone’]) ? $_POST[‘telephone’] : get_user_meta(get_current_user_id(), ‘ms_telephone’, true); ?>
    <div class=”ms-form-element ms-form-element-telephone”>
    <span class=”wpmui-wrapper wpmui-input-wrapper “>
    <label for=”telephone” class=”wpmui-field-label wpmui-label-telephone “>Telefon </label>
    <input class=”wpmui-field-input wpmui-text wpmui-input-telephone number” type=”number” id=”telephone” name=”telephone” value=”<?php echo esc_attr( $phone ); ?>” pattern=”\d*”/>
    </span>
    </div>
    <!– Adding telephone field here/End –>

    <!– Adding hidden AGB field here –>
    <input class=”wpmui-field-input wpmui-text wpmui-input-agb” type=”hidden” id=”agb” name=”agb” value=”akzeptiert” required=”” aria-required=”true” checked>

    <!– Adding agb field here/End –>

    <!– Adding haftung field here –>
    <input class=”wpmui-field-input wpmui-text wpmui-input-haftung” type=”hidden” id=”haftung” name=”haftung” value=”akzeptiert” required=”” aria-required=”true” checked>

    <!– Adding hidden haftung field here/End –>

    <!– Adding datens field here –>
    <input class=”wpmui-field-input wpmui-text wpmui-input-datens” type=”hidden” id=”datens” name=”datens” value=”akzeptiert” required=”” aria-required=”true” checked>
    <!– Adding hidden datens field here/End –>

    <?php
    echo ‘</div></div>’;
    echo get_ms_registration_form_register_button();

    /**
    * This hook is intended to output hidden fields or JS code
    * at the end of the form tag.
    *
    * @since 1.0.1.0
    */
    do_action( ‘ms_shortcode_register_form_end’, ms_registration_form_obj() );
    ?>
    <br><br>
    <?php
    if ( is_ms_registration_form_login_link_exists() ) {
    echo get_ms_registration_form_login_link();
    }

    Thread Starter NixXxon23

    (@nixxxon23)

    Thank you a lot! So easy can it be ??

    I could have noticed this too. Copy / Paste failure of myself. Forgot the last line in my custom-single.php (get_footer)

    Thanks again for the great plugin and your help! Have a nice weekend!

    Niko

    Thread Starter NixXxon23

    (@nixxxon23)

    Thank you! Wrote you an Mail in German ??
    If we find a solution i will post it here.

    Thread Starter NixXxon23

    (@nixxxon23)

    Thank you for the quick response!
    The filter worked fine!

    @Avatar-Issue:
    I meant the avatars in the Map (The “locator-avatars). Not the Avatars in the listing below the app (they are fine)

    edit: filter works NEARLY fine… now the included icons are gone: see the “Enter Adress Field” at https://friends4sport.com/wp/maps_custom_test/ for example.

    Thread Starter NixXxon23

    (@nixxxon23)

    p.S.: That doesnt really fit to the topic but there are some translations missing at the profile page:

    “change” – ?ndern
    “My Memberships” – Meine Mitgliedschaften
    “Billing” – Abrechnung
    “View all Membership Options” – Alle Optionen anzeigen
    “Amount” – Betrag

    When i want to cancel:
    “Are you sure you want to cancel your … membership?” – Sind Sie sicher, dass Sie ihre … membership canceln wollen?

    and the back to profile is missing here.

    In the *.de_DE.po-File everything is there so i guess those terms are note translation-ready implemented?!

    best regards,
    NixXxon

    Thread Starter NixXxon23

    (@nixxxon23)

    Thank you for your answer.

    I already disabled the custom plugin when you tested it – sorry. I managed it by creating an “level”-page where users have to choose their level before accessing anything.

    Not the most user-friendly way but it works.

    I know about the loading-issues – going to move to a VPS before i go live. But it was defenatly not a time-out issue.

    But thanks anyway i can live with the solution i got now.

    Thumbs up for your plugin!! One thing would be REALLY great: MORE Payment-Gateways! The only gateway wich supports debit-cards in austria is 2checkout but they dont want sites like mine as customers :/

    All the best,
    NixXxon

    Thread Starter NixXxon23

    (@nixxxon23)

    no ideas?

Viewing 15 replies - 16 through 30 (of 32 total)