Releases for Advanced Profile Kit
advanced_profile 5.x-1.0-alpha6
Download: advanced_profile-5.x-1.0-alpha6.tar.gz
Size: 23.82 KB
md5_file hash: 43fd698ea19b3493304f896fcaab0a78
First released: December 2, 2008 - 04:23
Last updated: December 2, 2008 - 04:35
View usage statistics for this release
The last release, "unstable 1" was a complete rewrite from scratch. This alpha is mostly a clean up from that initial rewrite.
If you are on Alpha 5 or previous and happy with it, be sure to try this out on a test site to see if you can live with the changes before upgrading. While Alpha 5 is no longer supported, there is no reason you have to upgrade if you are happy with what you have. This rewrite simplifies quite a bit and removed some functionality. The buddylist view is gone as is the nodeprofle helper module. While APK should still work fine with nodeprofile, it is not actively supported. For help in upgrading, see the instructions in the unstable 1 release notes.
advanced_profile 5.x-1.0-unstable1
Download: advanced_profile-5.x-1.0-unstable1.tar.gz
Size: 22.55 KB
md5_file hash: 51b4df6414eaba2fe6a275a4e2727c9f
First released: November 20, 2008 - 05:02
Last updated: November 20, 2008 - 05:10
View usage statistics for this release
This is the first release of the rewrite. It has only been tested with bio so far and lacks the nodeprofile helper functions that were in alpha 5. If you are brand new to APK and want to try it out, use this version. If you have an existing APK install, I don't recommend upgrading at this point. If you want to attempt an upgrade, rough instructions are below.
The docs for this new version are still sketchy. There's a rough install guide in the readme.txt but the handbook is completely out of date. I will work on getting those up to snuff before the next release.
The following are instructions for upgrading from Alpha 5. I strongly suggest trying this on a development copy first. It may take tweaking beyond what's listed here to get your profiles working again.
- The buddylist view is no longer included. If you are using buddylist and wish to keep the view, override it so a copy is saved in the database.
- Remove entire advanced_profile directory
- Untar new version
- In your theme, delete advanced_profile_userinfo.tpl.php (if you have modified this file, make sure you have a backup you can refer to)
- In your theme, delete advanced_profile_view_buddylist_of_uid.tpl.php unless you are still using the buddylist view.
- Copy the new advanced_profile_author-pane.tpl.php to your theme.
- If you are keeping the buddylist view, add this code to your template.php:
<?php
/**
* Themes the buddylist view so that we get rid of the list markup
*/
function phptemplate_views_view_list_buddylist_of_uid($view, $nodes, $type) {
$fields = _views_get_fields();
$taken = array();
// Set up the fields in nicely named chunks.
foreach ($view->field as $id => $field) {
$field_name = $field['field'];
if (isset($taken[$field_name])) {
$field_name = $field['queryname'];
}
$taken[$field_name] = true;
$field_names[$id] = $field_name;
}
// Set up some variables that won't change.
$base_vars = array(
'view' => $view,
'view_type' => $type,
);
foreach ($nodes as $i => $node) {
$vars = $base_vars;
$vars['node'] = $node;
$vars['count'] = $i;
$vars['stripe'] = $i % 2 ? 'even' : 'odd';
foreach ($view->field as $id => $field) {
$name = $field_names[$id];
$vars[$name] = views_theme_field('views_handle_field', $field['queryname'], $fields, $field, $node, $view);
if (isset($field['label'])) {
$vars[$name . '_label'] = $field['label'];
}
}
$items[] = _phptemplate_callback("advanced_profile_view_buddylist_of_uid", $vars);
}
if ($items) {
return implode(" ",$items);
}
}
?> - If you have made any changes to the panels page, you need to decide if you want to keep your page as is or start again with the new version as a base. If you want to start again, revert the user profile panels page and it will read from the module. Warning: This action can't be undone. If you've never made changes, it will pick up the new version from the module automatically.
- Be sure to clear the cache (use the devel module or truncate the cache tables).
- Check out your profiles and tweak as needed.
advanced_profile 5.x-1.0-alpha5
Download: advanced_profile-5.x-1.0-alpha5.tar.gz
Size: 25.39 KB
md5_file hash: 542168f62b664b84f9893e97997a278f
First released: July 1, 2008 - 01:50
Last updated: July 1, 2008 - 01:55
View usage statistics for this release
Mostly bugfixes and cleanup since the last alpha. The theme files have shuffled around so, if you're upgrading from the last alpha:
- Make sure you delete the module directory before untarring the new one.
- If you haven't changed any theme files, just delete the advprofile directory out of your theme.
- Copy the .tpl.php files from the advprofile directory (either in the module or your modded copies) to the root of your theme.
- If you changed the .css file, copy that to the root of your theme as well. Otherwise you don't need to copy it.
Changes since alpha 4:
Jun 30, 2008
------------
#NONE by Michelle: Switched to named months in CHANGELOG.txt to avoid confusion.
#NONE by Michelle: General code clean up
#NONE by Michelle: Moved CSS adding function into the menu hook instead of having a function call.
#276559, 254577 by Michelle: Added check around CSS adding to only do it on the user page. Untested fix.
#257737 by stephthegeek: CSS clean up and neutralizing.
#259059 by rpmute: Added redirect from usernode to profile page.
#274959 by Michelle but thanks to sdboyer. Fixed bug with user info pane title.
Apr 28, 2008
------------
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.
Apr 13, 2008
------------
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.
Mar 07, 2008
------------
Code clean up. Fixed #219682 in the process.
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
View usage statistics for this release
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.
advanced_profile 5.x-1.0-alpha3
Download: advanced_profile-5.x-1.0-alpha3.tar.gz
Size: 24.56 KB
md5_file hash: 4de2c66d49235f355032aa970a3c187f
First released: February 7, 2008 - 15:16
Last updated: February 7, 2008 - 15:20
View usage statistics for this release
#215882 Replaced $vars['directory'] with path_to_theme() because the former is unreliable.
#217234 Fixed buddylist link. Thanks txcrew.
#218370 Fixed contact link. Thanks tehquickness.
Added some more comments in the code.
Refactored advanced_profile_addvars() so it's clearer.
advanced_profile 5.x-1.0-alpha2
Download: advanced_profile-5.x-1.0-alpha2.tar.gz
Size: 24.3 KB
md5_file hash: 1da63ee2304d50e3341d6757e8e1c872
First released: January 30, 2008 - 16:49
Last updated: January 30, 2008 - 16:50
View usage statistics for this release
This version simplifies things over alpha 1. I decided to reduce the contrib dependency on the default panel page and so it just has the user info pane, groups from the included profile type, and node comments as a guestbook. Other contribs will be put into the views panes / mini panels and you can just select what you want to add to the main page.
At this point, the activity and blog panes are still broken. I wanted to get this alpha out so decided not to wait for those to be fixed.
Alpha 2 saw a total refactoring of the user info pane. If you had customized the .tpl before, you'll need to look at the new one for the changes. If you haven't changed it, just copy the new one over.
Upgrading from alpha 1:
1) Delete the advanced_profile module directory and untar the new on in its place
2) If you haven't customized your theme, remove the advprofile theme directory from your theme and put in the new one. If you've customized your theme, look at the new .css file and panel-user-info.tpl.php and integrate your changes.
3) If you've modified any of the panels, they are overridden and won't get my changes. If you're happy with what you have, that's no problem and you can just keep using your custom version. If you'd like the changes, you need to revert the panels to get them to what's in the module and then redo your changes.
This will be the last alpha for a while unless there's a major bug I missed as I'm going to switch gears for a while and work on advforum.
advanced_profile 5.x-1.0-alpha1
Download: advanced_profile-5.x-1.0-alpha1.tar.gz
Size: 23.47 KB
md5_file hash: 300dc210db5bd34e58552b1f6279f9b9
First released: January 27, 2008 - 05:20
Last updated: January 27, 2008 - 05:20
View usage statistics for this release
At this point, the module works with bio, nodeprofile, and core profile. There is still more work to be done, but it is usable and people are using it so I wanted to start having official releases.
advanced_profile 5.x-1.x-dev
Download: advanced_profile-5.x-1.x-dev.tar.gz
Size: 24.17 KB
md5_file hash: a27bb7d17b8f9ffb100bb8b65fca31e8
First released: January 2, 2008 - 20:03
Last updated: December 3, 2008 - 00:00
View usage statistics for this release
This is the dev snapshot. It should not be considered stable as this module is in active development. When the module has stabalized, I will make an official release. The module is usable at this point but be sure to read the readme file as setup is still complicated.
