Hi Brajesh,
I wonder if you can help me please?
I found some code that you wrote a while back that prevents changes being made to a profile group by the user.
Here it is:
<?php if(bp_get_current_profile_group_id()==1):?>
<ul class="button-nav">
<?php bp_profile_group_tabs(); ?>
</ul>
<div class="clear"></div>
<?php
locate_template(array("members/single/profile/profile-loop.php"),true);?>
<p><b>Your Username is your identity and We hate to see you changing your identity, so our computer has decided to disable editing it for you.Please Edit all other data in your profile as you wish :)
</b>
</p>
<?php
else:?>
The thread is here:
Is it possible to adapt this so that ONLY the 'name field' (I have it set as display name) cannot be changed? In other words, all profile fields can be edited by the user except for the core name field (field_id 1)
I've been trying for days to get this to work, but so far drawn a blank.
Would really appreciate your assistance...
Thanks in anticipation
Rob