Forum Replies Created
-
Sorry Shane, all sorted – I forgot the opening and closing php tags!
The new action though didn’t do anything however the original ones do.
Thank you.
[18-Jan-2017 13:09:06 UTC] PHP Parse error: syntax error, unexpected ‘endif’ (T_ENDIF) in /home/******/public_html/wp-content/plugins/bp-custom.php on line 20
Hi Shane. Like so? This still disables the site.
function tiquality_add_custom_field() { if ( bp_is_active( 'xprofile' ) ) : ?> <div class="bp-widget <?php bp_the_profile_group_slug(); ?>"> <table class="profile-fields"> <tr class="my_mail"> <td class="label">Contact me</td> <td class="data"><a href="mailto:<?php bp_displayed_user_email(); ?>"><?php bp_displayed_user_email(); ?></a></td> </tr> </table> </div> <?php endif; } add_action('bp_profile_field_buttons', 'tiquality_add_custom_field');
That was it thank you!
Actually modemlooper, this plugin doesn’t work either.
After creating a new user, the plugin shows “No unactivated members were found.”I imagine you have to use the registration form, which then sends out an activation email, which is the exact opposite of what I wanted, IE; no email until all the users have been added and the profiles have been created and completed.
Thanks modemlooper.
That solved one problem but I found another major obstacle – no ‘other’ field option on profile multi select boxes – that means I won’t be using Buddypress for the members site after all.
Thanks for taking the time to answer.
Actually, If there are no fields in the ‘Profile Details’ column then it doesn’t send an activation email, nor does it load the Check Your Email To Activate Your Account! message; it just goes back to the homepage.
That’s great, thanks modemlooper.
Can I also remove the now empty ‘Profile Details’ column?