dan oconnell Gold Membership
 Nuke Active Member Posts:26


 |
| 6/05/2005 7:13 PM |
|
My current need is a practical implementation of an ENH suggested below by pspeth. My client runs a fantasy baseball league, and he wants to sell subscriptions for people to become Team Owners in the league. Upon registration, the user should get a Team Page where he can put a team logo, his picture, and a blog. Team Owners should have edit rights to their own page, but not to the pages of other owners. This last point creates the need for more than just a "Team Owners" role...
As the Subscription Tools module stands currently, I'd need to create a new role for each specific Team Owner. Does anyone have any thoughts on this? |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 6/05/2005 11:20 PM |
|
A possibly would be to make only one role, and use both the userid and roleid to come up with the key for the page (if you made your modules sensitive to user IDs) If you just want to use the inbuilt pages and modules, you will have to create roles and automate the creation of a page. |
|
Scott McCulloch Site Administrator |
|
|
Rodney Joyce Gold Membership
 Nuke Master Posts:310


 |
| 6/06/2005 9:30 AM |
|
Hi All
Sorry Scott, but I had to do some advertising here as it sounds like a perfect match! Have a look at http://www.smart-thinker.com/tabid/159/Default.aspx
It allows your users to create their own homepages and edit them to their hearts content 
|
|
Thanks Rodney Smart-Thinker & The DotNetNuke Directory PokerDIY - Free tools and leagues for home poker players |
|
|
p speth Gold Membership
 Nuke Wiz Posts:114

 |
| 6/06/2005 10:08 AM |
|
Hey guys, Scott, could you flesh out with Rodney how to use the combined userid and roleid. Right now he is creating a role/page. If it could be done with your combination, it would be quite cleaner. Thanks both for the great interesting work you are doing. |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 6/06/2005 3:27 PM |
|
| Rodney is right, his module is a good fit, the problem with userid/roleid combination, your modules need to be aware of the key, which the cores ones are not.. |
|
Scott McCulloch Site Administrator |
|
|
dan oconnell Gold Membership
 Nuke Active Member Posts:26


 |
| 6/06/2005 4:31 PM |
|
Rodney's module is an automated implementation of the "1 role per user" model.
Though it's nicely implemented, it's still a bit of a hack (a well-done one, Rodney, take no offense -- some of my best solutions are hacks ). Because of the Rodney's stated goal of not changing any core code, it's just subject to some limitations.
In my opinion, core modifications are such dark magic that they just aren't an option.
I'm trying to think through an implementation of Scott's dual-key (role/userid) solution.
- Programmatically add a page under a user-specified parent tab
- VIEW (page level): would need to be at the role level
- EDIT (page level): would not be set (Admin only)
-
- Create UserID-aware versions of any modules that you’d want to offer to the mini-admins.
I need to think a little more about what this involves… feel free to throw anything at me that you think might be interesting!
Thanks, Dan |
|
|
|
|
Rodney Joyce Gold Membership
 Nuke Master Posts:310


 |
| 6/06/2005 11:49 PM |
|
Hi Dan
Haha- No offence taken - it is a "hack" to get around limitiations in the current core - but with no modifications 
Just for the record I think I have come up with a solution that will use only 2 roles in total - I'm speccing it out more but it will make it more scaleable!
cheers
|
|
Thanks Rodney Smart-Thinker & The DotNetNuke Directory PokerDIY - Free tools and leagues for home poker players |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 6/07/2005 1:21 AM |
|
| Hi Rodney, if you can come up with a good workable solution, I'm sure it would be a great seller! |
|
Scott McCulloch Site Administrator |
|
|
dan oconnell Gold Membership
 Nuke Active Member Posts:26


 |
| 6/07/2005 5:57 AM |
|
Well I can tell you that you'd have at least one sale immediately! I used to have this bizarre need to code things myself... but as I get older, I'm more than happy to "outsource" Rodney, please let me know if I can be of any assistance, and please keep us posted on your progress! Thanks, Dan |
|
|
|
|
Rodney Joyce Gold Membership
 Nuke Master Posts:310


 |
| 10/19/2005 6:54 AM |
|
Hi guys
Just a quick update - Smart-Thinker HomePage version 1.0.1 has now been released and does NOT create one role per user.
You can see the official post here...
Thanks
|
|
Thanks Rodney Smart-Thinker & The DotNetNuke Directory PokerDIY - Free tools and leagues for home poker players |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 10/19/2005 3:57 PM |
|
Posted By rodneyjoyce on 19/10/2005 6:54:28 AM
Hi guys
Just a quick update - Smart-Thinker HomePage version 1.0.1 has now been released and does NOT create one role per user.
You can see the official post here...
Thanks
Sounds great Rodney! |
|
Scott McCulloch Site Administrator |
|
|