I need some suggestions please.

Here is the outline:

I have a "Newspaper" Web Site, there are 4 counties within usable reach of this site. When a user registers I would like them to register for their county. Now, If another user registers from the same county, they are in that "counties group", say County-A. Now User number 3 comes along and registers, he is from County-B.

Now we have three registered users and an admin. 2 registered user in County-A and registered user in County-B.

THE QUESTION: Can I keep County-A and County-B registered users content seperated from each other yet still allow Both Registered users in County-A see each others post, blogs, etc. (like a colaborative group).

Looking for suggestions . . .

drupl'n4him

Comments

Bertrand_Lefort’s picture

Hello,

This is just beginners ideas, take what you think is good, I try to help :

I think that country is not in the user table, but in another table ( profile, I think).

1) Why not creating a module that would display an additionnal country-specific block when user register, it could be a first point. You may redirect them to the approprieate page. I do not know if profile are stored in a variables or if you need to make a SELECT query to obtain it.

2) Why not using taxonomy to select news
taxon 1: country A
taxon 2 : country B
Then you can sort by A, B or A+B

Hope it helps

t4him’s picture

Thanks for the suggestion Bertrand,

This is a bit of a stretch for Me (beginner) though it sound like it would work. Did you see Dan's post below? Look at his site, it works just like I was expecting.

A side note: I am working with count ies not count ries . . . ;-p

Go figure, so close yet so far away (just a little pearity there).

Anyway,

Thanks for your suggestion

and Please, keep up the suggestions and the Post, THIS IS WHAT MAKES DRUPAL STRONG!

It also give users, like myself, confidence in the product (Drupal) and the community (forum) knowing that guy's like You and Dan and others are out there supporting it (Drupal).

God Bless Bertrand,

drupl'n4him

Dan McDermott’s picture

I would suggest you simply divide the content into different sections accessible by all users since the countries are in the same region and you may have interest by some users in more than their own country. But by splitting stories into sections you could easily allow users to view content about their country of interest. By NOT limiting what viewers can access, you will lengthen the time they are on your site and benefit from increased potential ad revenue.

You could use the profile module to allow users to select their country of origin and users viewing profiles could do searches for others based on that country. Feel free to create an account and then select my account/edit to see how I implement the profile module.

If you look on my site and "view profiles" you will see that their locations (and many other selections) are links to view all users in that location.

If you look at my menu under sections, you will see that I select a different section for each story but people can also view all content down the center column. This is good because some people just pop in your site and want to see the latest stuff added and then move along.

Good luck!
___

Warren County, Virginia News & Networking: http://warrencountyreport.com

t4him’s picture

This is what I was looking for. I have not even worked with the profile module since installing Drupal (my-bad!).

There are Sooo many options out there for 'recipes'. I have tried to limit myself to save from "Module-OverLoad".

My head is swimming with Ideas, my fingers are numb from typing, and the "Information Overload" is kicking in.

I scoure(?) these forums daily for ideas and such.

Your Web Site is exactly what I was looking for, and I picked up a few more Ideas along the way ;-).

This community is Great!

Thanks Again Dan and the other who have helped.

smokey-1’s picture

just ran across the organic groups module recently. i haven't tried it myself, but it sounds like it could do your thing:

http://drupal.org/project/og

t4him’s picture

Yes, I saw this also, but . . . It looks kinda scary for a beginner. I have several iterations of Drupal installed on my home computer. I am running Windows XP, Apache, PHP-5, MySQL-4.0 and of course, DRUPAL 4.6.5.

I will make another site and dedicate it to this 'Organic Groups' Module and see how it behaves. It does have promise.

Thanks for the Help smokey!

drupl'n4him