Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Basics on integrating forum log-in with website
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Basics on integrating forum log-in with website

 Post Reply Post Reply Page  12>
Author
 Rating: Topic Rating: 1 Votes, Average 5.00  Topic Search Topic Search  Topic Options Topic Options
TonyLoco View Drop Down
Newbie
Newbie


Joined: 28 October 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote TonyLoco Quote  Post ReplyReply Direct Link To This Post Topic: Basics on integrating forum log-in with website
    Posted: 12 November 2008 at 8:17pm
Is there a particular forum post that covers the basics of integrating the web wiz log-in system with the log-in system of an existing website?
 
I.e. I want my website forum link to be streamlined so that if people are logged in to the website, they will also be logged into the forum.
 
This means I would need to either edit my log-in webpage to work with the forum "author" table, or I would need to modify the forum code to work with my table of users.
 
Upon initial examination of the "author" table and log-in pages ("login_user.asp'") for the forum, I noticed that the forums log-in system is far more complex than mine and uses password encryption, etc. So my initial thought is to go with the forum log-in system.
 
Therefore I would simply delete my log-in web pages and table of users and simply redirect my website users to the forum log-in pages. Of course this also means that I would need to know the name of the relevant cookies that store whether or not a user is already logged in etc.
 
So basicaly I wanted to know if someone has already written a forum topic that covers this basic info. I.e:
 
-An introduction to how the log-in system works (cookie names, field names, etc.)
 
-Some tips and tricks on simple ways to edit the log-in system that wont cause problems later on.
 
Thanks in advance.
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: 13 November 2008 at 8:29am
There is a built in existing member API just for this. It takes about 5 minutes to setup and is very simple to do.

Just open in notepad the file 'functions/functions_member_API.asp' and follow the instructions in that file on how to set it up.
Back to Top
TonyLoco View Drop Down
Newbie
Newbie


Joined: 28 October 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote TonyLoco Quote  Post ReplyReply Direct Link To This Post Posted: 13 November 2008 at 7:08pm
Thanks for that Bruce, that is very useful.
 
Although I might actually prefer to use your log-in system as it seems to be more secure (i.e. password encryption, email verification, etc.)
 
Is there an equally simple way to do it the other way around? I.e. redirect to your forum log-in pages and pick up your cookies / system variables to determine if someone is already logged into the site?
 
As far as I can tell this would just be a matter of synchronizing cookies and system variables right? Also I would need to know which fields in the forum's "author" table are required. My create account page only asks users to enter username, password, email, and Country.
 
The forum registration page asks many more forum specific things (i.e. avatar, time zone, etc.) that may just confuse people and discourage them from registering with the website if they dont intend to use the forum. If I was to use the forum log-in page I might want to remove those and just eneter default values into the author table.
 
Maybe it is altogther a little too complicated to do it the other way around?


Edited by TonyLoco - 13 November 2008 at 7:16pm
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: 14 November 2008 at 7:51am
The other way around would be much more complicated. It would require calling the login and session tracking functions found in files in the functions folder.
Back to Top
Wayne G. View Drop Down
Newbie
Newbie
Avatar

Joined: 18 November 2008
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wayne G. Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2008 at 7:46pm
Hi Bruce:
   How do you do this for NewsPad?
 
Thanks,

Wayne G.
 
 
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: 01 December 2008 at 7:55pm
This is not something built into NewsPad due to anti-spam laws you can not just auto subscribe a user to receiving emails as it is illegal.
Back to Top
abeez View Drop Down
Newbie
Newbie
Avatar

Joined: 29 January 2009
Location: Crawley - UK
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote abeez Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2009 at 4:44am
Just trying out a few things and new here, about, Member API....

I don't understand first part below----------
'To use the Web Wiz Forums member API in your existing member login system you need to
'set the following session variables for the members username, password, email address
'so that they can be passed across to Web Wiz Forums to login in your member

'    Session("USER") = Member_Username
'    Session("PASSWORD") = Member_Password
'    Session("EMAIL") = Member_Email

'Replace 'Member_Username' with the username of your member
'Replace 'Member_Password' with the password of your member
'Replace 'Member_Email' with the password of your member (this one is optional)

'****************************************************************************************

Can I ask where specifically I put this, or what do I amend?

Many thanks
Alan
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: 30 January 2009 at 9:37am
You need to put this into your own websites login page and set these variables with your members login information. They can then be passed to Web Wiz Forums.
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.