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

secure site problem

Hi all,

I create two users on my website Drupal .
When I activate the module secure site and I check Enable HTTP auth, I have a Login window ( ok it's good)
But I have a problem, I can't login with the second user. The login with the administrator account ( the first) works.
I see the second account properties but he has authenticated user Role .
Someone have an Idea?

Thx A lot
See ya
SyN

How to create a new version of a contributed module

Hi all, I would like to creatre a new version (for 4.6.0) of my inline module.
For doinjg this, I created a new branch named DRUPAL-4-6.
Now, I would like to add a new release (4.6.0) on Drupal.org, but I can't find the way to do it.
I can olny edit or delete the actual releases (cvs and 4.5.0)
Can you please help me ??? I think I'm doing something wrong......

Thanks a lot !!

Matteo

$user->uid in hook_user for just registered user

I need access to the userid of a new user in the hook_user module on $op = 'insert'.

What I'm trying to do is have a custom form field on the registration form (*not* user edit pages as well), similar to profile.module. But I can't figure out from profile.module where they manage to get the $user->id from. I just get '0' rather than the new user's id... I presume because the new user hasn't got an ID yet.

my blog link

Under 4.5 there was a meny entry called "My Blog" which ever user that was logged on got that entry and that was a good thing for me.

I noticed after upgrading to 4.6 that this is no longer there, unless I'm missing something. I've comparied between 4.5.2 and 4.6 it looks like this was system generated. I don't find anything about this with a search of the site.

How do I get that functionality back?

Blocks lost when changing theme with $custom_theme

I'm going crazy again. When I change the theme using e.g.:

$GLOBALS['custom_theme'] = 'whatever';

... I get the new theme I desire... but I lose all page blocks (both right and left). I can't understand what's going on here.

Cannot use object of type stdClass as array in dba Module

Hi All

I am a drupal newbie learning fast, and am also new to MySql, having previously used Oracle. I have installed the dba module to help with looking after the database but when I click 'view' or 'check' to show the rows in a table I get the following error:

Fatal error: Cannot use object of type stdClass as array in D:\www\drupal\includes\theme.inc on line 652

For 'view', this only happens when there is content in the rows. If a table has 0 rows a page is returned

I have tried different themes but this has no effect

Pages

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