Write protecting user profile fields in Drupal 7

I'm new to Drupal, but good with SQL and PHP. I'm running drupal 7.9 (I'll upgrade to 7.10 this weekend) with a bunch of modules including; views, fileds, and profile2. This site is for my local homebrew club, and I've added a new field to the account settings to indicate the latest year that club dues have been paid by this member. Obviously I don't want a user to be able to change this on their own. How do I lock this down so it can be seen, but not edited by the user in their user page?

Thanks,
Kevin

Beginner Needs Help Starting

Hi,

I am exploring using Drupal but am not sure if I can use Drupal to accomplish my goal. I develop eLearning materials, and each eLearning lesson can be exported to 2 files (a content file, with an ILM file type, and an HTM file).

I would like to set up a payment system so that my eLearning lessons can be sold using a PayPal link (if you make the micropayment for a specific lesson, you are returned back to the lesson and can view it).

Strange '#default_value' behaviour in tableselect

Hi everyone,

I'm writing my first drupal module (using V7.9) , so not surprisingly I'm banging against walls all the time :) but up to now I always found a solution on the net somewhere thanks to all of you. However, this time it looks like I'm totally stuck. I need to present a 'tableselect' widget with all checkboxes checked. (Basically it's a confirmation page for node-revisions that will be deleted, and gives you the chance to uncheck some if you would want to keep them.)

Unable to finish installation Drupal 7.10

I have installed Drupal on my webserver, however, the installation can't be completed. When I finished the last questions in the installation program, I'm receiving a fatal error message which says the following
Fatal error: Call to undefined function field_attach_load() in /home/.../domains/.../public_html/includes/entity.inc on line 320

I have re-installed Drupal for many times now, but I'm still receiving this message.

Can anyone tell me what I can do to solve this?

Thank you.

Wesley M. Dekker

What is wrong with this code please?

Hi,

I am trying to deduct userpoints from a user if they are inactive using rules.

Event: user logged in

Condition: php: return intval((time() – $account->access)/60) > 3;
(this should allow the user 3 minutes interval where if they log in they will not be penalised)

Action: grant userpoints -30

It all seems fine to me but isn't working for some reason.

Can somebody point out the error please?

Thanks,

Shaun

Custom profile display issues - order display is wrong, is this a bug?

Hi there,

I am doing a very basic change to add a few custom fields into a drupal 7 install - here is my custom user profile page, a screenshot can be seen here:

http://www.evernote.com/shard/s2/sh/32e66f64-f8ca-4fb4-9363-567881841a64...

you can see the order should be:

- company name
- first name
- last name
- website
etc

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x