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: MOD Implementation
 blanking link until logged in for mods
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

digmind
Junior Member

Greece
177 Posts

Posted - 04 June 2002 :  05:20:42  Show Profile  Send digmind a Yahoo! Message
I have implemented a few mods, but 2 in perticular i am trying ot get set to only work with registration are. pm, and dream chat. I have links to the asp's wich reside in a seperate folder then my main one. I am able ot open them and get all things working. My site has it's own login (i do use the snitz db for names and passwords though) and i was wondering if i can deactivate the links until they have registered, or how i can check to see that they are logged in besides the login of the snitz. I have changed my db connection to my_con from the my_Conn of the snitz, any help would be appreciated. i can post my login if nessessary. and i'm using 3.3.03 (with all security patches)

DigMind



Thryle 7

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 04 June 2002 :  06:46:40  Show Profile  Visit HuwR's Homepage
you should either check the mLev value which will be 0 for anyone not logged in, or check the strDBNtUSerName which should be ""

Go to Top of Page

digmind
Junior Member

Greece
177 Posts

Posted - 04 June 2002 :  07:00:40  Show Profile  Send digmind a Yahoo! Message
I tried the 0 lvl, but it is outside the forum, on a main page. and i can't seem to get the db connection open.

can i make 2 db connections on the same asp?
use the one for the site, and another for the forum pieces i have on the site?




Thryle 7
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 04 June 2002 :  07:08:47  Show Profile  Visit HuwR's Homepage
you will need to examine the code in inc_top.asp where it sets mlev, and then duplicate it in your file.

you can open as many connections to the db as you want as long as the server supports it

Go to Top of Page

digmind
Junior Member

Greece
177 Posts

Posted - 04 June 2002 :  07:50:56  Show Profile  Send digmind a Yahoo! Message
Thanks HuwR got it runnin, wasn't to sure about the double con strings but i have it running. i have one last ? for ya. do u know where is the redirect script for the login sequence? there is the auto and the linked one. i thought in config.asp




Thryle 7
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 04 June 2002 :  10:25:49  Show Profile  Visit HuwR's Homepage
inc_top.asp

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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07