405974 Custom CCK Field Type (Drupal)

In Progress Posted Apr 11, 2010 Paid on delivery
In Progress Paid on delivery

We are building a web back-end for an RPG game, and have need of a custom CCK field type.

Our project allows subscribers to build their own RPG games by creating inter-related content types. Each game's basic settings (leveling speed, etc) are captured in one content type (called a Realm). Site members have one Profile content item for each Realm in which they play (which reference both the Realm and the user using node and user refs).

In each profile are several integer and decimal fields which hold the player's stats (fed and retrieved from the system by third-party software using Services).

In this system we have typical RPG skills (lockpicking, diplomacy, etc). Each skill has its own field in a player Profile (field_profile_lockpicking = 5, field_profile_diplomacy = 12, etc.) We'd like the creator of the attached Realm content item to select which skill fields appear in Profiles connected to that Realm.

What we need is some way to hide skills that the Realm content owner has decided not to display from appearing in Profiles connected to that Realm. If, for instance, Lockpicking does not apply to a particular Realm, the Realm content owner should be able to prevent it from showing up in any Profile that references that Realm (so field_profile_lockpicking would default to 0 and would not be displayed to the end user).

We're open to considering any method that allows Realm content owners to select which skill fields show up on a Profile.

We want all work to be done without modifications to existing modules. The final product should be its own installable module and come with complete instructions on how to implement. We're not useless when it comes to development, but we're also not Drupal developers, so we need a certain amount of explanation.

Drupal Odd Jobs

Project ID: #2151834

About the project

Remote project Active Jul 11, 2012