Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter guypsemperis

    (@guypsemperis)

    Sooo… I decided to just code a fix myself – of course, not by changing the WPAS plugin. Thankfully, (which is to say, thank you), the plugin is well written and adding the validation that I wanted to user registration was a relatively simple matter of calling:
    add_filter('wpas_register_account_errors', '[MY_VALIDATION_FUNCTION]');
    (relatively simple because I am not all that adept at php in general, nor wordpress plugins in particular)

    Thread Starter guypsemperis

    (@guypsemperis)

    After following your latest suggestion, I found that I indeed had made the mistake of using a page that was not selected in TICKETS->SETTINGS->GENERAL .
    Once that was fixed, the div I was expecting was added, and the call to admin-ajax was being made.

    I have a new problem with the actual results of the validation but I’ll open a separate topic for that as this problem has been resolved.

    Thanks a lot!

    Thread Starter guypsemperis

    (@guypsemperis)

    After some debugging, here is some more information:
    1. I turned off all other plugins installed – no change.
    2. There are no js errors in the browser console.

    To try and test what was happening, I did two things:
    1. I don’t remember making any changes to files in the plugin but just to make sure, I uninstalled the plugin (with the “delete data” option checked), and reinstalled.
    (I set “Enable E-Mail Checking” to checked and set my MailGun public key)
    2. I made my ticket-submit page contain only a single line (past the template definitions):
    <%php echo do_shortcode('[ticket-submit]'); %>

    Now, when I enter that page, I get the login view with the registration form – no templating, no styling, nothing. Just the login and registration forms.
    I still don’t see wpas_emailvalidation div. In fact, component_registration.js isn’t being loaded at all. I even added a console.log at line 9 to make sure I wasn’t simply missing it but component_registration.js is simply not loaded… which makes sense if I consider the fact that wpas_emailvalidation isn’t being added…

    Thanks again for the assistance.

    Thread Starter guypsemperis

    (@guypsemperis)

    Thank you for the quick reply 🙂
    The log was not printed… I’ll try it with other plugins turned off and do some more debugging.

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