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!

Authorize Users
Last Post 11-28-2007 06:54 PM by Chad Nash. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
James MotleyUser is Offline
wading in the water
wading in the water
Posts:19
Avatar

--
11-28-2007 05:01 AM

    I just tested the Interactive User Impot and was successful with my second test import.

    FYI - for other users, my first test was not successful I believe because my imported password was less than the default of 7 characters minimum. Make sure if you are importing passwords that they are long enough.

    Now on to my question. How can I Authorize the imported users automatically? That should be a feature in this module for sure unless I did something wrong. Does anyone know SQL query to accomplish this?

    James MotleyUser is Offline
    wading in the water
    wading in the water
    Posts:19
    Avatar

    --
    11-28-2007 06:45 AM
    For anyone looking, this is a quick and dirty SQL statement to set all users to Authorized within a portal. I am just going to run this after the import since I have no reason to account for any Un-Authorized users.

    UPDATE dbo.dnn_UserPortals
    SET Authorised = 'True'
    WHERE (PortalId = 0)

    This should be a feature of the module though in my opinion.
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    11-28-2007 06:54 PM

    James,


    Hi. This is actually a featured but isn't exactly described or advertised as it should. In fact, no matter what the DNN registration is set to there should probably be an option to set the authorization flag within the settings.


    The way it works now is based on whatever you have the registration set to within DNN registration. So, the only way that users will be authorized is if you go to Admin, Site Settings, Advanced, and specify that the DNN Registration is set to Public. If the registration is set to Public the user will automatically be authorized, if its set to None, Private, or Verified it will not show up as authorized.


    Also, thanks for posting this query for other users... Another option would be to use a similar query in case you only wanted to authorize users only for a particular event. For example, you could setup an Interactive SQL Event where users with the column 'Zip Code' was equal to 55555 then they would be authorized with a query similar like this...


    UPDATE dbo.dnn_UserPortals
    SET Authorised = 'True'
    WHERE (PortalId = 0) and (UserID = $(UserID))

    Also, one more thing to note for other users... This is assuming that your object qualifier on the site is dnn_. On many installations there are no object qualifiers so in that case you would just be updating dbo.UserPortals and not dbo.dnn_UserPortals.

    Thanks again!

    -Chad

    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