Converting from user profiles tutorial to advanced profile
I've started converting Coulee Region ONLINE, which was the basis of the user profile tutorials, to using advanced profile. So I have some preliminary docs for converting from the tutorial:
- Take your site offline as this will make a temporary mess
- Disable nodeprofile bonus (this won't be needed anymore so can be deleted as well if you want)
- In template.php, remove:
- - function phptemplate_views_view_list_buddylist_of_uid
- - function phptemplate_nodeprofile_display_box
- - function phptemplate_user_profile
- Add "basic info" group to your uprofile node type
- Move the fields that aren't already in a group into "basic info"
- Edit the user profile panel page. Remove the existing guestbook content at the bottom. Add custom content and put in this code:
<?php
print guestbook_page(arg(1));
?>
- Follow the install directions of Advanced Profile including the instructions for using with nodeprofile. You will not need to generate the node type as you already have one.
All that's left is interests as taxonomy. The way I did it in the tutorial is really hacky so I'm looking at a better method possibly using the content taxonomy module.