This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Ldap module w/Active Directory

I was unable to get the ldap working with the latest version of drupal. I have been creating my own. I have ldap working and the ability to return if a user exists and verify the password. The problem I have is how do I create a user in drupal in PHP? I looked at several other modules and the code looks like below:

adding additional account information

Hi Folks

I am currently looking at writing some drupal code that will allow a user on his 'account information' page
,ie Home > user account > Paul, to select an emoticon icon that will be attributed to his account and will be displayed
at various positions on the page such as under Online users.

Can anyone offer any guidance in getting started in particular

1. How is the various content on 'account information' page generated
2. For example how/where would i find the code that generates the Online users content.

New Module: User Points

A new module, User Points has been uploaded.

Users gain points when they post info to the site, such as posting a node, commenting on a node, or voting on a node.

The site admin defines how much points a user gets on each event.

More on the User Points module.

New Contributed Module: Node Vote

I just created a new project for the Node vote module.

It allows users with the appropriate role to vote of nodes, assigning each a score from 1 to 10. By design, users do not see the score for a node untl they have voted but that could be changed if needed.

More in the Node Vote module.

Access Control and Search in module design

I am making some design decisions for a module I am working on, but I don't know enough about Drupal access control to make the right decisions...

Briefly, I want to be able to prevent anonymous access to some content generated by my module, but allow anonymous access to other content. I also want to have a search function operate on my module.

Loading node->nid

How do I get access to my node id? I have a custom table which I want to link with the main node id that is part of all served drupal pages.

I see lots of function calls with ($node) or (&$node) in them but that presupposes you have a pointer to $node. I also see several hooks like _insert, _update, _load with access to $node but adding those hooks to my module doesn't seem to help.

I'm not sure when they get called or how I could pass the data to my receive hook.

thanks

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions