Hi,

I have installed drupal on my main site (http://otg.com),and i have registered my first user as admin(by default they have admin role).Then i have created two users (say test1,test2).What i wanted to do is to diffrentiate the content for diffrenet users.

For example if i logged in as "test1" my theme,content,posts,blogs should be kept as private and when i logged in as "test2" i cannot see the postings ,themes ,contents of "test1" and "test2" have thier own contents.

Consider yahooo geocities as example.In there the repository is same but multiple users accessing different content.I need same kind of scenario in drupal (ie content separation based on users).

How can i achieve this? I don't want to use sub_domains or $db_prefix because if there is n number of users it will duplicate the drupal schema for n times(ie n * 57 tables).Currently i am using drupal 4.7 with apache 2.x and mysql 5 on windows XP.Help needed very urgent

Regards,

Nagarajan.L

Comments

chlobe’s picture

I have not yet installed it but the mysite module sounds like it could be a good baseline for that type of functionality

http://drupal.org/project/mysite

From module description:

"MySite pages are designed to let users create a personalized summary of the site. As such, the MySite module duplicates the functionality of tools like MyYahoo! and Google's personalized homepage.

The module allows registered site users to create a MySite page that contains content from throughout the site. For sites that use the Aggregator module, users may also add feeds from external web sites to their MySite pages.

MySite was written using an API/Plug-In model that allows the core module to be extended to handle additional content types. At initial release, the following types of content are supported by MySite:

- Individual RSS feeds handled by Aggregator
- RSS feed categories handled by Aggregator
- Blog posts by individual site users
- Forum topics and content
- Content assigned to taxonomy terms

The intent is for the core MySite module to handle core Drupal publishing frameworks. MySite also supports translations."

michelle’s picture

It sounds like what you want is OG, where each user is a "group".

I don't think mysite would work. From the description, it sounds more like just personalizing your front page. No access control involved.

Michelle

--------------------------------------
My site: http://shellmultimedia.com

nagaral’s picture

Hi,

Thks for your reply,but that is not what i am looking for,When i login as "test1" i have the following user_defined menus such as "Notify Me","register Me" etc.But when i logged in as "test2",I should see the same menus but with different contents eg)

"test1" ---->"Notify Me"------>Selected topics like abc,def for "test1"
"test2" ---->"Notify Me"------>Selected topics like xyz,pqr for "test2"

Now how can i achieve user based content segregation using drupal.You immediate response would be really appreciated

Regards,

Nagarajan.L

agentrickard’s picture

User specific menu items are typically handled by the module, so you may not be able to do that quickly. (It would require changes to the modules themselves.)

Read up on Roles. http://drupal.org/node/22275. Perhaps show different menus to different roles.

You might also write a custom PHP block that displays the menu items you want, how you want. Then turn the default navigation off.

You may be able to do what you want simply by defining your user roles and access control rules.

Test the core features before trying anything else.

--
http://ken.blufftontoday.com/
http://new.savannahnow.com/user/2
Search first, ask good questions later.

fluxrider’s picture

This is easily achieved using taxonomy and categeries and taxonomy access. These take a bit of learning but once you click with them all is possible. You assign roles to every user , and every node has a category assigned to it . At my site , non registered users see only uncategorised nodes , while registered users assigned say group1 see certain forums , blogs and books while group2 see different forums blogs and books.

Best bet is to print out the taxonomy and category information available here and play with taxonomy, categories and taxonomy access . This will do all you want without having to install other modules.