Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Member Area that includes the forum
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Member Area that includes the forum

 Post Reply Post Reply
Author
kjmcsd View Drop Down
Newbie
Newbie


Joined: 09 October 2003
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote kjmcsd Quote  Post ReplyReply Direct Link To This Post Topic: Member Area that includes the forum
    Posted: 20 November 2003 at 10:46am
I trying to create a member area that includes the forum. What I want is: I would like a user to login to the member area and once their username and password has been identified, it redirects them to the frontpage of the member site. And on the frontpage their will be a link to the forum. When they click the link I don't want them to have to login again. I want to use the forum database for everything. I thought I would check to see if anyone has done this before and can show me how to do it.

I search the discussion forum and it seems like alot of people wanted this before me but nobody never told them how to do it.


I love the forum! Keep them coming!

Edited by kjmcsd
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2003 at 9:41pm

I am working on a site integration / universal login mod for our website http://www.caribbeanchoice.com where I already have built part of it.

Once I get it perfected, I will release a mod that does that.

Since the forum was not written for integrating into a website, many pages need to be modified, and wording needs to be changed on a variety of pages to reflect the fact that the forum login is now actually a site login.

The first part of the site integration has gone really well though.  Check out my site to see what I've done so far.



Edited by wistex
Back to Top
kjmcsd View Drop Down
Newbie
Newbie


Joined: 09 October 2003
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote kjmcsd Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2003 at 7:30am
It looks finished to me. You did a great job! Did you post it yet?
Back to Top
Bluefrog View Drop Down
Senior Member
Senior Member


Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bluefrog Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2003 at 7:55am

The Invision portal does this from what I understand.... check with Maddog for more info on that.

 

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


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2003 at 9:07pm

It's a pretty complicated mod to get it to do everything you want.  And it would take a lot of customizing for your site anyway since every site is different.

Here is a quick and dirty way of getting started with this:

  1. Include /forum/common.asp on the pages where you want the Universal Login.  This will make all the necessary variables available, plus connect to the database for you.  It also will keep track of active users on that page too (as if they were in the forum).  Our Active Users are tracked site-wide because of this.  Note that the /forum/common.asp contains a lot of unnecessary code that is necessary for the forum, but not your pages, so you may want to get rid of some of that later, but if you want to get started right away, then you can simply include that file.
      
  2. Create another include file called /forum/common-disconnect.asp and put it at the bottom of any page where you include forum/common.asp.  Here is the code to put into that file:
      
    <%
     'Clean up
     Set rsCommon = Nothing
     adoCon.Close
     Set adoCon = Nothing
     rsCommon.close
    %>

      
    Or alternately, you can include the cleanup code in the page itself.  I prefer the include method.
      
  3. Include and/or modify code from the forum pages.  If you want the login button, then copy that from the forum code.  If you want the settings button, copy that from the forum code.  You want the stats?  Copy that from the forum code.  Basically anything that works on the forum page will now work on your page.  (On my site I modified it significantly to do what I wanted instead of just using his code.)

Note that if you use Borg's code, you cannot redistribute it according to the license agreement without his permission.

Originally posted by License Agreement License Agreement wrote:

You may use parts of this program including source code and images in your own private work, but you may NOT redistribute, repackage, sublicense, copy, or sell the whole or any part of this program even if it is modified or reverse engineered in whole or in part without the explicit written permission of the copyright holder.

Copyright notices must be transferred to any file that any source code from this program in whole or in part used within.

It is forbidden to repackage in full or any part of this software including source code and images as your own work and redistribute for profit or for free without the explicit written permission of the copyright holder.

You may not pass off the whole or any part of this software as your own work.

On that last note, I want to say that Borg actually wrote most of my Universal Login (unknowingly).  I just strategically placed and altered the code to get it to do what I wanted.  I did make many changes though.

Later, when I have time, I will see about posting the mod that allows the login and logout scripts to return to the page they came from.  (i.e. when they click login, it returns them to the same page they clicked login at when they are done logging in.)  Without this mod, when people login or logout, they will arrive at the forum main page instead of back where they came from.

That should get you started.

  • Here is a demo of the Universal Login.
  • Here is a demo of our newsletters function (which is basically a read-only forum I post newsletters to).  This uses the watch/un-watch this forum feature of the forums, modified so that the wording says newsletters instead of forums where appropriate.

Enjoy!

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.