Author |
Topic  |
|
CarKnee
Junior Member
 
USA
297 Posts |
Posted - 10 December 2002 : 09:57:25
|
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 |
|
D3mon
Senior Member
   
United Kingdom
1685 Posts |
Posted - 10 December 2002 : 10:08:47
|
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" |
 |
|
CarKnee
Junior Member
 
USA
297 Posts |
Posted - 10 December 2002 : 10:31:30
|
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 |
 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 10 December 2002 : 11:31:48
|
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 |
 |
|
CarKnee
Junior Member
 
USA
297 Posts |
Posted - 10 December 2002 : 11:35:57
|
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 |
 |
 |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 10 December 2002 : 14:18:48
|
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 |
 |
|
CarKnee
Junior Member
 
USA
297 Posts |
Posted - 10 December 2002 : 14:38:21
|
I'll take your word on it and change it back.
Thanks, CarKnee |
 |
 |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 10 December 2002 : 14:43:20
|
Just log out and click profile and you will see what I mean, you can edit your profile while logged out.
@tomic |
SportsBettingAcumen.com |
 |
|
CarKnee
Junior Member
 
USA
297 Posts |
Posted - 10 December 2002 : 15:33:59
|
Oh, I knew about that... I will take your word on it that people would want to.  |
 |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 10 December 2002 : 17:44:14
|
Some Admins like to "pre-register" their users, that's why the register link shows whether you are logged in or not. |
 |
|
|
Topic  |
|