Drupal 6.x

Content type for user role assignment or other criteria

moshebeeri - December 16, 2009 - 09:50

I would like to create a content type with a view that will allow users to create and subscribe to an instance of the content type according to their role (og membership) and/or any other criteria.
for example consider the 'Software Project' content type that will be created and set up to get started iff there are two PHP programmers and one OA persons subscribed to the instance, and if there are founders of the amount of 1000$.
I know how to set up the content type fields and how to create the view with general search using the wonderful views interface, but I do not know how to set up the search so it will provide results to match each user role, so a PHP person will search only projects that require a PHP person and there is at least one that is not already assigned. the same for the scalar property of the founding.
I googled a bit but I could not fined any way to assign roles for content types and I do not know if there is any way I can define a field in a content type that is accumulating results from users.

I will appreciate any suggestion and ideas as I am kind of new to Drupal and do not really know PHP (but I am willing to try :-).
I need it for other type of projects that require collaboration but i found the need more general, it can fit for open source projects such as Drupal as well.

Thanks allot,
Moshe Beeri.

OG module group member listing view gives 404 unless already group member or admin

scott.whittaker - December 16, 2009 - 09:26

I'm using the OG module version 2.0 and a custom group member listing using views 2.

The listing is a page display in a sortable table style with the path groups/%/members where % is the nid of the group node. The view adds a Relationship with user Content Profile node, so that member listings turn the user name into a link to the user's public profile. There are additional Fields for other columns that show the listed user's Group roles and admin links to change the user's admin status or leave the group.

This listing view works great - so long as the user viewing the listing is a member of the group, or is a Drupal admin. Other authenticated users who are not members of the group, and anonymous users get a 404 page.

Under basic View settings Access is set to Unrestricted. Under Permissions I have granted "node: access content", "user: access user profiles" and "views: access all views" to every role - including anonymous users - and additional access to authenticated users.

I have no problem accessing the list of groups, and I have no problem accessing a very similar view that lists a particular content type belonging to that group. It only seems to have trouble with a listing of users, and I can't figure out why.

I can paste the exported view if that will help. Thanks!

Display Certain Content Type

bogeyman - December 16, 2009 - 08:33

Hi, I'm new in Drupal. What can I do if I want to display list with certain content type with menu? For the example, I want menu to show the list of content which has the 'story' type.

Thanx

Can I make a calendar display bigger than the content area?

miasmo - December 16, 2009 - 08:23

I am using the calendar module with views and CCK to make a monthly event calendar.

My problem is that the Zen subtheme I am using has a content area that is too small. The event info wraps mid-word because the boxes for the individual days are too small. Does anyone know of anyway to allow the calendar display to expand larger than the content area? I can remove the blocks in the right sidebar for that page only, so that the calendar would not overlap anything. Is this possible?

Thanks.

Multiple Creation

abou rokaya - December 16, 2009 - 08:13

hello,

i'm searching for a module that allow me to create more than node in one forms...

when i go to node/add i want it to contain more than field to title, and more than body also more than path setting and...

it's very helpfull for those how developp a school web site because it's very difficult to go to node/add (n times) for (n student)...

avoiding creation of new user (assigning ID) before email is authenticated?

zblace - December 16, 2009 - 07:58

Hi All! I was wondering if it is possible to avoid creation of new user (assigning ID) in Drupal before email of given "applicant" is authenticated?

So process would be:
#0 apply for account with email
#1 email sent by Drupal
#2 user gets a link
#3 when link is requested Drupal forwards request to a full user registration form with assigned User ID

Thanks for any guidance!

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.