Would it be possible to limit a user to being able to create only one node of a designated type per taxonomy term?

CommentFileSizeAuthor
#14 node_limit_term.patch7.44 KBDocc
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

davedelong’s picture

Yep, that'll be possible. It'll require a different submodule, but the capability is there.

davedg629’s picture

I would be interested in this feature too.

davedelong’s picture

Version: 6.x-1.x-dev » 6.x-0.2
Component: Miscellaneous » Code
Assigned: Unassigned » davedelong

Consider it on the list of things to add, after organic groups, time intervals, and time frames (each one takes me about 2 days if I'm familiar with the other system).

Dave

Dries Arnolds’s picture

This would indeed be very welcome.

It would also allow people to restrict the number of forum topics in certain subforums, since the forum module uses taxonomy for it's structure.

rbl’s picture

Any news on this?

Thanks in advance!!

Ricardo

davedelong’s picture

Yeah, sorry, I've been totally swamped with other stuff. Is anyone interested in co-maintaining this with me?

Dave

MrVee’s picture

I am really interested in this feature too. Any update on this yet?

mansspams’s picture

+1 for this one

nikitas’s picture

it would be very helpful indeed!

DuaelFr’s picture

Version: 6.x-0.2 » 7.x-1.x-dev
Assigned: davedelong » DuaelFr
Status: Active » Needs work

It might be an interresting functionnality.
When the other stuff will be ready I will look at this.

Waen’s picture

+1, would be a very very usefull and interesting feature!

Docc’s picture

Ill give it a shot as ill be needing this functionality

DuaelFr’s picture

Wonderful ! We are waiting for your patch ! :)

Docc’s picture

FileSize
7.44 KB

k first try. Workday is over so ill pick it up tomorrow :)
Did not test the node validation yet but the admin part is there (its a autocomplete field btw, needs additional validations though)

mgladding’s picture

I'm hoping to test this out over the next couple of days. Any word on how it's working for anyone else?

Thanks!!

mgladding’s picture

One observation while testing out the term patch. When I try to create a node limit and check the "term" option and enter a term, the form does not save the term. If I edit the node limit, the term field is empty. The node limit saves - just with no term input.

DuaelFr’s picture

I tried to fix this module this morning but it is not as simple as I expected to with Drupal 7. I have some other things to do then I will try to solve the different issues I pointed. I hope this won't be too late...

mgladding’s picture

I just want to say "thanks". I am only a designer and rely heavily on the help of talented and committed Drupal developers.

I am in a hurry with my current project, but I may have found a work around. I'm excited to see how this feature work out!

Kiorrik’s picture

Interesting. Sub.

Liliplanet’s picture

that would be wonderful DuaelFR if you were available to complete the patch, and thank you :)

Kiorrik’s picture

Any progress at all?

DuaelFr’s picture

Not yet, sorry.
The good news is that the taxonomy_index table is back so it will be easier than expected.
I hope to have time soon.

Lennart5’s picture

Any updates on this yet? Would love it!

DuaelFr’s picture

Assigned: DuaelFr » Unassigned

Not yet.
If some have more time than me, patches are welcome.

AncientSwordRage’s picture

Issue summary: View changes

Any updates? This is exactly what I need!

drummondf’s picture

UPDATE

I was able to use https://www.drupal.org/project/unique_field to create this functionality

This allows you to perform an AND function and use multiple fields as unique identifiers to prevent duplicate content from being created, including Author as a parameter.

Cheers!

abarpetia’s picture

Agree with @drummondf. Unique field module is workaround to create only one node with designated taxonomy term value.

@DuaelFr, not sure whether you still like to have this feature but if yes, then am happy to work on patch.

DuaelFr’s picture

Hi @abarpetia, to be honest I'm not really maintaining this module anymore. Some people came to me for co-maintainership but it seems they does not have mutch time either. I still think that the module needs a complete rewrite but if you want to work on a patch you're still very welcome. The best contributions we can do are the ones that we need for some project ;)