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

Assign Role To new registered user based on e-mail

Is there a way to change access rules so that if a certain e-mail goes through during register it automatically puts them into a special role?

I am a php programmer and I would be willing to code this myself but I am new to the drupal system.

OG groups - limit # of groups based on role?

Hope I post this in the right place. currently, I am using mambo/Joomla and WP on various sites and evaluating Drupal for future use and maybe porting older sites.

So far so good!

I am particularly interested in Organic Groups functionality. I am playing around with it now on a test site, and one thing that I don't see is a way to limit the number of groups a user may create, probably based on the user's role (but other ways to do it would be OK too).

The basic idea is

fapi help needed

Hi there,

I've run into som problems with the forms api which I need som help solving. I want to create a table where each row is a form with radio buttons and the table should also be sortable by column. You can see a screenshot here. The page renders ok now but I cannot submit the data. The submit always uses the old database values (I guess the reason for this is my hack in the theme function). It also looks like there is only one form on the page. Not one per row as I think would be a cleaner solution. In the future I want to remove the submit button and use some javascript to submit each row if the user changes the value of the radio buttons.

This is what I have tried so far. It's really ugly...:
This is the main part of the function called from drupal_get_form()
<?php
// I want six columns
$options = array('', '', '', '', '', '');

// first fetch the objects
while ($data = db_fetch_object($result)) {
// Build the form elements
$form[$data->nid]['title'] = array('#value' => l($data->title, "node/" . $data->nid));
// Is this the right way to group the radio buttons?
$form[$data->nid]['foo'.$data->nid] = array('#type' => 'radios', '#default_value' => $default, '#options' => $options);
$form[$data->nid]['submit'] = array('#type' => 'submit', '#value' => t('Save'));
}

Truncating Userlist names???

What was the reasoning behind truncating the user/member names in the User list? Are there plans on changing this?

SoftSource

Jow, I library-module will gladly have for in drupal.. Can you can help me here with? What it must contain: a form for something to add to the library form contains: Name soft/driver type of software/driver which linux ox version no. description the biobliotheek: opgedeelt must become in several parts Drivers/software and then types still several software: Communication.. all those types if you click on a name of a software on drupal must you that description get and the possibility have to give up comment there.. Please me further to help with I am newbie!

Need an e-commerce 5.x-3.0 SECPay module

Picked up on a post that another user (cinquetooty) had a modified WorldPay module that worked with SECPay. I contacted him and he gratefully supplied the modified module. I had problems installing it, realised that I needed secpay.info file for it to be listed and after successfully getting it listed and enabled I found there to be no settings page. It was then that I found that it had been set up for 4.7

So now I'm back to the start although I know that the WorldPay module can be modified to support SECPay.

Pages

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