Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Integrating with an existing user data base
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mikevf
Starting Member

1 Posts

Posted - 02 May 2001 :  18:46:20  Show Profile  Visit mikevf's Homepage
I've been looking for a solid msgboard and snitz looks great. I'd like to allow anyone to read msgs but restrict posting to paying members. I'm currently using comersus to sell subscriptions so I already have a database of users. My questions (in order of priority) are:

1. Is there a simple way to remove registration and integrate login with my existing user database? In checking the competition I see that ASP Fast Forum has done a great job of abstracting the user loging information and one need only read from thier exiting db and set 4 session variables. Can I do something comparable for Snitz? (ASPFF directions were in their FAQ at http://www.aspfastforum.com/aspfastforum/faq.asp#a4

2. Can I set permissions with Snitz based on membership level (gold, silver, platnum). Looks like there may be an addon for this but I don't think it addresses by previous concern.

3. Does snitz support the concept of membership durations and expiration?

If I can find a reasonable answer to question #1 I think I can work around the other problems. Any help is much appreciated. -Mike


MorningZ
Junior Member

USA
169 Posts

Posted - 02 May 2001 :  20:17:21  Show Profile  Visit MorningZ's Homepage  Send MorningZ an AOL message
1) you can set

Response.Cookies( strUniqueID & "user")("name") = --- your name from login ---
Response.Cookies( strUniqueID & "user")("pword") = --- password ----
Response.Cookies( strUniqueID & "user")("level") = ---- level ----

and optionally
Response.Cookies( strUniqueID & "user").Expires = DateAdd("y",1,Now())

when they use your login

I do this on one of my sites and it works nicely

2) There is a "group" option on the "create/modify" forum page of admins

3) it'd be easy to put a check in the snitz login check to make sure that today isnt greater than the expiration date.... check out the way snitz ( and MANY other boards ) use a slick function to convert the hard to manage "Now()" format to a nice easy to manage 14 length string



Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 03 May 2001 :  01:03:59  Show Profile
I am finishing up a cookieless hack to use my existing asp userbase. I haven't found all the places I need to change yet, but the basics work. I stuck an authentication class at the top of every Snitz page.

I added a field to the Members table to hold the existing user ID, and in inc_top.asp added some code to stuff a member in the Snitz table if the ID isn't already there. I don't have my notes handy right now, but there are quite a few places in the code that need changing if you don't want to use a cookie, and I haven't found them all yet.

The problem is the changes are fairly extensive, so it becomes a pain when there is a new Snitz release. What I have is functional, new site members are automatically added the first time they visit the forum (transparently to them).


======
Doug G
======
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07