Author |
Topic |
|
cbremmer
Starting Member
7 Posts |
Posted - 18 September 2003 : 17:02:19
|
I apologize if this has been brought up before, I couldn't find the answer searching the archives.
I would like to hide the username and password fields at the top of the forums from my users.
But also, as and "admin" I would need to log in, how does one accomplish this?
Thanks for some great forum software!
Chris
|
Edited by - ruirib on 19 September 2003 14:02:04 |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
cbremmer
Starting Member
7 Posts |
Posted - 19 September 2003 : 11:44:49
|
quote: Originally posted by Nikkol
my guess is he wants anonymous users.
Yes, exactly.... it's being used more to display meeting minutes as opposed to a forum. No users will be allowed to post, but some are getting confused thinking they need to log in first.
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
cbremmer
Starting Member
7 Posts |
Posted - 19 September 2003 : 13:10:11
|
quote: Originally posted by ruirib
I guess you will need to add the EZ Anonymous Posting mod. Check snitzbitz.com.
well, actually the users won't be posting at all... just viewing... i was just wondering if there was a way of hiding the username and password fields at the top of the page, since they are not being used.... thanks
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 19 September 2003 : 14:04:11
|
Ok, so to do that, betweeb lines# 347-381, comment the lines shown:
if (strAuthType = "db") then
' Response.Write " <td><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><b>Username:</b></font><br />" & vbNewLine & _
' " <input type=""text"" name=""Name"" size=""10"" maxLength=""25"" value=""""></td>" & vbNewLine & _
' " <td><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><b>Password:</b></font><br />" & vbNewLine & _
' " <input type=""password"" name=""Password"" size=""10"" maxLength=""25"" value=""""></td>" & vbNewLine & _
' " <td valign=""bottom"">" & vbNewLine
' if strGfxButtons = "1" then
' Response.Write " <input src=""" & strImageUrl & "button_login.gif"" type=""image"" border=""0"" value=""Login"" id=""submit1"" name=""Login"">" & vbNewLine
' else
' Response.Write " <input type=""submit"" value=""Login"" id=""submit1"" name=""submit1"">" & vbNewLine
' end if
' Response.Write " </td>" & vbNewLine & _
' " </tr>" & vbNewLine & _
' " <tr>" & vbNewLine & _
' " <td colspan=""3"" align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine & _
' " <input type=""checkbox"" name=""SavePassWord"" value=""true"" tabindex=""-1"" CHECKED><b> Save Password</b></font></td>" & vbNewLine
else
if (strAuthType = "nt") then
Response.Write " <td><font face=""" & strDefaultFontFace & """ size=""1"" color=""" & strHiLiteFontColor & """>Please <a href=""policy.asp"" tabindex=""-1"">register</a> to post in these Forums</font></td>" & vbNewLine
end if
end if
Response.Write " </tr>" & vbNewLine
' if (lcase(strEmail) = "1") then
' Response.Write " <tr>" & vbNewLine & _
' " <td colspan=""3"" align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine & _
' " <a href=""password.asp""" & dWStatus("Choose a new password if you have forgotten your current one...") & " tabindex=""-1"">Forgot your "
' if strAuthType = "nt" then Response.Write("Admin ")
' Response.Write "Password?</a>" & vbNewLine
if (lcase(strNoCookies) = "1") then
Response.Write " |" & vbNewLine & _
" <a href=""admin_home.asp""" & dWStatus("Access the Forum Admin Functions...") & " tabindex=""-1"">Admin Options</a>" & vbNewLine
end if
' Response.Write " <br /><br /></font></td>" & vbNewLine & _
' " </tr>" & vbNewLine
' end if
I've tested this, it seems to work, even if it's not the cutest thing I've seen graphically. If you like it, ok. If you don't, I can't offer much more than this . |
Snitz 3.4 Readme | Like the support? Support Snitz too |
Edited by - ruirib on 19 September 2003 14:06:14 |
|
|
cbremmer
Starting Member
7 Posts |
Posted - 19 September 2003 : 14:45:17
|
okay, thanks a lot... I will play around with it and see what happens
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 19 September 2003 : 21:57:23
|
just download a use a Blog. |
|
|
|
cbremmer
Starting Member
7 Posts |
Posted - 22 September 2003 : 17:39:30
|
quote: Originally posted by dayve
just download a use a Blog.
exactly... that's the first thing that I tried, however... some of our users just couldn't get the hang of that format.... seemed to be a little too "complicated"? for them..... long story, but thanks for the suggestion
|
|
|
|
Topic |
|