Patch to support content profile module
mariusooms - October 29, 2008 - 09:35
| Project: | User Visits |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Here's a patch that modifies the Drupal 6 version to support the Content Profile module. It also removes support for usernode and nodeprofile. These module have been replaced by content profile.
Please review this minor change.
Regards,
Marius
| Attachment | Size |
|---|---|
| user_visits_content_profile.patch | 537 bytes |

#1
mhhh I've tryed to install the patch but continue to fail.
Maybe something wrong in the file patch?
#2
I believe the patch is missing the closing } for the if statement. Add that and should be good to go. Code I used is below.
if (module_exists('content_profile') && is_content_profile($node->type)) {//Don't count if role is hidden
if (!user_visit_is_hidden($user)) {
$referer = referer_uri();
}
#3
mhhh I tryed to apply the patch but still continue to showing me tish error (see attached file)