Friday, January 09, 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...  Integrating Smart-Thinker UserProfile with the Ifinity Google SiteMap
Previous Previous
 
Next Next
New Post 11/8/2008 6:06 PM
Informative
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Integrating Smart-Thinker UserProfile with the Ifinity Google SiteMap  (N/A)
Modified By Rodney Joyce  on 11/8/2008 8:36:45 PM)

Have a read of this blog post if you are not sure what we are talking about here. We are going to talk you through configuring the Ifinity Sitemap Provider to play nicely with the Smart-Thinker UserProfile module so that your profile URLs are outputted to your Google Sitemap and all orphaned profile URLs will be indexed. We highly recommend that you get this working on your test/dev site first as it can be a little tricky but well worth the effort.

  1. Get the latest Ifinity Google Sitemap Provider (1.2.14 at time of writing and free).
  2. Install and configure it according to the Ifinity instructions (this is nothing to do with Smart-Thinker at this point - please refer to their forums/guides if you have any problems at this stage.
  3. Once you have http://www.YOURSITE.com/GoogleSiteMap.axd  up and running then you need to install the latest Smart-Thinker UserProfile module (4.3.14+).
  4. The way it is designed is that only ONE page on your site can display profiles. You do not want to index the same content, so most sites have a publicly-available profile page which displays a profile based on the passed-in profile UserID. For example, here is my profile on PokerDIY. Note that I use the Ifinity URL Rewriter (a must have for any serious site - usabilty and SEO) so my URLs (http://www.pokerdiy.com/poker-player-profile/ID/1.aspx)  do not look like the standard DNN URLs (there is no TabID in it).
  5. Basically, we need to find the TabID of our public profile page. So if you are not using a URL Rewriter the TabID will be in your URL. If you are (like us http://www.pokerdiy.com/poker-player-profile/ID/1.aspx) -  then you will need to find it out by doing a SQL query, something like: select * from tabs where tabname like '%profile%'  (or whatever you have called it). This might return multiple rows so you need to check in the browser which is your public profile page.
  6. Ours is TabID 391. We'll use this value later in our Web.Config.
  7. Open your web.config and search for this text/line  -         add name="BaseGoogleSiteMapProvider"
  8. This is the bottom bit of the Ifinity configuration that you should have added in step 2. If you do not find it then go back to step 2 and make sure it is working correctly.
  9. This line is the core Sitemap provider. You may have the Ventrian News Article, Blog or other ones just below it. This is where we'll add our Smart-Thinker line.
  10. Add this line:                      <add name="Smart-Thinker - UserProfile - Profile.GoogleSiteMapProvider" type="SmartThinker.DNN.Modules.UserProfile.Business.UserProfile_GoogleSiteMapProvider, SmartThinker.DNN.Modules.UserProfile" defaultPagePriority="0.4" defaultPageUpdateFrequency="weekly" includeHiddenPages="true" maxNumUsers="100" publicProfileTabID="-InsertYourTabIDHere-" />
  11. Note, you need to replace -InsertYourTabIDHere- with the TabID of your profile page from point 6.
  12. You can also change the PageUpdate Frequency (daily/weekly/monthly) and the page priority as you see fit. If you profile page is not on the menu (hidden) you will need to set includeHiddenPages to "true".
  13. Browse to your sitemap - it should output 100 UserProfile URLs. Check that these URLs link to the correct profile page and adjust accordingly. If you leave out maxNumUsers it will index all the users on your site (the Google Sitemap URL limit is 50k of URLs).

and that's it! Let us know if you have any problems. Soon the Groups and Event module will do the same thing...

 

 


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...  Integrating Smart-Thinker UserProfile with the Ifinity Google SiteMap
Top Threads Minimize
In the past 1 week, we have 22 new thread(s) and 48 new post(s)
The most popular thread has been Re: Sponsored Enhancement Proposal Estimate - StoryFeed Commenting
The most active thread has been accept Friend Request?
Print  

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