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!

User Postal Code
Last Post 01-17-2007 08:07 AM by Rob Killen. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Rob KillenUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
01-17-2007 05:37 AM

    How would I get the user postal code out the profile using Tailored Text/HTML Settings?

     

    Thank you,

    Rob

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    01-17-2007 07:06 AM

    Rob,

    Hi. The postal code is not one of the default user tags that is available, but, no worries you will be able to get the current users postal code by creating a SQL token. SQL Tokens can use other tokens throughout the module, so you can use the $(USERID) within the SQL to gather the users postal code. Now I did a little research and setup this scenario on our test site so you should be able to get it working without much trouble.

    The query would depend on your DNN installation, I tested on the latest DotNetNuke 4.4 release and I believe this should work for almost all 4.3.x releases...

    Step 1: Within the settings create a new SQL token and name it PostalCode

    Step 2: Use this as the query:
    select PropertyValue from UserProfile Where PropertyDefinitionID = 30 AND UserID = $(USERID)

    Note: The property DefinitionID of 30 is the definitionID for PostalCode. IF you are wanting to get other extended profile fields or just wanting to know what the definitionID for those fields is you can go to Host, SQL and execute this query:
    select PropertyDefinitionID, PropertyName from ProfilePropertyDefinition

    Step 3: After adding the PostalCode SQL Token, navigate to add content and add content that will include that token. Example: The user that is signed in has a postal code value of $(PostalCode).

    That should do it...

    -Chad

    Rob KillenUser is Offline
    new to the springs
    new to the springs
    Posts:2
    Avatar

    --
    01-17-2007 08:07 AM
    Great! that did it, Thank you,
    Rob
    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