Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Application Integration
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Application Integration

 Post Reply Post Reply Page  12>
Author
OR_JR View Drop Down
Newbie
Newbie


Joined: 05 July 2003
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote OR_JR Quote  Post ReplyReply Direct Link To This Post Topic: Application Integration
    Posted: 09 February 2004 at 2:00am

Hello,

I am using WWF 7.6.... We are currently integrating the forum into our website and also trying to integrate the username/password into the web application we use on this site also... but for the application to check the password in the db, its cant since this is encrypted... so everyone would get an error trying to login... Is it possible to find the routine for this? Or is there something else i can do?? PLEASE HELP!! We may have wasted alot of time here already but i hope not... Thanks in advance... JR

Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2004 at 3:10am
Originally posted by OR_JR OR_JR wrote:

Hello,

I am using WWF 7.6.... We are currently integrating the forum into our website and also trying to integrate the username/password into the web application we use on this site also... but for the application to check the password in the db, its cant since this is encrypted... so everyone would get an error trying to login... Is it possible to find the routine for this? Or is there something else i can do?? PLEASE HELP!! We may have wasted alot of time here already but i hope not... Thanks in advance... JR

It still amazes me that people still follow the track of integration which involves authenticating against the WWF tables, or feel that is the only approach.

We have successfully, and very easily, integrated our shop app, member area and associated apps with WWF by authenticating against our own database and leaving the WWF alone.

When we login to the site all we have to do is set the WWF UID cookie .. and everything is done.

The ONLY coding that was involved was setting a trigger on our own customer table which copies across member details from our tables to WWF .. and it wasn't a complicated trigger.

Back to Top
wade-o View Drop Down
Newbie
Newbie


Joined: 09 February 2004
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote wade-o Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2004 at 3:03pm

Im going to try the same approach.  I agree, it's a simplier tactic.  Unfortunately I'm not using a SQL database for my current user database.  It's an Access database.  Do you have an ASP include of the code you used to replicate the information into WWF's tables?

I know I (and others) would appreciate it.

Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2004 at 3:35pm
Originally posted by wade-o wade-o wrote:

Im going to try the same approach.  I agree, it's a simplier tactic.  Unfortunately I'm not using a SQL database for my current user database.  It's an Access database.  Do you have an ASP include of the code you used to replicate the information into WWF's tables?

I know I (and others) would appreciate it.

No ... not as an ASP page.

As it is an SQL trigger it occurs at the database level ... so whenever we add a customer record to our table, it automatically populates the WWF Author table.

For example, our trigger on insrt calls the following stored procedure:

CREATE PROCEDURE sp_AddUserForum
 @UserID int,
 @UserName varchar(60),
 @FirstName varchar(20),
  @LastName varchar(40),
 @Email varchar(50),
 @Password varchar(20),
 @City varchar(50),
 @State varchar(50),
 @Country varchar(50)

AS

Begin

 Insert into wwfAuthor (Author_ID,Group_ID,Username,Real_Name, User_Code, Password, Salt, Author_EMail, Show_EMail, Join_Date)
  Values
 (@UserID, 4, @UserName,  @Firstname + ' ' + @Lastname, @UserName + '1245FGH', @Password, 'GJDS456', @Email, 0, getdate() )


End
GO

Back to Top
stovellp View Drop Down
Newbie
Newbie
Avatar

Joined: 16 May 2004
Location: Austria
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote stovellp Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2004 at 3:53am

Sorry for bumping an old thread, but I am interested in the topic here.

I have an ASP.NET site that I want to integrate with the Web Wiz Forums in the same way the original poster did. My site's Users table has basically the same information as tblAuthors, so there is no point me keeping both tables.

I have disabled the encrypted passwords feature, so when someone clicks my normal login, I simply point them to the WWForums login page. When they register, I point them to the WWForums registration page. It's all pretty simple so far.

But, when my other pages want to know who the currently logged in user is, how do I check? I understand there is a "UID" cookie that stores info on the current user. Do I simply take that value and check it against the User_code field in tblAuthors?

That should be the only processing I need to do. Thanks in advance for helping!

Back to Top
lamboap View Drop Down
Newbie
Newbie
Avatar

Joined: 26 May 2004
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote lamboap Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2004 at 1:45am
Originally posted by thekiwi thekiwi wrote:

Originally posted by wade-o wade-o wrote:

Im going to try the same approach.  I agree, it's a simplier tactic.  Unfortunately I'm not using a SQL database for my current user database.  It's an Access database.  Do you have an ASP include of the code you used to replicate the information into WWF's tables?

I know I (and others) would appreciate it.

No ... not as an ASP page.

As it is an SQL trigger it occurs at the database level ... so whenever we add a customer record to our table, it automatically populates the WWF Author table.

For example, our trigger on insrt calls the following stored procedure:

CREATE PROCEDURE sp_AddUserForum
 @UserID int,
 @UserName varchar(60),
 @FirstName varchar(20),
  @LastName varchar(40),
 @Email varchar(50),
 @Password varchar(20),
 @City varchar(50),
 @State varchar(50),
 @Country varchar(50)

AS

Begin

 Insert into wwfAuthor (Author_ID,Group_ID,Username,Real_Name, User_Code, Password, Salt, Author_EMail, Show_EMail, Join_Date)
  Values
 (@UserID, 4, @UserName,  @Firstname + ' ' + @Lastname, @UserName + '1245FGH', @Password, 'GJDS456', @Email, 0, getdate() )


End
GO



Hi,
Do you have a separate page aside from the forum settings (profile) where a user can update/edit their password? or other personal information?  If so, do you also have a trigger to update the tblAuthor table when they occur?  Is there an example of such?  I have my own profile update page which I'd need to keep, and have any changes made on this page be reflected in the forum profile as well.  I will disable the ability to make those changes on the forum profile which can also be done on my original profile page (username, password, realname, email, dob, etc)  and allow update ability on forum specific items ( avatar, signature, etc).  Sorry for the lengthy reply.

Regards,
Lambert
Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2004 at 2:09pm
Originally posted by lamboap lamboap wrote:

Originally posted by thekiwi thekiwi wrote:

Originally posted by wade-o wade-o wrote:

<snip>

No ... not as an ASP page.

As it is an SQL trigger it occurs at the database level ... so whenever we add a customer record to our table, it automatically populates the WWF Author table.

For example, our trigger on insrt calls the following stored procedure:

CREATE PROCEDURE sp_AddUserForum
 <snip>


End
GO



Hi,
Do you have a separate page aside from the forum settings (profile) where a user can update/edit their password? or other personal

Yes.  My own profile page had all the personal/contact inforamtion collected.  The forum profile page has been edited to only show things like ICQ/AIM/preferences etc.

Quote

information?  If so, do you also have a trigger to update the tblAuthor table when they occur?  Is there an example of such?  I have my own

Yes ... spot on.  Have an update trigger on our Customer table

Quote

profile update page which I'd need to keep, and have any changes made on this page be reflected in the forum profile as well.  I will disable the ability to make those changes on the forum profile which can also be done on my original profile page (username, password, realname, email, dob, etc)  and allow update ability on forum specific items ( avatar, signature, etc).  Sorry for the lengthy reply.

Regards,
Lambert

Back to Top
kayaker411 View Drop Down
Newbie
Newbie


Joined: 15 June 2004
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote kayaker411 Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2004 at 9:41am
Hi TheKiwi,

I think your integration solution is the simplest I've see yet. I like that! is it possible for you to share here the code you use to set the WWF cookie on your other applications login page, of course leaving out any details for security. I have looked through the common.asp and fail to see what needs to take place cookie-wise for a user to not have to login.
I am not very familiar with using cookies

Thanks!
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.