Register   Login
     
  Latest Posts  
RE: Search Wildcard Problem!
by georgelew on 1/08/2009 4:19 AM
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/08/2009 4:11 AM
RE: Help! Cannot use "&" in CustomField.
by georgelew on 1/08/2009 4:01 AM
RE: Comments not posting
by smcculloch on 1/08/2009 2:55 AM
Does anyone have XHTML Compliant PA Template
by tmahmud on 1/08/2009 1:04 AM
RE: Comments not posting
by WillJean on 1/08/2009 12:53 AM
RE: Comments not posting
by smcculloch on 1/08/2009 12:24 AM
RE: 4.9.0 and 5.0.0 with Simple gallery
by smcculloch on 1/08/2009 12:23 AM
Enable to comment in Simple Gallery
by nmduc073 on 1/07/2009 11:33 PM
Comments not posting
by WillJean on 1/07/2009 11:32 PM
  Forums  
Subject: User-Specific content
Prev Next
You are not authorized to post a reply.

Author Messages
dan oconnellUser is Offline
Gold Membership
Nuke Active Member
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 McCullochUser is Offline
Administrators
Nuke Master
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 JoyceUser is Offline
Gold Membership
Nuke Master
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 spethUser is Offline
Gold Membership
Nuke Wiz
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 McCullochUser is Offline
Administrators
Nuke Master
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 oconnellUser is Offline
Gold Membership
Nuke Active Member
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 JoyceUser is Offline
Gold Membership
Nuke Master
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 McCullochUser is Offline
Administrators
Nuke Master
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 oconnellUser is Offline
Gold Membership
Nuke Active Member
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 JoyceUser is Offline
Gold Membership
Nuke Master
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 McCullochUser is Offline
Administrators
Nuke Master
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
You are not authorized to post a reply.
Forums > Modules > Subscription Tools > User-Specific content



ActiveForums 3.7