|
|
| Integration Customizations - Active and Core Forums (United Kingdom) |
|
|
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
 |
|
|
|
 |  |
|
|
| Re: Integration Customizations (United Kingdom) |
|
|
|
|
 |  |
|
|
| 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 |
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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 |
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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! |
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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
|
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
| |
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| Re: Integration Customizations (N/A) |
|
|
|
|
 |  |
|
|
| 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? |
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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.
|
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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. |
|
|
|
 |  |
|
|
| Re: Integration Customizations (N/A) |
|
|
| |