Web Wiz - Green Windows Web Hosting

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

Site Integration

 Post Reply Post Reply
Author
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 Topic: Site Integration
    Posted: 17 May 2004 at 12:10am

Dear WebWizForums,

Firstly, congratulations on such an awesome forums package. I've been searching everywhere for some ASP/ASP.NET based forums and none seemed to have what I want, but the Web Wiz Forums are perfect!

The site I plan to deploy the forums on is a community site for my local area (eyre peninsula in South Australia). The site is written in ASP.NET, and contains a lot of dynamic pages. We have our own registration page, and our own login page, and we don't want our users to have to login twice (once for the site, once for the forums), and the same with registration.

Would it be at all possible to integrate our login and registration pages with the forums? I don't mind changing our pages, and I am happy to make our login forms and registration page submit to the WebWizForums pages (by changing the Action attribute of our login form for instance). But then we will have problems with the rest of our site being able to view the login - your login uses some sort of hashed password yes? Ours doesn't, but we're happy to change it.

An easier method might be to make our registration page write to both our Users table and yours, and the same with the login pages. So when a user logs in, a cookie for the forums would be planted, along with a cookie for us.

If you could provide some information as to how I might change our user authentication to use your Users table, that would be excellent. I think this would be the best method.

Yours sincerely,

Paul Stovell

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2004 at 7:16am
This has been posted on a number of times if you search the forum.

I also believe there is a mod on this in the mods forum if you do a search there also.

The forum stores the Usercode field which is stored in cookies to keep track of users.

The register.asp page handles the registration process.
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 9:00am

Thanks man, I had been searching and reading through the ASP code and I managed to get it all integrated.

These forums are great. It would be really good if the authors could write a guide on this sort of integration - what values can be changed etc.

In case anyone is interested, this is how I did it:

1) Made my login and registration pages point to WWF's login and Registration pages.
2) Changed the ASP code in the login/reg pages to return back to the web site's root after a succesful login (rather than the forums root).
3) Commented out the security lines in login_user.asp, and made my own login forms on my site point to the login_user.asp page as the action attribute of the form.
4) Changed the password encryption attribute to false (may change it back later if neccessary).
5) Modified my ASP.NET classes to use tblAuthors (WWF) as the user table, rather than my own user table, since they have the same basic information.

When my own pages are checking for a logged in user, I check the cookie "WWF" for the key "UID", and compare that value to the database. Eg:

string UserID = Request.Cookies["WWF"]["UID"];

Hope this post helps anyone else who might face the same problems.

Paul Stovell

Back to Top
bilgiyayar View Drop Down
Newbie
Newbie
Avatar

Joined: 15 September 2004
Location: Turkey
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bilgiyayar Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2004 at 3:54pm

hi,
currently we are using version ww6.34. The passwords are not encrypted in this version and we are planning to migrate to the 7.9 version which supports sql server.
We are seeking information about how to transfer the passwords stored in our db.I've searched the forum but unfortunately i did not find an answer tht matches my question.

thanks for your help

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2004 at 6:30pm
There is a conversion tool you can download on this site.
Back to Top
 Post Reply Post Reply

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.