Hi,

I am unable to find the filter of views according to author of node.

I can only find Author of comments.

Are this 2 the same?

Thanks.

Comments

merlinofchaos’s picture

Status: Active » Fixed

On a 'node' view everything under 'User:' refers to the author. The term author can't be used here since there are other view types where 'Author' is completely inappropriate.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

bjste’s picture

I have the same problem right now and I do not understand what you mean.
I can't use the "Node: User posted or commented" caus I only want to sort by who posted the news.

How can I do that!? Please help!

ionmedia’s picture

Assigned: Unassigned » ionmedia
Status: Closed (fixed) » Active

same problem

i have node type "typeA" and each user can create node of this type only once
i want to display block for each user with views like:

"You already have this node, created by you at [node:date] with fields [content:fieldxxxx].
You can't create another node of this type"

and link More>> to go to the full page of this node

if user don't have this node view will be empty and we can display him another data with instructions for creating his node of this type.

for this idea i done:

1. new view with block
2. select fields for displaying in block
3. filter by content type, publishing and other options
here i want to add filter for displaying fields only from those nodes, what created by viewing user, but i don't see this filter, i can only input static user name in text area.

how to filter nodes by author = current user?

maybe using filter fo displaying only nodes with [node:author id] = [user:id], but i don't know how realize it.

many thanks for any help

dawehner’s picture

Status: Active » Fixed

use the "user: current" filter.

ionmedia’s picture

i want to close issue, because find same answer.
thank you, dereine, for your support

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

optidel’s picture

use the "user: current" filter.

That definitely isn't very obvious. The previous way was more user friendly.

tinny’s picture

Status: Closed (fixed) » Fixed

How to filter depending on the author of the node (D6):

For block:

1. arguments
2. User: Uid
3. Action to take if argument is not present: Provide default argument
4. User ID from URL

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

klidifia’s picture

Excellent! Thanks.

lydialitt’s picture

I'd like to filter by the user that's currently logged in - want to bring up all nodes where the current user is the author. I'm not seeing a filter that refers to the current user. I'm using D7. Thanks for any help.

dawehner’s picture

Just add a user: current filter.

tinny’s picture

In d7, I think you have to add a Content:author relationship first before you can use the User:current filter

dawehner’s picture

OH right.

Well it's kind of a problem if you rely your answer on the version-property of the issue :)