Hi,
Will it be great if homebox can show different display for each user for visitors?
For example user/10 or user/596 will each have their own homebox with different combinations of blocks to display to visitors. Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | homebox_tab_on_user_page.diff | 6.69 KB | jchatard |
Comments
Comment #1
davidwhthomas commented+1 This is indeed a good feature request.
Allowing homebox pages to override individual node / user pages which can then be customized would be ideal!
Perhaps merlinofchaos's 'Delegator' module could be used to provide this functionality?
It's part of his 'CTools' module ( http://drupal.org/project/ctools )
Comment #2
jchatard commentedSome patche would be appreciated, if you want this integrated.
Comment #3
jchatard commentedAs a starting point on a project I'm working on, I need to access each homebox from the user profile page.
So I created a quick and dirty patch that adds tabs on the user profile page. Patch attached can be applied against beta1.
Let me know what you think.
Jérémy
Comment #4
dropchew commentedThanks for the patch. After applying, I have this error as a logged in user, when accessing profile tab home box,
and also this message,
And I tried accessing other user's homebox in their user tabs but have a access denied error...
Comment #5
jchatard commentedI don't have any idea why you this message.
I sorry to tell you I'm leaving today for some holidays. I'll be back in a few weeks.
If you find what is going wrong with the patch please post it here.
Thanks,
Jérémy
Comment #6
dropchew commentedSorry I may have applied the patch on a customize homebox module and thus the error. Have tried applying the patch on beta 1 and v1.0 separately, no erros but I am only able to access my own eg, user/5/homebox/1 and not able to access other user's homebox, seems like it ignoring the permission table..
Nevertheless, its a great module and enjoy your holidays :)
Comment #7
jchatard commentedYes, you can't access other users Homebox because I think (but maybe I'm wrong) this is about privacy.
But you know we could change that.
Thanks, be sure that I will enjoy my holidays!
Jérémy
Comment #8
design.er commentedHi, what's the current status of this patch - does it work? If yes, against which version?
Thank you for your great work! :)
Stefan
Comment #9
socialnicheguru commentedAnd can I view someone else's homebox?
can I place a homebox in a page?
Comment #10
hlan commentedHi SocialNicheGuru,
I did patch it on Dev version and it works. But you still can't view somone else's homebox. I think you might need to hack the code to change the permission.
I also think that you can use mini-panel to bring in the homebox but I don't really know how to do it. If anyone knows, please share.
Thanks
Hein
Comment #11
socialnicheguru commented#3 seems to work for user 1 but no one else.
Do I have to give authenticated users admin priviledge for homebox for this to work?
Comment #12
jchatard commentedWell actually patch #3 was only here to create a TAB showing up for each user.
As I said before, Homebox are a private zone for each user, so I don't see any need to access others pages.
But if you really need this feature, feel free to hack the module and give back some patch.
Jérémy
Comment #13
mstef commentedWhere does everyone stand on this issue? I'll work something in to 2.x.
The work for #742982: Home Box for Organic Group page begun and my first solution was to create an admin settings page for Homebox+OG where you can pick one home box to override all group home pages with. It's not the most flexible solution, but it's something that works for now. My first assumption was to use something out of CTools but I was able to do it easily without it - and less is better.
I think overriding individual nodes and profiles is pointless. I like the idea of optionally adding a tab to user profiles. Is that enough?
Throw some info at me..
Comment #14
mstef commentedOk, per the latest commit, under the Admin > User menu, you can specify an existing Home Box to show up as a user profile tab.
The tab will only be visible if you're viewing your own account page and if you have permission to view the Home Box.
Cool?
http://drupal.org/cvs?commit=370966
Comment #15
mstef commentedComment #16
hlan commentedHi Mike,
That'll be really cool. How about the permission to view that tab? I mean whether user1 can see user2's homebox? or will you include an option for that kind of permission option?
Thanks
Hein Naing
Comment #17
mstef commentedI did already - you can only view your own. Its the same homebox so viewing it on another users profile is pointless because your settings will be shown.
Comment #18
hlan commentedThanks alot, Mike. I'll test it tomorrow or the day after tomorrow and will let you know if there is any problem.
Regards
Hlan
Comment #19
mstef commentedGreat..
The doc is outdated so look under Admin > User for the settings page.
Comment #20
mstef commentedComment #21
mstef commentedI'm marking this as fixed. The functionality has been implemented as I see it being best. If someone objects or has some creative alternatives, feel free to open this again.
Comment #23
lvto2000 commentedMike first let me say that your module is the best I have seen on Drupal. I absolutely love it. To your point about anonymous users seeing other homebox profiles being pointless Id have to disagree if I understand your meaning. If your saying its pointless because the security risks will remain even after you make the edits to the program then I agree 150%. But as a feature add, if security can be controlled, I think you may have the Drupal module of the year if you add it.
Most other sites like Facebook, Myspace and others give all users the ability to see each other's profile. Also as a part of any new version you consider, it would be nice if the user could also choose an image background.
Again, the module is much appreciated. I spent all night screwing around with Dashboard only to find that it does not do what I need. Your module is there, just need those last couple edits to be perfect for me.
Thanks
Comment #24
mstef commented@lvto2000:
Thank you very much - I really appreciate the feedback and kindness..
I'm not sure everyone on this thread is on the same page... It's very easy for all of us to misinterpret both what features are intended to do and what we're debating..
Here is what Homebox can currently do with profile integration - and keep in mind, it's bare:
The admin can pick an existing Homebox page, just a normal HB page like all of the others, and opt to have it be displayed on a user's profile as a tab. The behavior of the Homebox page is the same as any. If you view the Homebox, it automatically displays your saved settings and configuration. I found that the ability to place a Homebox page as a tab on a profile useful because this is just another convenient place to link to a dashboard-like page. I never intended on making it act as a new profile for the user (for other people to view). The reason why a user is only allowed to view their own Homebox profile tab, is because if you viewed someone elses, since it's just a normal Homebox page, it would load your settings - and that would be very confusing.
I hope that makes sense..
What sort of functionality are we looking for? Homebox profiles? A way for users to drag-and-drop their core profiles and have the settings persist for any user viewing it?
---
Thanks again!
Comment #25
mstef commentedAlso, I had to add your quote about it being the best module to the project page - look under the Homebox 2 heading.
Comment #26
lvto2000 commentedShould homebox be the Drupal user profile replacement? Yes this is exactly what I am looking for. I had figured out a way to do this with some php and html editing but the permissions issue denied anonymous users the ability to look at my site's user's homebox tab on their profile. The tab works perfectly for users who want to view their own homebox tab. Thats not the issue. In addition, we can set the profile so that it can be seen by anonymous users but not edited by them. If you apply the same permission thats on each users profile to the homebox tab you have created for them then could that resolve the settings issue?
Again, to all of your questions I say yes, thats exactly what am looking for. In addition, can users be able to have unique settings for color and background settings just for their homebox profile page?
As to the compliment, its much deserved. Everyone likes Drupal but I think most HATE the users section of Drupal. Open Atrium is the only theme/module app that has really done a good job with this until I saw your module. However, open Atrium has their look and feel all over. People can appreciate the level of customization you have given them with your tool.
Comment #27
mstef commentedSounds like an interesting idea. Please just create a new feature request issue with as much information as you can, and I'll see if I can get it going...
Thanks again