Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

After upgrade, no users displayed until templates updated
Last Post 01-29-2010 11:38 AM by David To. 6 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Larry DanieleUser is Offline
going with the flow
going with the flow
Posts:57
Avatar

--
01-29-2010 07:07 AM

    I recently updated a working installation of DNN 5.1 and DUD 2.5 to DNN 5.2.2 and DUD 3.0. After the upgrade, no users would appear in the directory. I traced the problem to changes in the Item / List Template and User Detail Template that need to be made to work in the new configuration.

    In particular, it seems that some of the tokens are case-sensitive so tokens such as [FirstName] cause an error and must be changed to [firstname] for anything to be displayed. In addition, some tokens such as [MidddleName] and [Unit] are no longer supported and should be removed altogether.

    I'm not sure if the HTML will come across, but here goes... So for example, I had to change:

    [FirstName] [MiddleName] [LastName] photo

    [FirstName] [MiddleName] [LastName] [Suffix]

    [Street] [Unit]

    [City] [Region] [PostalCode]

    [Telephone]

    [UserRoles]


     

    to:

     

    [firstname] [lastname] photo

    [firstname] [lastname]

    [Street]

    [City] [Region] [PostalCode]

    [Telephone]

    [UserRoles]


     

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-29-2010 07:36 AM
    HI. all the tokens (as long as they belong to DNN Core Profile fields under Admin / User Accounts and at least one user has an entry value for that token) should be supported. Do you see the "MiddleName" and "Unit" properties under Admin / User Accounts / Manage Profile Properties? -- David
    Larry DanieleUser is Offline
    going with the flow
    going with the flow
    Posts:57
    Avatar

    --
    01-29-2010 07:46 AM

    Yes, these properties are there in Manage Profile Properties. However, they are not used in my test set of users. If I change "[MiddleName]" to "[middlename]" in the template, then instead of being displayed as "[MiddleName]" it is displayed as "".

    Larry DanieleUser is Offline
    going with the flow
    going with the flow
    Posts:57
    Avatar

    --
    01-29-2010 07:56 AM

    Actually, it seems even "[middlename]" in the template is displayed as "[middlename]" in the directory.

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-29-2010 08:00 AM
    HI, if [middlename] isn't used for any users on your website, then it should not even appear as a valid token for you to include in the DUD template because if you do, it will not perform a replacement on this token. A quick way to check which profile fields have data is go to Host / SQL and type in:

    select top 1 * from tempdudpivot

    which will return one row with a list of columns that have non-NULL profile property values that you can use as tokens in your DUD template. -- David
    Larry DanieleUser is Offline
    going with the flow
    going with the flow
    Posts:57
    Avatar

    --
    01-29-2010 11:31 AM

    Thanks for explaining that. But just because a user hasn't entered data for a field yet shouldn't mean it can't be used in a template. What happens when the first user DOES enter their middle name or does add a unit number to their address? (That's a rhetorical question of course.)

    It might be better for all unknown tokens to return "" instead of their name. Developers could be warned about Invalid tokens when *saving* a template but could accept this if they understand the implications.

    Onward!

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-29-2010 11:38 AM
    HI, once the first user DOES enter a middlename or a unit number, the DUD scheduler (by default checks for updates every 60 minutes), will update it's SQL tables and will have those tokens be available for placing in the DUD template. The reason why not all profile tokens are available is due to the use of the SQL 2005 PIVOT command in the DUD retrieval of user profiles (a great increase in performance, but it doesn't return NULL or blank entries on profile fields), which is why there has to be at least 1 valid entry on the profile field. I hope this explains the situation. -- David
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi