display all item refere by nodeaccess_userreference module - drupal

i use http://drupal.org/project/nodeaccess_userreference for refer node user to user.
users can see title of node in the box in my account but display all node i want expire node in boxes in my account users or
how to create views and show title of node with filter by user reference and expire in special time
thank you

Uph... you need to be more clear.
Regarding the expiry, you can use Rules and regarding the view I was not able to get your requirement.

Related

Create a drupal 7 view for a content type created by all Author which was followed(flaged) by current user

I am using "Flag Follow" module for Favorites(follow) a user. I am following the users well. But i would like to create a view of a content type(blog) which will show all blog post list of those users which is followed(flaged) by current user. Please help me !
You must use a contextual filter to get the uid from URL and to add a relationship with followed users. After that you will be able to show content related with followers.

Add content for particular users based on profile variables modified by User admin

I have a role, called User Admin. User Admins administer registered users. I want the User Admin to be able to tick a box so that particular users see additional blocks on particular pages. Is the best practice way to do that to add a variable to a user profile, and then use Context to check that variable and display the block if it is set/true?
How I do add a variable to a user profile without the user themselves being able to modify it, but only the User Admin?
Isn't that exactly the sort of things that Organic Groups should be able to handle?

How to control when to show the delete's link in the view according to user 's identity

I created a view with many fields of one node type, one of the fields is the delete link, but I just want to show the delete link only to the author of this node, those who are not author should not see the delete link
How can I do it?
If you have permissions (admin/user/permissions) set up so that only the author of the node can delete it, Views will automatically recognize that and hide the delete link for users without permission to delete the node.
In short: Make sure your permissions are set correctly at admin/user/permissions

limit drupal view to show only nodes created by user

I'm using drupal 7. I created a view for displaying nodes of a specific content type (e.g. products). When viewing the page, I want only those products displayed which were created by the user (currently shows all products).
I would like to do it without using a url filter so the url would be simply:
/myproducts
Use the filter "User: Current". If that doesn't work, try with a relationship
With the Advanced Help module you can see "Example to filter content by the current logged-in user": http:// yoursite /help/views/example-filter-by-current-user
And there said:
Creating the relationship
In order to have access to the author of the content, it is important to create a relationship between the current content type, and users.
Under Advanced in the right column, select add next to Relationships.
Select Content: Author and click on Add and configure relationships. Leave the settings as they are and click on Apply (all displays).
You now have access to the user data related to the content you are viewing.
Filtering the view
Now you need to filter the view to display only content authored by the current user. This >data is now available for the content because you have created the relationship in the step >above.
Next to Filter criteria click on add to add a new filter to your view.
Filter the list of fields by selecting User next to Filter at the top. You now have more >fields than before due to the relationship you created.
Select User: Current from the list and click on Add and configure filter criteria.
Since this field is only visible due to the relationship you created, author will already be selected under Relationship. This shows that the relationship you created is being used for the filter field.
Select Yes under Is the logged in user, and click on Apply (all displays).
If you have authored content of the type Blog Post, you should now see a list of those posts under the preview section at the bottom.
Saving & testing the view
Here's what I used to make it work.
Under relationships, add content:author
Under contextual relationship, add user: authentication name and relationship: author (or whatever you called your relationship).
And if you want to be even more sure, add to filter: user current and add relationship.

How I can add "files available for download" to Drupal user profile page

first time here. I have searched all day for my particular issue with no luck.
I have users that have specific roles auto generated (they purchase a game). I want to display files available to their particular role on their user profile page. I just want to know how I can add a generic view or associate a panel with user profile pages. I want this to display for every user, not on a per user basis. Basically it'll act like, say, direct2drive, you log in and go to your user profile basically and see what games you bought. Seems simple but I am having a heck of a time figuring out how to do this.
I am pretty used to using views but I just don't get how to edit the user profiles like I want to.
Thanks!
The simplest way is to install views_attach, and create a view with a Profile display. This displays the View on the user profile pages, rather than on its own page or in a block, and will pass the user's uid to the View as an argument.
Alternatively, if you're already using comfortable using panels, you can go to admin/build/panels and enable the Users panel. This replaces the user profile page with a panel, which you can add views, nodes and blocks to as normal.

Resources