Possibly the best way of doing this would be to create a custom xprofile field type that encompasses your universities as a drop down list. There used to be the perfect template for you on github – a BuddyPress Xprofile Country Picker – all youd really need to do is swap out the countries for universities. However, I can’t find it, but a deeper search might find it somewhere.
One option is to let the users enter the site details themselves using https://github.com/shanebp/BP-xProfile-Location however that’s probably not ideal for you.
You could use one of the existing Xprofile field types as a template for what you want to do. There’s a number of Xprofile Custom field type plugins around, a quick search in the plugins directory and you will find them, find on that provides a drop down list and fork that. This way you let BP do most of the work for you.
For
Thnak you very much, i saw that plugin and it could be ok for me. Anyway i don’t really know how to do the “swap” from country to University. If you or someone else can write an exsmple snippet, i’ll aprreciate it