advanced_profile 5.x-1.0-alpha4
Download: advanced_profile-5.x-1.0-alpha4.tar.gz
Size: 25.02 KB
md5_file hash: 78cdaec7d60a7571236cf6911e104dc1
First released: April 29, 2008 - 21:28
Last updated: April 29, 2008 - 21:30
Upgrade notes:
- You no longer need the advprofile directory in your theme. If you haven't made any changes to it, just delete it. If you have made changes to the .tpl files, you will need to rename them and move them to the root of the theme (see changelog). If you have made changes to the .css just move it to the root.
- Copy advanced_profile_userinfo.tpl.php from the advprofile directory in the module directory to the root of your theme's directory. In D5, this can't be accessed from the module directory; it must be in the theme.
- If using the buddylist pane, copy advanced_profile_view_buddylist_of_uid.tpl from the advprofile directory in the module directory to the root of your theme's directory.
- You do not need to copy the .css file unless you want to modify it. Advprofile will find it in the module's directory.
- The panels fieldgroup code has changed in CCK 1.7 and advprofile alpha 4 is meant to work with it. You will need to look at the "user profile" panels page and the "all about user" mini panel. If you see the fieldgroups are showing up as deleted/missing, you will need to help panels recognize the change. To do so, delete the fieldgroup from the panel, go to add content, select "content fieldgroup", and choose the fieldgroup you are replacing. Repeat this for all 4 fieldgroups. Note that the "user info" pane in the middle of the "all about user" mini panel shows as delete/missing but that is a seperate issue.
Changelog since alpha 3:
2008-04-28
----------
Added message when settings page is empty.
2008-04-28
----------
Switched fieldgroups over to work with latest CCK. See #97375
Added custom content type to hold note for guestbook.
Changed name of module in .info, removed package, and moved nodeprofile_helper to the nodeprofile package.
Fixed wrong path to userinfo images.
2008-04-13
----------
Removed redundant file panels-content_userinfo.inc as it was moved into the .module file some time ago.
Removed unneeded template_preprocess_node().
Added saftey check to theme_advprofile_userinfo() to be sure we have the user object and not just the UID.
Removed references to profile theme subdirectory as this unnecessarily complicates installation.
Renamed advp-profile-userinfo.tpl.php to advanced_profile_userinfo.tpl.php for clarity.
Minor code clean up such as adding underscores to squished together variable names and fixing spacing.
Removed code about anonymous users that was from advforum and would never apply to profiles.
Removed unfinished and outdated activity integration.
Removed extra ampersands that caused #246191
Changed view loading to new method suggested by chx.
Renamed views-list-buddylist_of_uid to advanced_profile_view_buddylist_of_uid.tpl for clarity.
The nodeprofile from user panels relationship is now in the dev version of nodeprofile so added a check for that file around the code to define the relationship.
In settings, changed it to check for nodeprofile_helper and not just nodeprofile before offering the option of what tabs to show as it is nodeprofile_helper that handles this.
#217869 Corrected access check for edit tabs in nodeprofile_helper. Thanks meeotch.
2008-03-07
----------
Code clean up. Fixed #219682 in the process.
