Home › Forum › Problemi Vari con WP › Problema numero limitato di gruppi visibili in registrazione
-
AutorePost
-
-
16 Agosto 2011 alle 13:08 #18878grisu59Partecipante
Salve
sono a chiedere ancora il vostro aiuto per un piccolo problema
Nel mio sito con WP e buddypress ho installato il plugin
BP registration group
che permette all’utente di scegliere, già in fase di registrazione, in che gruppi vuole essere inserito.
Potete vedere qui come dovrebbe essere
http://volontarireferendum.it/register
Il problema è che io ho 22 gruppi ma la lista visualizza solo i primi 19.
Quelli successivi (idipendentemente dall’ordine dei gruppi) non vengono vualizzati
Per quanto io sia ignorante di PHO mi pare che il codice (che inserisco qui sotto) non ponga dei limiti al numero di gruppi.
Quale può essere la causa di questa limitazione?
Grazie
== codice parziale ===
* Add list of public groups to registration page. Display a message
* stating no groups are available if no public groups are found.
*/
function bp_registration_groups(){
/* list groups */ ?>
<div class=”register-section reg_groups”>
<h3 class=”reg_groups_title”>
Interessata/o a:</h3>
<p class=”reg_groups_description”>Scegli uno o piu’ gruppi di tuo interesse:</p>
<ul class=”reg_groups_list”>
<?php $i = 0; ?>
<?php if ( bp_has_groups(‘type=alphabetical’) ) : while ( bp_groups() ) : bp_the_group(); ?>
<?php if ( bp_get_group_status() == (‘public’)) { ?>
<li class=”reg_groups_item”>
<input type=”checkbox” id=”field_reg_groups_<?php echo $i; ?>” name=”field_reg_groups[]” value=”<?php bp_group_id(); ?>” /><?php bp_group_name(); ?>
<?php } ?>
<?php $i++; ?>
<?php endwhile; /* endif; */ ?>
<?php else: ?>
<p class=”reg_groups_none”>Non ci sono opzioni di scelta in questo momento.</p>
<?php endif; ?>
</div>
<?php }
-
16 Agosto 2011 alle 13:27 #87574HotWutPartecipante
Hai per caso creato dei gruppi non pubblici?
-
16 Agosto 2011 alle 13:30 #87576grisu59Partecipante
Sà¬, ma i 22 gruppi di cui parlo sono tutti pubblici!
I gruppi privati o segreti sono a parte
-
16 Agosto 2011 alle 13:52 #87577HotWutPartecipante
che versione di plug hai? ieri notte dovevano rilasciare la versione nuova. la vecchia versione ha un bug e visualizzava al massimo 20 gruppi. con la nuova teoricamente questo problema non ce piu’. aps un paio di gg che esce la versione nuova
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.