Enhancing the OWS Login Module and Building a Twitter Module

By Paul Deschenes
March 2010

In this tutorial we enhance the OWS Login module that we have previously created and also show you how to build an OWS Twitter module.

This tutorial continues the previous Login module tutorial, so you will need to view this tutorial first: How to Create a Custom Login Module with OWS

In this tutorial we enhance the OWS Login module by adding a "Remember Me" checkbox. We show you how to use cookies so that a users' username is remembered each time they return to the login page.

We also add a "Forgot Password" link so that the user can reset their DotNetNuke password automatically using the OWS login module. We show you how to generate a random password, email the password to the user, and then when they login, request the user to create a new password.

We also demonstrate how to create a Twitter module which pulls the search results from twitter directly into an Open Web Studio module. We show you how to access the Twitter API and format the display of the search results.

By enhancing and creating these modules we demonstrate how to use web service API queries, how to use radio buttons, control headers, working with cookies, as well as exploring some of the DNN user database properties and how to set them.

You can download the latest version of OWS from here: www.openwebstudio.com

If you are new to OWS we recommend you first of all view the six part series on How to Build a Knowledge Base Article Module.

The videos contain:

Video 1 - How to Create a "Remember Me" Login Feature

  • Introduction
  • How to add a "Remember Me" checkbox to the OWS login module
  • Register Actions / Detail Template / Login form code
  • How to add the checkbox to the login form
  • Login Actions
  • How to assign Cookies if the "Remember Me" checkbox is ticked
  • How to create a "Forgot Password" link to reset a user password
  • How to create the Send Password form
  • How to build a random password generator
  • How to capture letters from the users first name and last name
Time Length: 10min 4secs

Video 2 - How to Build a Random Password Generator

  • How to use SQL to generate a random number
  • How to create a new password using a combination of letters and numbers
  • How to assign and save the new password to the user
  • How to create the password changed success / failure message
  • How to get the portal name using SQL find
  • How to send an email with the new password details
Time Length: 10min 48secs

Video 3 - How to Request the User to Update Their Password

  • How to require the user to update their password
  • How to test if a user is required to update their password
  • How to create the form for the new password
  • How to easily reuse code with copy and paste
Time Length: 7min 36secs

Video 4 - How to Create a Twitter Module Using OWS

  • Introduction to the Twitter module
  • How to setup a Twitter search
  • OWS Control Header for the search form
  • How to query Twitter using an API and JSON
  • Explanation of the Twitter API
  • Explanation of the JSON query
  • How to set the search path
  • How to set the Column layout for the search results
  • How to format the search results
Time Length: 6min 12secs

Total Time Length: 34min 40secs

Comments

comments or questionsIf you have any comments or questions for this tutorial, please ask them in this Enhancing the OWS Login Module and Building a Twitter Module forum thread.

You need to Subscribe as a member of DNN Creative Magazine and Login to download this video tutorial.


Recommended Tutorials:

R2i Open Web Studio (OWS) Module:
'How to Build a Public Knowledge Base with OWS'
How to Import the Configuration Source Code into Open Web Studio
An Introduction to R2i Open Web Studio – Part 1
How to Build Module Interfaces in Open Web Studio – Part 2
The User Search Interface in Open Web Studio - Part 3
Personalization, Text Editor, Logging and Reporting in Open Web Studio - Part 4
Debugging, Enhanced Reporting, Importing Records and Scheduling - Part 5
Making it Cool - Creating a Mashup - Part 6 of 6
How to Create an Email Form with OWS
How to Create an iPhone App with OWS
How to Create a Portal Signup Module with OWS
How to Create a Custom Login and Register Module with OWS
Working with File Action in Open Web Studio
Enhancing the OWS Login Module and Building a Twitter Module
Form Validation, Dependant Drop Downs and Data Level Security in OWS
How to Create an Installable DotNetNuke PA Module Using OWS
How to Create a Skin Object from an OWS Configuration
OWS Advanced Techniques: User Access and Security
Getting Started With jQuery UI in OWS

DotNetMushroom (DNM) Rapid Application Developer (RAD)
How to Build a News Application with DotNetMushroom RAD
How to Style a News Application Built with DotNetMushroom RAD
How to Implement Multi-Language Localization With DotNetMushroom RAD
Language Resource Files in DotNetMushroom RAD Applications
How to Implement Paging with DotNetMushroom RAD
How to Implement a News Carousel Using DotNetMushroom RAD and JQuery
New Features in DNM 01.20.00
How to Implement a DotNetNuke User Registration Module Using DNM RAD
Creating Charts Using DNM RAD 1.3 for DotNetNuke
Creating an Events Calendar for DotNetNuke using DotNetMushroom RAD
Working with Lists in DotNetMushroom RAD
Making use of the jsTree Control in DotNetMushroom RAD

Ifinity:
URL Master Module

OnyakTech:
SigmaLive Module
OnyakTech Host Commander Module

DNN Stuff:
Aggregator Module
Module Rotator

Markit Modules:
Slideshow Module
PageEar Module

Codeplex:
Monitter4DNN Twitter Module

Oliver Hine:
Advanced Optimized Control Panel

Maps:
GeoSprawl DotNetNuke Locator Module
ZLDNN Advanced Biz Map For DotNetNuke

Evotiva:
DNNBackup Module

Smith Consulting:
DotNetNuke Smith Shopping Cart

InteractiveWebs:
InteractiveWebs Advanced Login Module
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds