Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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?
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).
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.)
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.
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.
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: