Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Any plan to port over to drupal 7?
Comment | File | Size | Author |
---|---|---|---|
#25 | node_field_privacy.tgz | 3.46 KB | robcarr |
#23 | cck_private_fieldsD7.zip | 39.77 KB | DrupalDesigner-1 |
Comments
Comment #1
Shadlington CreditAttribution: Shadlington commented+1
Comment #2
markus_petrux CreditAttribution: markus_petrux commentedSure, though I cannot tell exactly when I'll have the time to start playing with D7. Patches are welcome.
Comment #3
bryancasler CreditAttribution: bryancasler commentedsubscribe
Comment #4
jacov CreditAttribution: jacov commentedsubscribing
Comment #5
danielm CreditAttribution: danielm commentedsubscribe
Comment #6
lesleyfernandes CreditAttribution: lesleyfernandes commentedsubscribe
Comment #7
sw3b CreditAttribution: sw3b commentedsubscribe
Comment #8
bryancasler CreditAttribution: bryancasler commentedWhile waiting for this module to be updated I suggest looking at http://drupal.org/project/field_permissions as an interim solution.
Comment #9
andrebonfanti CreditAttribution: andrebonfanti commentedsubscribe
Comment #10
likewhoa CreditAttribution: likewhoa commentedsubscribing
Comment #11
MaxWesten CreditAttribution: MaxWesten commentedsubscribe
Comment #12
likewhoa CreditAttribution: likewhoa commentedupdating for better tracking.
Comment #13
halloffame CreditAttribution: halloffame commented@markus_petrux any progress?
Comment #14
vidra CreditAttribution: vidra commentedsubscribe
Comment #15
maxmx CreditAttribution: maxmx commentedsubscribe
Comment #16
fl3a CreditAttribution: fl3a commentedsubscribe
Comment #17
funature CreditAttribution: funature commentedsubscribe
Comment #18
likewhoa CreditAttribution: likewhoa commentedeuroba learn to follow instead of subscribing, see top of thread.
Comment #19
cjd400 CreditAttribution: cjd400 commentedsubscribing
Comment #20
POVYLAZZZ CreditAttribution: POVYLAZZZ commentedThis modules functionality may be mimicked using Field permissions and Conditional Fields modules.
Pros:
Cons:
Comment #21
DrupalDesigner-1 CreditAttribution: DrupalDesigner-1 commentedsubsribe
Field Hidden could be an alternative with a good Rules setup. But still not as streamlined. The main benefit for using this module is it's integration with User Relationships module, since as you said field permissions alone can be achieved with other modules in D7. At the moment there is no D7 equivalent that integrates with User Relationships, hence the need for a port.
Comment #22
DrupalDesigner-1 CreditAttribution: DrupalDesigner-1 commentedI am doing my best to port this module to D7 myself, but as I'm not a programmer I could really use some help. I have the module at a stage now where it can be enabled without any errors but I am running into some problems when trying to create content. If you would like to help out please help answer my questions on Drupal Answers. Thank you and looking forward to having this out for everyone who needs it.
Comment #23
DrupalDesigner-1 CreditAttribution: DrupalDesigner-1 commentedUpdate:
The module can now be installed/enabled without any problems, but when trying to create content causes a PDO exception on line 49 of the common.inc file (cck_private_fields\includes). I have tried with a few others from the Drupal community to work this error out but haven't been successful up to this point. I'm uploading the full module at it's current state here for anyone else to have a look at and provide help with. For someone who knows what they're doing this shouldn't be too hard, but since I'm not a programmer I can't really do any more on this until the error is resolved.
Comment #24
kenorb CreditAttribution: kenorb commentedAlternative modules:
http://drupal.org/project/field_permissions
http://drupal.org/project/user_field_privacy
Comment #25
robcarrFor anyone that's interested, I've put together a lightweight D7 module based on the User Field Privacy module, but tweaked for nodes. It doesn't have the 'buddy list' integration as offered in the D6 CCK Private Fields, but seems to offer the rest of the functionality needed. Hope this helps someone out.
I'll attempt to contribute it as a module to d.o, to see if anyone else can improve it (I'm already out of my comfort zone). If I fathom it out I'll post the link to the new module, or a sandbox and you can post issues relating to the attached module there, rather than on this queue. Any further comment here should be concerned with a direct port of CCK Private Fields to D7 - such as a review of DrupalDesigner's code (I had a few clashes with the dependent modules, so didn't really want to follow it up).
Comment #26
robcarrAnd here's the sandbox relating to post #25: http://drupal.org/sandbox/arrrgh/1868908
Not sure what trouble I've unleashed for myself here... but - as they used to say in Rome - If you attempt nothing, you will rarely fail
Comment #27
kenorb CreditAttribution: kenorb commentedVersion 6.x is no longer supported due to Drupal 6 End of Life.