English (United States) English (United Kingdom)
Thursday, March 18, 2010

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...  Integration with "Where Are They"
Previous Previous
 
Next Next
New Post 10/18/2006 8:40 AM
  Matt Cosentino
4 posts
5th Level Poster


Integration with "Where Are They"  (Australia)
Modified By Rodney Joyce  on 10/26/2006 5:16:43 AM)
g'day guys.

In reference to this post on the ventrain forums (http://www.ventrian.com/Support/ProductForums/tabid/118/forumid/10/postid/11310/view/topic/Default.aspx),

I'd ask, how do you integrate the User Profile with the "where are they" module so that you can click on the user, and it takes you to their profile, or even homepage?

I'm guessing its something like passing the URL on, with the userID to a custom page to display the correct profile. Just not sure where to start...
 
New Post 10/18/2006 4:27 PM
  Rodney Joyce
3227 posts
www.DNNDir.com
1st Level Poster




Re: Integration with "Where Are They"  (United Kingdom)
Hi,

I've been working on the UserGroup module and I leave on vacation tomorrow, but when I get back I will looking into this for you -
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/-1/threadid/78393/scope/posts/Default.aspx


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 10/24/2006 5:30 AM
  Rodney Joyce
3227 posts
www.DNNDir.com
1st Level Poster




Re: Integration with "Where Are They"  (United Kingdom)
Right, to integrate Ventrian's Where Are They Module with Smart-Thinker's UserProfile module:

Go to the Settings page of the WAT module. Change the HTML Body to:

<span class="NormalBold"><a href="/Home/MyAccount/MyProfile/UserProfile/tabid/116/ID/[USERID]/Default.aspx">[USER]</a> [COUNT] - </span> <a href="[LINK]" class="Normal">[PAGENAME]</a><br>

Obviously you can suit the rest of it to your requirements, but the important bit is:
<a href="/Home/MyAccount/MyProfile/UserProfile/tabid/116/ID/[USERID]/Default.aspx">[USER]</a>

Unfortunately as you can see I had to hardcode the TabID of the UserProfile Profile page (116) - there is no way around this as this customization requires zero code changes (thanks to Scott's nice Templating ability). You will need to view your UserProfile page to work out what your TabID is from the browser querystring.

Let me know if you have any questions...


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 2/28/2009 2:55 PM
  Barry Sweeney
12 posts
4th Level Poster


Re: Integration with "Where Are They"  (United Kingdom)

or, if you are using Friendly URLs you can use something like this:

<a href="/Profile/userProfile.aspx?ID=[USERID]">[USER]</a>

 
Previous Previous
 
Next Next
  Forums  DotNetNuke  Smart-Thinker U...  Integration with "Where Are They"
Top Threads Minimize
In the past 1 week, we have 2 new thread(s) and 3 new post(s)
The most popular thread has been Edit Events and Groups
The most active thread has been Edit Events and Groups
Print  

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