D7 how to attach fields to role?

I need the ability to attach fields to users (different depending on their role). For my use case I have a company and job role, each require different fields on their user accounts.... What the best way to do this?

directory permissions

:(

How to do custom field validation?

Hi,

I'm busy with Drupal 7 (awesome!) and I'm tinkering with content types. I'd like to create a content type field that accepts dutch license plates, which are in the form of XX-XX-XX or XX-XXX-X.
X is always uppercase alphanumeric.

How can I validate if it's posted in either format?

Thanks,

Dennis

Drupal 7 Installation - MySQL gone away

When i try to install Drupal 7 i get this error:

(SQLSTATE[HY000]: General error: 2006 MySQL server has gone away)

Versions:
PHP 5.2.13

[...]
max_execution_time =60
memory_limit=128M
[...]

MySQL 5.0.90 (mysql, not mysqli, not innodb)

I modified my MySQL as followed but doesnt help:

User prefered languages

I'm creating a multilingual social network and planning following functionality for i18n/l10n:

Users have the list of available languages on their account editing pages. This list is divided into two parts:
- Interface language
- Content languages
While the former meaning is evident, the latter having plural in its name and is going to be used actively by every View to filter out nodes which language is not in the user's list.

Is there ready to use views handler for this?
Is there a module implementing user prefered language feature described above?

OG: how to create a node INSIDE a group?

I created a content type and set it to be a groups content. Now when I create a node of this type its allowed to select a group to where the node be bound. But I don't want users to be allowed to do so - if they ARE on the group's pages (viewing other nodes of the group) they shouldn't be able to select group again.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x