By fumbling on
I'm using the tracker module for "recent posts" so that authenticated users can look at their own posts as "my recent posts." I was able to make the slight adjustments to the view so that it recognizes an auth'd user and surfaces their posts accordingly. But I don't want anonymous users to use it, as when they click "my recent posts" they see all posts on the site. Is there any way to set permission to tracker so that only authenticated users see the "my recent posts" link?
Comments
ditto
I too would like to know how to disable "my recent posts" (Native Tracker module) for an anonymous user.
I have the same issue my
I have the same issue my recent post tab is showing but when i click its giving me a 404. Tracker is added via views. I think we may get a response if we post this under views module's issues.
Custom view
i think that's what u r asking is possible via a custom view.
If for example you add a view with nodes e.g the recent_posts with view type (node)
then u can add the fields you want.
e.g
views
add view
node
View Name->recent_posts
View Description->Recent Posts
View Type -> Node
Fields
Add field
Node Title ( link this etc )
Node New Comments
Filters
User :Current
Sort Criteria :
Comment : Post Date -> Descending
And whatever else you want.
The key is then to add a "custom page" e.g www.mydrypal.com/my_recent_posts <- recent_posts
and then a "custom" link via the menu admin system .At the left login block menu (Blocks User Login ) you put your new custom link there.
plus you can still leave "tracker" enabled for other purposes.
Doing something like this u can then have custom pages for everything.
e.g
my recent posts
my recent comments
etc.
Thanks for the tip nikitas.
Thanks for the tip nikitas.
anytime!
u r welcome.
Hey I tried creating a page
Hey I tried creating a page from a custom view to display all the current logged in user's comments. It doesn't work. You can filter by current:user but when you do that it filters only by current user's nodes not comments.
When you choose 'comment' as the view type and not 'node' you do not have an option to filter by user:current.
try from node field type as before
NOT comment . . . at the FILTERS has the option of new comment or something like that.
I dont remember exaclty now.and if you go farther with views->arguments you can make it more complex.
yeah but what im saying is
yeah but what im saying is there is no way to display only the current logged in user's comments.
Thanks for all the help man!
I love Greek food BTW, Gyros is my favourite! ha ha!
sorry my bad!
i didnt understand what u were asking.
gyros it's ok if you come to greece i will buy you much better food ! top secret recipe.Anyway.
If you dont want a link to show up.Check the track path from the views.Find where it's shows up at which menu or block and then create a separate block.
Go to block configure and check to show up only for the authenticated users.
Move the rest of the links of block-link items e.g my account to your new block or configure reverse if u use an already active block.
e.g move from views and the menu option above from the path option ( must be inside a page view selection) and move it to my account.
My account doent show up to anonymous user by default.
and check this for the rest. http://drupal.org/node/2573
you probably have to create an extra .tpl.php page via the theming option and do the rest by copying and pasting.
Thanks again!
Thanks again!
no prob!
you might want to check this link 2 http://drupal.org/node/273346
By the way...
Thanks, that was helpful.
However, one thing that tripped me up for a bit was after setting up the custom view and restricting access in the view settings, it wasn't taking effect.
I had to go back to permissions and uncheck the boxes for Anonymous and Authenticated users in the "Access all views" line. Then it worked!
Cheers,
Jim
There is one more way Use
There is one more way
Use module TAC .
tracker will not show post (records) to users which do not have nessary permissions (from TAC) for it.
(If you use TAC + core tracker_module , than you do not need use VIEWS module for tracking)
This is idea for those who do not like views_module