This isn't exactly what your looking for but it will give you a start. When a profile page is visited this code will display the usertype from the Joomla database for the user whos profile is being viewed.
I have had a quick look at assigning a different value to the usertypes (e.g. 'Business Member' instead of 'Manager') but I will need more time to work it out if I'm able to work it out. You can see a demo of the existing code below by viewing
www.unilife.co.nz/admin
and
www.unilife.co.nz/ryan
(
Please note: registration is disabled on this website as it is a work in progress, the code will be removed from the site sometime on 8 May 2006 New Zealand Standard Time as it's not appropriate for this website)
Define the location of the information in the menu file located in components/com_comprofiler/plugin/user/plug_cbmenu/cb.menu.php
Open the file cb.menu.php and under '// Build basic menu:' add the following at the bottom:
[code:1]$usertype = ".$user->usertype";[/code:1]
Now at the end of the the section '// Last Updated' we are creating a new section so you need to add the following after the
'// Last Updated' section:
[code:1]// Profile Usertype
if ($params->get('usertype', '1')==1) {
$mi = array(); $mi["_UE_MENU_STATUS"]["_UE_USERTYPE"]["_UE_USERTYPE"]=null;
$this->menuList->addObjectItem($mi, "$user->usertype member","","",
"","", "",""«»);
}[/code:1]
You may want to replace the 2 parts saying _UE_USERTYPE with your own text or edit the language file.
Save the file. Please remember to back up all files before beginning work on them so if something does go wrong (it shouldn't but strange things sometimes do happen) you can fix it by replacing your 'hacked' file with your back up version.
Let me know how it goes,
Ryan