Did 2 quick submodules that use the current version of premium.

http://github.com/hefox/premium-submodules

If you want to do anything with them, here ya go.

Comments

Milan0’s picture

Awsome, i want to write a module for userpoints (or store credit ;)) based field access control.

But now i think adding functionality to the premium module would be a great idea, as most is already there.

I just need;
Per content type selectable field access control in admin:
- enable y/n
- settings for a different message per field (or even per field, per user role)
- enable userpoints y/n
- force userpoints default value or let node creator select
- default userpoints commission (for node creator)

Anyone interested?

Milan0’s picture

Hmm im kinda stuck

I created admin settings per field:

userpoints
custom message
commission.

Fields are saved, but how would i access their properties and set the node body accordingly.

I can't seem to figure out now how premiumfields only changes the body of the field in question, and shows the other fields!

Thanks

mikl’s picture

Project: Premium » Premium content
Version: 6.x-1.0-alpha1 » 6.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

I'd like to integrate these into Premium content, but I am not sure I understand how the cookie module works. Could you elaborate?

dsnopek’s picture

I took the code given here for marking fields as premium, fixed it up a little bit to work with the latest APIs and put it in a Drupal.org sandbox:

http://drupal.org/sandbox/dsnopek/1781770

If no one has any plans to publish this, either as part of premium_content or an independent module, I'd be happy to put together some docs and make it into a full project.

Please let me know if you object! If no objections come in after, say, a month - I'll go ahead and do it.

Best regards,
David.

hefox’s picture

I have no objections :)

dsnopek’s picture

I promoted premium_fields to a full project and created a snapshot release:

http://drupal.org/project/premium_fields

I'll flesh out the project page, create some docs and then make a full release soon.

esolitos’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)

Cleaning up issue queue: Version 6.x is not supported.