WordPress.org

Ready to get started?Download WordPress

Forums

Easy Invitation Codes
[resolved] Implement code field on a theme (16 posts)

  1. netjmt
    Member
    Posted 1 year ago #

    Hi, first a t all thank you for such a great plugin.

    I would like help on getting available the code field on a theme I'm using. First, I already activated the plugin, and when try to register a new user, it says "ERROR: Wrong Invitation Code." but there's no code field to enter. It seems maybe (I don't know exactly), that it needs to include the class in the main style.css from the theme.

    Please, where and how do I must reference the code field to make it appear in front end?

    Thanks Julio.

    http://wordpress.org/extend/plugins/baw-invitation-codes/

  2. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    Hello

    If i'm right, you want to integrate the invitation code field into your theme's template ? Not just the official/actual wp login page ?

  3. netjmt
    Member
    Posted 1 year ago #

    Yes, that's right. Is not the official wp login page. Can you check it out with at guiasabor.com/fantastic? Thanks.

  4. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    Can you provide me a download link ? Thanks

  5. netjmt
    Member
    Posted 1 year ago #

    A download link? Sorry, wich one? The website is http://guiasabor.com/fantastic
    Is that?

  6. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    My bad i thought this was a website where i can download the theme ...
    So, i need the theme or code access to check the code and find what's wrong and what to do, can you share me this theme ? Thanks

  7. netjmt
    Member
    Posted 1 year ago #

    More exactly here: http://guiasabor.com/fantastic/?ptype=register
    :) Thanks.

  8. netjmt
    Member
    Posted 1 year ago #

    Ahh, ok. here it is. http://guiasabor.com/gtheme.zip
    Thanks Julio.

  9. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, so the theme recreate a registration form but it does not include the default actions hook from WP core, it's doing it wrong ...

    Try to add this in your functions.php from theme :
    add_action( 'templ_registration_form_end', 'baweic_register_form_add_field' );
    Feedback me !

  10. netjmt
    Member
    Posted 1 year ago #

    Thanks, I added the line at the end of functions.php from theme folder, now it happens this error:

    Warning: include(TT_MODULES_FOLDER_PATHregistration/registration.php) [function.include]: failed to open stream: No such file or directory in /home/content/53/7423053/html/guiasabor.com/fantastic/wp-content/themes/fantastic/index.php on line 55

    Warning: include() [function.include]: Failed opening 'TT_MODULES_FOLDER_PATHregistration/registration.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/53/7423053/html/guiasabor.com/fantastic/wp-content/themes/fantastic/index.php on line 55

  11. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    You've made a mistake, double check.

  12. netjmt
    Member
    Posted 1 year ago #

    Thanks for the follow-up. I got the same error. Here's what I did at functions.php from template folder: http://pastebin.com/y8V07L48
    The error is the same. If you want I can grant you ftp access for first hand view?

  13. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, remove my code and check again.

  14. netjmt
    Member
    Posted 1 year ago #

    Removed the code.

    Can you give it a look at the ftp please?
    here's the access info:
    https://privnote.com/n/jbowbxpmjlcjfsdt/#osknusgbrbljsqzi

    Thanks a lot. :)

  15. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    Ok i did it, and it works. I did nothing more than a said.
    Now you have a little CSS problem ;)

  16. netjmt
    Member
    Posted 1 year ago #

    Great! Maybe can we leave references for future users with similar problems and the solution?

    Thank you very much for your support. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.