Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to add user location


osasko
Participant

@osasko

Schwoomba,

Actually figured it out the other day – I think.

1)Copy registration.php from buddypress parent theme into your own theme.

2)Paste this into registration.php underneath line 25 (might be different) :

w<label for=”country”><?php _e( ‘Country’, ‘buddypress’ ) ?> <?php _e( ‘(required)’, ‘buddypress’ ) ?></label>

<?php do_action( ‘bp_country_errors’ ) ?>

3) Then install firebug as a Mozilla add-on.

4) Go to a site who’s registration page has a drop-down list that you want.

5) Use firebug and right click on the element you want and say “inspect element”.

4)Say Copy HTML

5)Then past it into your registration.php under the the lines you pasted in step 2

Should work.

You could do this with gender , birthday etc. = Just change “country” in step 2 .

Actually the first time that I’ve given some advice

Hope it helps.

Skip to toolbar