Allow Others to See Bookmarks
leoklein - April 1, 2007 - 17:32
| Project: | Views Bookmark |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I'm sure I'm not original in this but it'd be a great feature.
There's be "Allow Others to See Bookmarks" in Access Control. Then depending on what role you allowed, people could go to your user page and see what you have bookmarked. There might even be a checkbox in My Account for users to turn this on and off themselves.
It's so social!

#1
This could be a challenge due to the nature of the code:
No matter the user, the URL is the same to view bookmarks: http://abc.com/?q=bookmarks/1
#2
anybody get this to work? Playing with Favorite Node module, but 5x version not plugged into views. Want to be able to display list of users who bookmarked on the node page, as well as have a tab in user profile with that users list for others to see.
#3
OK. This took me several hours to get working. Not sure why... but will try to replicate for those searching for a favorite nodes/bookmarks options that enables you to add tab view in user's profile.
1. If you alrady have installed, I had to clear it out to get it to work. So uninstalled and deleted entry in system table.
2. Download Development version for 5.
3. Apply patch at end of post here: http://drupal.org/node/118688
4. Upload and install module
5. Go to views bookmarks link now under site building in admin, and create new bokmark type for your needs. I created on for a specific content type so I can use it as filter rather than filter in views and so can customize link verbage.
6. Now creating a view to display tab in user profile.
- name the view
- create as page
- url for me was user/$arg/content_type_name
- menu = provide as menu, provide as tab, label menu title
- I created view as table = node title, bookmark count, bookmark ops
- In arguments select Bookmarks for UID, pick the one you created. It should create a new option for each custom bookmark you created in step 5.
- Filter = node as published.
*** Do not use Bookmark option in Filter. I thought this was the important piece but when I deleted it the view worked as intended. When I had this selected 'As Marked" it would only return my bookmarks no matter what UID was in the URL as argument.
Thats it. Now there should be a tab in your profile as long as you're using user/UID as url string for profiles.
Anyway, long explaination but stoked I got it to work. Very cool being to create custom bookmark types and roll up users and site by nodes popularity.
#4
For those requesting this feature, you may have missed the point of this module. It's called 'views_bookmark' because you make bookmarks which are then displayed with views. Views_bookmark provides a way to arbitrarily mark content, then views provides all the various outputting options. pshadow is correct in his implementation of how to accomplish this feature.
#5
Got most of this working except 1 thing...
How did you remove the option to allow any user to mark/unmark for the users profile they are looking at?
For example... If I was looking at your profile.. I could remove your "Bookmarks" .
#6
User's are never allowed to modify someone else's bookmarks UNLESS the "global bookmark" option is checked when setting up the bookmark. This makes it so there is only one shared bookmark between all users, rather than every user keeping the bookmark separately.
#7
If anyone is looking to add a tab to the node in question to show all users who bookmarked that particular node. You need to make the following changes to the above.
Page View URL : node/$arg/favorites
Argument: Node ID
Fields: User for Bookmarks
#8
@ Prodigy:
I tried your method and it won't seem to display all other users who have bookmarked this node. It will only show the current user (account you are logged in with) who has bookmarked the node. If you look at the list without bookmarking the node it will only show one anonymous user for some reason. I am certain there are other users who have in fact bookmarked the node. I have attached an export of my view to see if I am doing anything incorrect.
Thanks much!
txcrew
#9
Follow up to #8
Fixed in 5.x-1.4-beta1 release.
Thanks!
txcrew
#10
Awesome! Are we good for this issue? If so please mark it fixed. :)
Sorry for getting snippy in #4, I didn't understand the request at hand.
#11
I'd say this is definitely fixed.
txcrew
#12
Automatically closed -- issue fixed for two weeks with no activity.