Print Page | Close Window

Site Integration - Registering/Login

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=8138
Printed Date: 06 April 2026 at 10:58pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Site Integration - Registering/Login
Posted By: surrealtek
Subject: Site Integration - Registering/Login
Date Posted: 16 December 2003 at 12:12pm
I have an existing website i would like to integrate this forum with.  My existing site already has a username and password.  Is there any integration tools or scripts or a way to integrate my existing username and passwords into your username and password fields.  Or a way to go and manually run them through the usercode function to get the correct usercode and password.  Thanks ahead of time!



Replies:
Posted By: india
Date Posted: 16 December 2003 at 12:15pm

Well, if i understood it correctly then u cant bcuz userids u can but passwords at forum are encrypted so it wont work.

let me know if i didnt understand it..



Posted By: surrealtek
Date Posted: 16 December 2003 at 12:19pm

say i make everyone sign up again....and they are using my login page.  is there a page i can send the username and password to so that it gets encrypted and put in the forum database and gets put in my database too.  my database and the forum database are on 2 seperate sql servers for speed.  but are all using one webserver to run the pages.  is this possible???



Posted By: maddkat
Date Posted: 16 December 2003 at 12:23pm
you could disable the encrypted passwords.

Although I wouldent recommend it.


Posted By: india
Date Posted: 16 December 2003 at 12:39pm

Originally posted by maddkat maddkat wrote:

you could disable the encrypted passwords.

Although I wouldent recommend it.

How can u disable it if you are running v7.6 ??



Posted By: thekiwi
Date Posted: 16 December 2003 at 12:45pm

Originally posted by surrealtek surrealtek wrote:

I have an existing website i would like to integrate this forum with.  My existing site already has a username and password.  Is there any integration tools or scripts or a way to integrate my existing username and passwords into your username and password fields.  Or a way to go and manually run them through the usercode function to get the correct usercode and password.  Thanks ahead of time!

We already do this, but it is only really suited for someone who is comfortable with SQL Server, triggers etc.

We have our own login, which authenticates with our own tables (like you do)

This login page sets the cookies which WWF uses.  Once these cookies are set, there is no prompting for a second login.

The complicated part is the trigger to replicate our "user data" to the Author table in WWF.  We do this with a trigger for INSERT in our own table ... which populates across to WWF.  With this method there is no need to worry about passwords etc etc as all login/encryption is handles by our tables ... we only use the wwfAuthor table for the "AuthID" for association with postings etc.



-------------
Cheers
TheKiwi
http://www.infobahn.co.nz - Internet Infobahn - website design and hosting


Posted By: maddkat
Date Posted: 16 December 2003 at 4:10pm
yea just use the quick login code.


Posted By: maddkat
Date Posted: 16 December 2003 at 4:13pm
Originally posted by india india wrote:

Originally posted by maddkat maddkat wrote:

you could disable the encrypted passwords.

Although I wouldent recommend it.

How can u disable it if you are running v7.6 ??


look in common.asp for
Const blnEncryptedPasswords = true
change the value if you wish to false


Posted By: surrealtek
Date Posted: 16 December 2003 at 4:44pm
Originally posted by thekiwi thekiwi wrote:

Originally posted by surrealtek surrealtek wrote:

I have an existing website i would like to integrate this forum with.  My existing site already has a username and password.  Is there any integration tools or scripts or a way to integrate my existing username and passwords into your username and password fields.  Or a way to go and manually run them through the usercode function to get the correct usercode and password.  Thanks ahead of time!

We already do this, but it is only really suited for someone who is comfortable with SQL Server, triggers etc.

We have our own login, which authenticates with our own tables (like you do)

This login page sets the cookies which WWF uses.  Once these cookies are set, there is no prompting for a second login.

The complicated part is the trigger to replicate our "user data" to the Author table in WWF.  We do this with a trigger for INSERT in our own table ... which populates across to WWF.  With this method there is no need to worry about passwords etc etc as all login/encryption is handles by our tables ... we only use the wwfAuthor table for the "AuthID" for association with postings etc.

yes i am a SQL DBA....i know i can copy the usercode and username once its populated using your login.  i was wondering if i could make my own login screen and have the fields sent via querystring or form into my database and then sent to your register page also and both would then be populated at the same time and yours would be encrypted your way and mine my way and just use the same cookie to log both sites then i could take out the login for the forum.  do you understand.  i'll explain more if needed.  thanks!



Posted By: MrSandman
Date Posted: 17 December 2003 at 8:49am

I have a php-nuke 6.9 website which I display the WWF forums (7.5) in an iframe from an iframe module linked in the module directory.

I need to find a way to transfer the necessary nuke-users_table  info directly to the MS Access DB so that logging in or out of forums is not neccessary - I saw in these forums a mod that shortens the login registration form so I would asume one could become a registered member with limited information - this way if they lose my site cookie and return - logging in on main page will allow them to view forums without logging in again -VERY CONFUSING PROCCESS FOR THE AVERAGE JOE LOL

I restricted access to forums for "site" registered members only

so forum registration is not really neccesary - HEEEEEEEEEELLLLLLLLPPPP!!!!!   must be a way to automate the transfer of this sql table(s)  info to the MS Access DB

does anyone know how?



Posted By: india
Date Posted: 17 December 2003 at 9:09am

hi,

I am not sure whether it will work or not bcuz even if u copy userids u wont be able 2  copy password.

webwiz forums use 160bit encryption of passwords.



Posted By: surrealtek
Date Posted: 17 December 2003 at 12:15pm
Originally posted by india india wrote:

hi,

I am not sure whether it will work or not bcuz even if u copy userids u wont be able 2  copy password.

webwiz forums use 160bit encryption of passwords.

i dont you have the slightest clue to what i'm talking about,but thank you for trying.

 



Posted By: india
Date Posted: 17 December 2003 at 12:18pm
Originally posted by surrealtek surrealtek wrote:

Originally posted by india india wrote:

hi,

I am not sure whether it will work or not bcuz even if u copy userids u wont be able 2  copy password.

webwiz forums use 160bit encryption of passwords.

i dont you have the slightest clue to what i'm talking about,but thank you for trying.

 

my responses were in reply 2 MrSandman posts.



Posted By: india
Date Posted: 17 December 2003 at 12:23pm
Originally posted by maddkat maddkat wrote:

Originally posted by india india wrote:

Originally posted by maddkat maddkat wrote:

you could disable the encrypted passwords.

Although I wouldent recommend it.

How can u disable it if you are running v7.6 ??


look in common.asp for
Const blnEncryptedPasswords = true
change the value if you wish to false

hi maddkat,
thx 4 ur reply.
u mean changing that value in common.asp will change the database too so that it displays members passwords in clear text ?
i have 1 test forum running on my IIS.
Suppose i have 100members and encrypted passwords. now when i logon 2 database, i cant see their pass.
if i change that value, can i seee those pass in clear text ? if yes, anything else reqd? but this can be risky too bcuz ppl who have knowledge on this forum will download database and see the pass.



Posted By: surrealtek
Date Posted: 17 December 2003 at 12:24pm
Originally posted by india india wrote:

Originally posted by surrealtek surrealtek wrote:

Originally posted by india india wrote:

hi,

I am not sure whether it will work or not bcuz even if u copy userids u wont be able 2  copy password.

webwiz forums use 160bit encryption of passwords.

i dont you have the slightest clue to what i'm talking about,but thank you for trying.

 

my responses were in reply 2 MrSandman posts.

if you read back through my post it will explain more...but i understand about the encryption which is great and all but there has to be a way to pass variables to the register page like you are doing a forum submit from the page w/out actually being on that page.  like from my own login page to there login page and from my own signup page to there signup page.  this will let users login/signup through my own pages but still use the code of the forum pages to encrypt and login etc.  you see?



Posted By: pedigree
Date Posted: 17 December 2003 at 6:54pm

If you want to integrate WWG and "Product X" then what you would have to do is rewrite the authenication code in either of the programs to process the username/passwords of the other.

Example - if you want WWG to authenicate users against a phpNuke forum, then you would have to hash the entered password using the phpNuke code (but in ASP ie a rewrite) and vice versa.  You can change all the authenicate code as demostrated in the Windows security version of the code.

I dont know about phpNuke but I think its passwords are stored as a hash (give up on trying to reverse the hash to give the password, you cant) and WWG is 160 bit so you cant even just copy the hash codes over.

A code rewrite of at least one is going to be required.  Try asp2php and feed it the php login code file, see if it gives you something that you could possibly plug into WWG.  Either that or attempt to set WWG cookies from Product X.

p.



Posted By: surrealtek
Date Posted: 18 December 2003 at 1:34pm
Originally posted by pedigree pedigree wrote:

If you want to integrate WWG and "Product X" then what you would have to do is rewrite the authenication code in either of the programs to process the username/passwords of the other.

Example - if you want WWG to authenicate users against a phpNuke forum, then you would have to hash the entered password using the phpNuke code (but in ASP ie a rewrite) and vice versa.  You can change all the authenicate code as demostrated in the Windows security version of the code.

I dont know about phpNuke but I think its passwords are stored as a hash (give up on trying to reverse the hash to give the password, you cant) and WWG is 160 bit so you cant even just copy the hash codes over.

A code rewrite of at least one is going to be required.  Try asp2php and feed it the php login code file, see if it gives you something that you could possibly plug into WWG.  Either that or attempt to set WWG cookies from Product X.

p.

thanks man....yea i was thinking about setting the cookies across the whole application using the WWG cookie.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net