Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 29 April 2001 : 05:44:03
|
Hello,
I just found a way to hide items until users login to the forums;
<% if (mlev = 4 or mlev = 3 or mlev = 2 or mlev = 1) or (lcase(strNoCookies) = "1") then %> <!--#include file="privatemess.asp"--> <% end if %>
As you see I have done it with the private messages as I figured others do not need this as they need to login to use it, so I thought that I would pass the code about.
If you know a better way of doing this, then please let me know. I am only new to this ASP coding, but learning fast.
Regards,
Webmaster @ Classic Motor Cycling Classic Motor Cycling |
|