Are there plans to update this module to a Drupal 6 version?

Comments

matt b’s picture

I need a drupal 6 version to upgrade my site. I'm in the process of updated this module for version 6, I've got it all functioning on my test site, with the exception of views. If anyone knows where I can find documentation on hood_views_data it would help!

matt b’s picture

Status: Active » Needs review
StatusFileSize
new8.94 KB
new11.33 KB

Here it is, I figured views out - would still love to see some proper documentation for it. I don't link to any of the Profile fields, so haven't tested that, but everything else works. Please test! Tarball and patch attached.

rares’s picture

Status: Needs review » Reviewed & tested by the community

Works for me - I think there should be a 6.x branch based on this, and if further problems come up they can be addressed in separate issues.
As a side note, the po directory will have to be abandoned and replaced with the translations for the new files.

matt b’s picture

might also be worth including the following case in the nodeapi function:

case 'search result':
if ($node->authorship) return array('user' => $node->authorship);
break;

This ensures that the author is displayed in the search results where it has been set (in Drupal 5 I was handling this in the theme)

matt b’s picture

StatusFileSize
new11.36 KB
new416 bytes

patch to authorship,module so that views 2 node.authorship handler works with the latest release. I've also attached a complete tarball.

AjK’s picture

Status: Reviewed & tested by the community » Needs work

patch in #2 doesn't apply

matt b’s picture

try the one in #5

AjK’s picture

Status: Needs work » Needs review

Commited the tgz in #5 and created the DRUPAL-6--1 branch.

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/authorship/...

Please test this and if it's ok I'll do a release from that branch

spiffyd’s picture

Can someone clarify how I can create a "profile variable name" to replace what's being displayed without Authorship module?

I assume I would create a new single text field in the Profile settings for 6.x Drupal. What do I call this field? profile_VARIABLE_NAME?

juliekj’s picture

Is this branch (#8) OK for drupal 6 ??

has anyone tested??

spiffyd’s picture

Nevermind, my #9- I can confirm the tarball works perfectly in 6.x with no problems. Goto content type settings to choose profile variable to use.

rkeppner’s picture

I checked out the DRUPAL-6--1 branch from CVS for my site upgrade from Drupal 5, and everything works as it should. I'd love to see this as a release.

njehlen’s picture

This is working for regular nodes for me, but not for views. Is anyone able to get this to work with views 6.x-2.2 ?

I'm getting a Node:Authorship setting in the Views>Fields options, but it returns nothing. User:Name returns the username, not the Authorship.

MountainX’s picture

works fine for me. please release.

matt b’s picture

Issue summary: View changes

So, anyone now need to migrate this from D6 to D8?