Author |
Topic  |
|
digmind
Junior Member
 
Greece
177 Posts |
Posted - 04 June 2002 : 05:20:42
|
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
|
you should either check the mLev value which will be 0 for anyone not logged in, or check the strDBNtUSerName which should be ""
|
 |
|
digmind
Junior Member
 
Greece
177 Posts |
Posted - 04 June 2002 : 07:00:40
|
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 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 04 June 2002 : 07:08:47
|
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
|
 |
|
digmind
Junior Member
 
Greece
177 Posts |
Posted - 04 June 2002 : 07:50:56
|
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 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 04 June 2002 : 10:25:49
|
inc_top.asp
|
 |
|
|
Topic  |
|