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!

Incorperate Dynamic Forms and Opt In Modules
Last Post 04-18-2011 11:39 AM by Dennis Kyle. 7 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
schuhtlUser is Offline
river guide
river guide
Posts:82
Avatar

--
09-19-2008 10:37 AM

    Is it possible to have users sign up for newsletters "opt in (datasprings module)" from within dynamic forms?



    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    09-19-2008 10:43 AM

    Troy,

    Hi. Well Dynamic Registration has a direct integration option with Opt In Email (but this is mostly because you can go back and edit your registration/opt in information) etc.. We are planning to offer a similar integration with Dynamic Forms and especially when the 4.0 release of Opt In Email is released. For now, the answer is yes though... Just a few more steps.

    I am attaching a SQL script, you can open this up and go to Host, SQL and execute it. You then need to create a SQL completion event that looks something like this:

    DataSprings_OptInEmail_AddFromDynamicForms '$(FirstNAme)', '$(LastName)', '$(EmailAddress)', 'Your Opt In Category Name', 0

    This would be if your short field names were named the above short field names and if your Opt In Category Name was titled 'Opt In Category Name' and your portalID was 0.


    -Chad


    DataSprings_DynamicForms_OptInEmailIntegration.zip

    Gigi PayneUser is Offline
    skipping stones
    skipping stones
    Posts:16
    Avatar

    --
    09-24-2008 07:28 PM

    I also would like to pass Dynamic Forms information to my Opt-In list. However, when I run the SQL file, I get the following message:

    There is an error in your query!

    Could you please post a new one that works? I'm using DNN 4.09.

    Thanks.

     



    schuhtlUser is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    09-25-2008 02:32 AM
    I got the same error and I can't remember exactly what I did to correct it...I had to remove the to GO Statement at the end and/or check the checkbox that says Execute as Script.


    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    09-29-2008 09:18 AM
    Gigi,

    Hi. Did you get this to work then after removing the GO line at the bottom?


    -Chad


    Grant WeberUser is Offline
    skipping stones
    skipping stones
    Posts:12
    Avatar

    --
    12-15-2008 11:03 AM

    Just make sure you don't have an EXEC or GO on either end of the stored proc call :-)

    Grant



    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    02-08-2009 09:18 PM

    This message is in addition to Chad's 9/19/08 post.  This will allow users to opt out from Opt In Email lists from Dynamic Forms:

     


    Create  Procedure {databaseOwner}[{objectQualifier}DataSprings_OptInEmail_RemoveFromDynamicForms]
    @FirstName nvarchar(200),
    @LastName nvarchar(200),
    @EmailAddress nvarchar(200),
    @CategoryName nvarchar(200),
    @PortalID int

    AS
    Declare @CatID UniqueIdentifier
    Declare @OptID UniqueIdentifier

    --If users already exists then don't insert them
    IF (SELECT count(*) FROM  {databaseOwner}[{objectQualifier}DataSprings_OptInEmail] WHERE EmailAddress = @EmailAddress AND InActive = 0) =0
    BEGIN
    Insert Into {databaseOwner}[{objectQualifier}DataSprings_OptInEmail] (FirstName, LastName, EmailAddress, [DateTime], IsVerified, InActive, PortalID)
    Values(@FirstName, @LastName, @EmailAddress, GetDate(), -1, 0, @PortalID)
    END

    Set @OptID = (Select TOP 1 OptInEmailID from {databaseOwner}[{objectQualifier}DataSprings_OptInEmail] where Emailaddress = @EmailAddress)
    Set @CatID  = (Select Top 1 OptInCategoryID from {databaseOwner}[{objectQualifier}DataSprings_OptInCategory] where Category = @CategoryName)
    --print  @OptID
    --print  @CatID
    --We now have the opt in email ID and the opt in category ID
    --Add the user to the opt in email categoryID

    IF (SELECT count(*) FROM  {databaseOwner}[{objectQualifier}DataSprings_OptInEmailCategory] WHERE OptInEmailID = @OptID AND OptInCategoryID = @CatID AND InActive = 0) = 1
    BEGIN
    UPDATE {databaseOwner}[{objectQualifier}DataSprings_OptInEmailCategory]
    Set OptIn = 0
    Where OptInEmailID = @OptID
    AND OptInCategoryID = @CatID
    END

    GO

     



    Dennis KyleUser is Offline
    skipping stones
    skipping stones
    Posts:11
    Avatar

    --
    04-18-2011 11:39 AM
    We have been utilizing these scripts for some time without fail.  However, in some recent testing on a subscription model we are building for an organization we are noticing that after 6, 7, or 8 updates to the DR form we have created it no longer adds or removes the user from the opt-in email.  This is very crazy.  We do not see any logs that show there is an error and it does work fine for the first few but after many updates it just stops working.  Has anyone else seen this problem.  In a brief discussion with Chad he thought it might have been an issue of the Stored Procedure not accounting for the InActive field but after looking at the SP it appears to account for it.

    I am really lost on this situation and any help is much appreciated.


    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