Home › Forums › ACF PRO › User taxonomies › Reply To: User taxonomies
Hey guys,
I’m having the same problem as @iamrobertandrews. I have a User register form in which I have some taxonomies, and I use those taxonomy terms checked by user for filtering users in a page.
I have a ACF User form, and on this form I have these taxonomy related fields. Then, I’m using LH User Taxonomy plugin for having a User Taxonomy UI and also to have this working.
All things was working fine until 03/03/2017 (user was registering, then taxonomy field terms was populating User Taxonomies correctly, automatically). But, for some reason it stopped to work on 03/03/2017 (date of last user register that recorded taxonomies correctly).
The weird thing, I did the @iamrobertandrews experiment, which means, getting a registered user that comes with blank taxonomy feilds, then I checked some terms manually on User Edit page, and then saved. For some reason, it worked! Buuuuuut, I need this working from the form, because I can’t know what item the user filled if it comes blank…
So, I was wondering if you guys have any idea about why it was working and from 03/03 it isn’t anymore? Where should I look for a bug (something that I changed and make it stop to work), or if you have any suggestion for getting it working again.
Thanks in advance.
Cheers.
ACF version 5.5.11
Form: http://www.cieb.net.br/cadastro-pessoa-fisica/
Form WP Page:
<?php
acf_form_head();
get_header();
?>
<!-- #Content -->
<div id="Content">
<div class="content_wrapper clearfix">
<!-- .sections_group -->
<div class="sections_group">
<div class="container">
<div class="row form-cadastro-especialista">
<?php if ( have_posts() ) : ?>
<div class="col-xs-12">
<?php while ( have_posts() ) : the_post(); ?>
</div>
<form action="<?php echo site_url('wp-login.php?action=register&role=especialista', 'login_post') ?>" method="post">
<div class="acf-field">
<div class="acf-label">
<label><span class="numero-questao">1</span>Nome de Usuário (login)</label>
</div>
<div class="acf-input">
<div class="acf-input-wrap">
<input type="text" name="user_login" value="Nome de Usuário" id="user_login" class="input" />
</div>
<p class="description">Seu nome de usuário (login) poderá ser utilizado futuramente para que você utilize outros serviços da Rede IEB.</p>
</div>
</div>
<div class="acf-field">
<div class="acf-label">
<label><span class="numero-questao">2</span>Seu E-mail</label>
</div>
<div class="acf-input">
<div class="acf-input-wrap">
<input type="text" name="user_email" value="E-Mail" id="user_email" class="input" />
</div>
<p class="description">Você receberá em seu e-mail um link para cadastrar sua senha.</p>
</div>
</div>
<?php do_action('register_form'); ?>
<input type="submit" value="Cadastrar" id="register" />
<input type="hidden" name="redirect_to" value="/solicitacao-cadastro-pessoa-fisica"/>
</form>
<?php endwhile; ?>
<?php else : ?>
<p><?php _e( 'Desculpe, não há conteúdo disponível para esta página ainda. Volte em breve.', 'cieb' ); ?></p>
<?php endif; ?>
</div>
</div><!--row-->
</div><!--container-->
</div><!--sections_group-->
</div><!--content_wrapper-->
</div><!--#Content-->
<?php get_footer();?>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.