Print Page | Close Window

Member Area that includes the forum

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=7424
Printed Date: 06 April 2026 at 3:46pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Member Area that includes the forum
Posted By: kjmcsd
Subject: Member Area that includes the forum
Date 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!



Replies:
Posted By: wistex
Date 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.



-------------
http://www.wistex.com" rel="nofollow - WisTex Solutions
http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums


Posted By: kjmcsd
Date Posted: 04 December 2003 at 7:30am
It looks finished to me. You did a great job! Did you post it yet?


Posted By: Bluefrog
Date Posted: 04 December 2003 at 7:55am

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

 



-------------
http://renegademinds.com/" rel="nofollow - Renegade Minds - Guitar Software http://renegademinds.com/Default.aspx?tabid=65" rel="nofollow - Slow Down Music


Posted By: wistex
Date 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 http://www.caribbeanchoice.com - Universal Login .
  • Here is a demo of our http://www.caribbeanchoice.com/newsletters.asp - 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!



-------------
http://www.wistex.com" rel="nofollow - WisTex Solutions
http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums



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