Thursday, August 28, 2008     | Register
To start or answer a thread you will need to login...


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.

 
 
  Forums  DotNetNuke  Smart-Thinker U...  Integration Customizations - Active and Core Forums
Previous Previous
 
Next Next
New Post 6/15/2005 10:38 AM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Integration Customizations - Active and Core Forums  (United Kingdom)
Modified By Rodney Joyce  on 2/16/2007 4:03:35 AM)

This post should be used to discuss the integration of the UserProfile module with other modules and resources (for example, the customization of the core UsersOnline).

 

Disclaimer:

Without scaring you off, we feel it is necessary to mention the following due to the nature of customizations:

Please note that we do not officially support these customizations as they can occupy too much time and are provided for free for everyone's benefit.  Having said that, we will try to help if you raise any issue on the appropriate Forum, but please backup all modules before making any changes. We also assume that you know a little bit about module development and ASP.NET coding, and you know how to deploy DNN and how the modules tie into the core. Please ask questions before trying this if you are unsure. We provide the files "as is" and cannot be held responsible for any damage or errors that occur as a result of these customizations. Where possible, we will provide the actual files for you to download, but if it is a change to another commercial module then we will describe the changes you need to make to the actual file if you are the owner of that module.

 

Applying Customizations:

  • Bear in mind that we are not responsible for any problem or error that a customization may cause
    Backup your database and files
    Ensure you have read all documentation and understand what you are doing
    Post any questions you have in the relevant Forum first
    Apply customization and test
    Let us know your results - we love feedback!

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

Smart-Thinker DotNetNuke Development Blog
 
New Post 6/15/2005 10:54 AM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Re: Integration Customizations  (United Kingdom)

You can read more information on how to customize the core UsersOnline module here:

http://www.smart-thinker.com/ProductsandModules/UserProfile/Customizations/tabid/370/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 6/21/2006 5:52 AM
  Paul Goodison
3 posts
5th Level Poster


Re: Integration Customizations  (N/A)

Rod,

What about integrating the UserProfile with the Repository?

The way I see it working is that when special types of users register as part of the profile setup they could be allocated to a category (or more than one) that relates to the repository, either by selecting it themselves or being set up by administrator.

 As an example you could have advertisers or service providers who are in a certain role. A site visitor could select a category from the repository and see a summary (like businesscard template) then click to see full profile of the service provider. Further to that, integrate the ability to add products/services/offers to a profile (updateable by the user) which can be displayed in the full profile, or as a separate list (eg. top offers)

Any ideas of where to start with this idea?

Paul

 
New Post 6/22/2006 7:35 AM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Re: Integration Customizations  (United Kingdom)

Hello Paul

 

The reason integration with some other modules is so simple is because it is merely passing a UserID around and this is fed into the UserProfile module (which is a Smart-Thinker module itself) and displays the appropriate data.

 

I have not looked at the source of the repository module, so I am not sure how tricky it would be to do what you are proposing. However I am not sure the UP module is where the functionality belongs – it may fit better into a custom module. I would keep pure user information in the UserProfile module (keyed on UserID) and possible write another module that aggregates the data you wish (you could always display them on the same page).

 

I think it is better to keep the interface to the UP module as a UserID only (and it handles the displaying of user profile info) – bear in mind that you can always associate a normal user record with the repository, the UP info is merely an extension of the User record – hence it may be cleaner to have a User Repository control that showed this information.


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 6/23/2006 3:01 AM
  Paul Goodison
3 posts
5th Level Poster


Re: Integration Customizations  (N/A)

Thanks for your thoughts Rod.

Am off on Hols for a few weeks this weekend (where I will not even think DNN!) but once I return I will get into specing and how this could work.

Paul

 
New Post 2/16/2007 1:09 AM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Re: Integration Customizations  (N/A)
For those of you who want to integrate Active Forums signature with their UserProfile, all you need to do is construct the string to look like:
http://www.pokerdiy.com/tabid/391/ID/[USERID]/Default.aspx

for example, this is the URL on PokerDIY:
http://www.pokerdiy.com/tabid/391/ID/1/Default.aspx

Let me know if you are battling to do this...




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

Smart-Thinker DotNetNuke Development Blog
 
New Post 3/12/2007 11:20 AM
  Greg
13 posts
4th Level Poster


Re: Integration Customizations  (United States)
Hey Rod,

Do you think the ability to link to the users photo will be something that could be developed in the future? I like the idea of integrating with Active Forums and other modules on my site and linking to the users photo, not just the username.

Thanks!
 
New Post 3/13/2007 3:29 PM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Re: Integration Customizations  (N/A)
Hi,

This is actually a limitation of the Active Forums templating tokens in that case - they are not able to handle the image. I am hoping that soon the core will support image uploading and then this kind of stuff will be standard across the board, but until then I don't think it's going to be possible I'm afraid....


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 3/19/2007 2:21 AM
  anna tarrant
30 posts
www.in8website.co.uk
4th Level Poster


Re: Integration Customizations  (N/A)

Hi Rod,

I am using Ventrian's Property Agent. I am trying to include a token used to link to Private Messaging to link to your User Profile module. I managed to get it all working for Messaging using Ventrian's [USERNAME] token, but I cannot seem to get your module to work on it. I wondered, is this because User Profile needs [USERID] and not [USERNAME]?

This is what I am trying to use:



..../tabid/62/ID/[USERID]/Default.aspx

It links to the page OK, but does not pick up the user. Think it also gives an error:

Error: Profile is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at SmartThinker.DNN.Modules.UserProfile.UserProfile.IsValidUserProfileIDForRetrievalType(Int32 selectedProfileTypeID) at SmartThinker.DNN.Modules.UserProfile.UserProfile.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Any ideas?

Thanks,

Anna


Anna Tarrant | In8 Website Design Hampshire | In8Website.co.uk

Content Managed Websites | User Group Websites | Build you own website

 
New Post 3/19/2007 2:51 AM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Re: Integration Customizations  (N/A)
Hi Anna,
Yes, the ST UP module does use UserID and not UserName (this reminds me- I have been asking Ventrian to start using DisplayName instead of UserName whever they display names (or at least expose the DisplayName token).

Ok - can you post the URL that you are passing in to the ST UP module (the one formed using "..../tabid/62/ID/[USERID]/Default.aspx") so I can see what is incoming...


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 3/19/2007 2:57 AM
  anna tarrant
30 posts
www.in8website.co.uk
4th Level Poster


Re: Integration Customizations  (N/A)

Of course...

<a href="http://www.thenursingjobsite.com/tabid/62/ID/[USERID]/Default.aspx">

Produces:

http://www.thenursingjobsite.com/tabid/62/ID//Default.aspx

Anna


Anna Tarrant | In8 Website Design Hampshire | In8Website.co.uk

Content Managed Websites | User Group Websites | Build you own website

 
New Post 3/19/2007 3:06 AM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Re: Integration Customizations  (N/A)
The ST UP most have a UserID passed in - it looks to me as if the ActiveForums module does not expose the UserID if it is doing this. I would have thought it would (this is the basic ID of all users, even in the database), but you are going to have to take it up with them.

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

Smart-Thinker DotNetNuke Development Blog
 
New Post 3/19/2007 3:16 AM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Re: Integration Customizations  (N/A)
ps - I was just playing around with the querystrings, and I noticed something interesting - if you remove the ID variable in the URL completely then the module will throw the correct error (Invalid UserID). If you remove just the variable value (like the URL you are using) then it shows the stranger "Invalid String Input" error as it thinks there is a UserID and tries to convert the null value into an integer. Not really relevant to the problem but I was interested as to why the module did not throw the correct "Invalid UserID" error message which makes the problem easier to track down.


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 3/19/2007 4:03 AM
  anna tarrant
30 posts
www.in8website.co.uk
4th Level Poster


Re: Integration Customizations  (N/A)

For reference: http://www.ventrian.com/Support/ProductForums/tabid/118/forumid/38/tpage/1/view/topic/postid/17966/Default.aspx#18959

Ventrian will be exposing [USERID] in a module update in next 24 hours....so will soon be possible!

Plus, [DISPLAYNAME] coming soon...

Anna


Anna Tarrant | In8 Website Design Hampshire | In8Website.co.uk

Content Managed Websites | User Group Websites | Build you own website

 
New Post 6/18/2007 11:19 AM
  Ivan
58 posts
3rd Level Poster




Re: Integration Customizations  (United States)

Is it possible to integrate Active forums (or the core forums for that matter) and ST UP so that when you click on the user in the forums it takes you to their ST user profile and not to the forum profile?

 
New Post 6/18/2007 2:26 PM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Re: Integration Customizations  (N/A)

This all depends on the Forum software and whether the signature allows the [USERID] token. If it does, then it is possible. I THINK that Active Forums does (I have never used it) and I asked the core team to provide this support for extensibility many months ago.

 

If you would like to see this happen please go to the core Forum forums and request that they expose the [USERID] as a token in the signature or for the profile link so we can plug in our own profiles - they will only do this if we can get enough demand for it - I really dislike that my forums have their own profile and private messages.


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 6/19/2007 11:45 AM
  Ivan
58 posts
3rd Level Poster




Re: Integration Customizations  (United States)

I think we finally decided to go with DNN (were thinking of MOSS 2007) so I will have to get more involved. Plan to buy that platinum benefactor package so I can scream a bit louder:).

DNN Fusion integrates his UP with Active Forums so I guess it works. What is the reason the core Forum people don't  want to do this? You may want to switch to Active Forums as you can integrate there the Ventrian private message module that you use for communication between users.

 

 
New Post 6/19/2007 12:03 PM
  Rodney Joyce
2607 posts
www.DNNDir.com
1st Level Poster




Re: Integration Customizations  (N/A)

Good choice.

 

No, it's not a case of them not wanting to do it, they just see one person requesting it (me) and therefore it's hard to justify the cost of making the UserID a token development-wise. This is why the more people that request it the better (and it makes the core Forums nice and flexible for integration).


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 10/12/2007 6:23 AM
  Jack Hoelz
17 posts
4th Level Poster


Re: Integration Customizations  (United States)

 ivtch wrote

Is it possible to integrate Active forums (or the core forums for that matter) and ST UP so that when you click on the user in the forums it takes you to their ST user profile and not to the forum profile?

Has anyone done this to date? We would like to implement this also.

 
New Post 2/6/2008 8:08 AM
  stephan schneider
2 posts
No Ranking


Re: Integration Customizations  (N/A)