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

Disabling email/username change

Hey guys,

I am trying to make a module that will prevent users from changing their passwords/email address/user names.

I used an unset on these feilds with a hook_form_alter.

because of this, you will get an the error :

* You must enter a username.
* You must enter an e-mail address.

if you try and adjust anything on the same page (sig, contact, user roll).

I tried using a hook_user function like so:

Why isn't a comment just a node?

I'm working on a custom module in which the primary node is a product name and supporting info (manufacturer, year released etc) and the comments are actually reviews of the product. But I want the comment to support more than just text.

For example, I'd like to allow people to attach photos of themselves using the product. We already have this in other nodes via hook_form_alter. It would be great if I could just insert that in the existing comment form rather than creating a new form from scratch, which will also need to mimic comments' threading.

Can't work out how to sign up

I have written some modules and I would like to share them with the rest of the community. I can't work out how to sign up as a module developer to gain access to CVS and the 'my projects' section.

Any help please?

Thanks

Matt

CCK as private user information

I have created a custom content type for a user profile that needs to private per user or public if the user chooses. Is there a way to do this. On the access control there is only create and edit which each user needs to be able to do.

Help with CCK! "Existing fields" not showing!

Howdy,

I just created four new fields for my brand-new CCK content type, but none of them shows in the 'Add existing field' dropdown menu on top of the 'add field' tab, neither they seem to be present as tables in my database...

How does exactly CCK handles new fields? Does it really create one table for every new field name, or it does that only for the *first* field of a certain type?

I also posted this as a bug for now, because i believe anyhow those fields should show up in case i need to re-use them..

Project page and CVS connection

Ok, I finally took the plunge and contributed a module. I created a project page (http://drupal.org/project/niftycorners-module) and the code to CVS but do not have a download link for the module on my project page and was wondering what I need to do to make this show up.

Pages

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