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

Multi-sites, shared database...

Okay, this may sound crazy, but there's a logic.

I need to set up multiple instances of Drupal. Easy enough. Drupal makes that simple. HOWEVER, I also need the different sites to share the information. Before I continue I should explain the goal.

My website (www.dreamsfade.com) is for a small, independent record label. We want to manage all of our artist's webpages in a way that will easily let them update content about themselves. We would like for the sites to share a user database, so that users won't have to sign up for DreamsFade.com, Archangel.DreamsFade.com Ethos.DreamsFade.com et cetera, they simply sign up for DreamsFade.com and they are done. Another thing: we would also like for the sites to share articles with the main page. The idea is simple: each band will create news articles about themselves which will appear on their pages, however all of the artists' news will be combined to create a news section on the main DreamsFade.com page.

So I need to find a way to set up my main site to share it's user data with my sub-sites. I also need to make my sub-sites share their news articles with my main site. To top it all off, I need to create a page that will allow me (the admin) to select which users are our artists and hence get their own sub-site, and automatically create the files for that sub-site. Users that are not our artists should only be allowed to view pages, comment on things and participate in the 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.

Pages

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