Saturday, July 04, 2009

Smart-Thinker DNN Forums

Forum Guidelines

Please ensure you follow the bug-raising guidelines (e.g. post the full error from your Event Viewer) if you are raising a support call. To request a feature in a module, please use Feature Requests (unless you want to discuss it here in more detail first). If you have an urgent feature that you would like to see in the product then you should consider a Sponsored Enhancement

First Time User? Make sure you have read the Module Config Guide in the documents folder of each module. Also check out this handy Module Deployment Guide (written by a Smart-Thinker customer!)

Configuration issues and no time to read the Forums/Documentation? See our DotNetNuke Premium Support Service. We need your opinion! Please read our proposed new CrowdSourcing development method and let us know if you would be interested and if it might work.

 
 
  Forums  DotNetNuke  Smart-Thinker U...  UserProfile 4.3.13+ Friend-Only Profile viewing configuration
Previous Previous
 
Next Next
New Post 9/15/2008 10:31 PM
Informative
  Rodney Joyce
3187 posts
www.DNNDir.com
1st Level Poster




UserProfile 4.3.13+ Friend-Only Profile viewing configuration  (N/A)
Modified By Rodney Joyce  on 9/22/2008 3:02:58 AM)

Users can now optionally set their profiles to be visible by their Friends (or Admin) only. This Test User account on PokerDIY has it's preference set to "Friends Only" so you should not be able to see it.

 

  1. Add the following Profile Property to your core User Profile (Admin \ User Accounts \ Manage Profile Properties). Leaving this out will leave the functionality working as it has always done.
  • Property Name: PrefProfileFriendsOnly
  • DataType: True/False
  • Property Category: Integration (or Prefs)
  • Length: 0
  • Default Value: false  (depends on default you want for new users)
  • Validation Expression: Leave Blank
  • Required: (Depends on your site, not mandatory on PokerDIY)

 

Note: If you have multiple ST UP Profile modules on a single page (like on PokerDIY) you should only set the TabRedirect for Non-Friends on one of the modules and leave the rest to None Specified.

 

It's up to you what to put on the page that you redirect to - you should make it as informative for the user as possible. You can also give them the opportunity to make friends with the user by adding a Smart-Thinker UserProfile Profile module on this page - for example, view this Test User's Private Profile when you are logged out.  Here is the template for the Profile module on this page (which is viewable by everyone):

 

<div class="profileimage">[PROFILEIMAGE]</div>You need to be friends with them to see it.<br /><br /><div align="left">[ADDTOFRIENDS]</div><br />Click here to <a href="http://www.pokerdiy.com/find-poker-players.aspx" title="Find another poker player">find another poker player</a>

 

Note that if you add a UP Profile view to this Private Profile Tab then you must NOT set it's Redirect - everyone should be able to see this. You could aslo put the Send Message token on so that the viewing user could send this person a message.


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
Previous Previous
 
Next Next
  Forums  DotNetNuke  Smart-Thinker U...  UserProfile 4.3.13+ Friend-Only Profile viewing configuration
Top Threads Minimize
In the past 1 week, we have 10 new thread(s) and 11 new post(s)
The most popular thread has been Re: PocketPC Domination Registration
The most active thread has been PocketPC Domination Registration
Print  

Smart-Thinker is powered by DotNetNuke - please support us and DotNetNuke - DotNetNuke Powered!
© 2008 Smart-Thinker