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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 sub sForumNavigation() in inc_header.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

CarKnee
Junior Member

USA
297 Posts

Posted - 10 December 2002 :  09:57:25  Show Profile  Visit CarKnee's Homepage
Would there be any reason not to have the "register" link appear if the mLev <> 0?

I changed the code from:

if strAutoLogon <> "1" then
if strProhibitNewMembers <> "1" then

To:

if strAutoLogon <> "1" and mLev = 0 then
if strProhibitNewMembers <> "1" then

Thanks,
CarKnee


Edited by - CarKnee on 10 December 2002 09:58:05

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 10 December 2002 :  09:59:20  Show Profile  Send ruirib a Yahoo! Message
I see no difference between the unchanged and changed code. Is it me ?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 10 December 2002 :  10:08:47  Show Profile  Visit D3mon's Homepage
If a person has logged in we can assume they are already registered, then it's perfectly reasonable to hide the register link, yes.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 10 December 2002 :  10:31:30  Show Profile  Visit CarKnee's Homepage
ruirib,
If you saw the code right after I posted it then yes it was the same... I forgot to add in the part that I changed. I corrected it within a minute of posting it.

C

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 10 December 2002 :  11:31:48  Show Profile  Send ruirib a Yahoo! Message
Ok, I see it now.

Regarding the use of mlev<>0 I see what you mean. You're probably right about that, but as an admin I find it useful to be able to access every feature, just because it may be needed to test it, or even registering a temp user to enable someone to access. Personally I would change that to
and ((mlev<1) or (mlev=4)).


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 10 December 2002 :  11:35:57  Show Profile  Visit CarKnee's Homepage
Good point!

I think I will be doing the opposite for profile too... if you are not logged in then there is no need for the profile link.

CarKnee

Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 10 December 2002 :  14:18:48  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
I had removed the profile link at one point for those not logged in but I would not do it again because you can go edit your profile if you are not logged in. Some people don't log in all the time for whatever reason but the forum is set up so that you can edit your profile logged in or not so I would leave it.

@tomic

SportsBettingAcumen.com
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 10 December 2002 :  14:38:21  Show Profile  Visit CarKnee's Homepage
I'll take your word on it and change it back.

Thanks,
CarKnee

Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 10 December 2002 :  14:43:20  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Just log out and click profile and you will see what I mean, you can edit your profile while logged out.

@tomic

SportsBettingAcumen.com
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 10 December 2002 :  15:33:59  Show Profile  Visit CarKnee's Homepage
Oh, I knew about that...
I will take your word on it that people would want to.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 10 December 2002 :  17:44:14  Show Profile
Some Admins like to "pre-register" their users, that's why the register link shows whether you are logged in or not.
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07