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!

Anyone help?
Last Post 02-22-2007 11:06 AM by Pete Gibbs. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Pete GibbsUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
02-20-2007 03:30 PM

    Hi,

     

    I have basically created a load of generic usernames to give out with default "firstname", "Surname", "display name" & "email@mydomain.com" fields pre-filled.

     

    What I want to do is some kind of IF statement to say that if

    SELECT FirstName

    FROM Users

    WHERE UserID = $(UsedID)

    = 'FirstName'

    then display a message to say "Please update you profile, Click Here"

    But I'm not sure how to do this... Probably very basic, but would appreciate if anyone could point in the right direction.

    Many thanks

    Pete

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    02-21-2007 08:09 AM

    Hmmmm... I am thinking that this could be done a few ways.

    #1. Maybe use the Tailored Text/HTML module to return a stringle variable. That string would be a SQL or stored procedure that passed to the procedure the UserID and then it would return text text as the variable.

    So within the stored procedure itself it would either return 'Please update your profile,..." or it would return 'Your profile is up to date.

    #2. You could (you would want to backup your database and review this in more details first) add users via SQL to a security role called 'Update Account Role'. Basically Update UserRole Set RoleID = 3 (or whatever roleID the Update Account Role was in), UserID = (select UserID from yourtable where you determine they need updated).

    Then, you can set that security role to show the tailored text or even standard text that says '$(FirstName), your account information needs to be updated, please click here to manage your profile'.

    A few other thoughts:

    You could use your Dynamic Login module to redirect them to that specific page based on their security role

    There is some core functionality that might work too, you can specify some fields that are required and then within DotNetNuke specify that their account must be required before they can continue.

    Pete GibbsUser is Offline
    new to the springs
    new to the springs
    Posts:2
    Avatar

    --
    02-22-2007 11:06 AM

    Chad,

     

    Thanks, sorted it with SQL query string! Cheers

    Pete

    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