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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 display member name
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

stuF
Average Member

United Kingdom
561 Posts

Posted - 10 June 2001 :  07:40:24  Show Profile  Visit stuF's Homepage
hi, ive modified my inc_top.asp beyond recognition, but i need to do one more thing, and that is give the user a clue as to whether theyre logged in or not, so, what i want to do, is display their name in there somwhere, so ive been looking through an original inc_top.asp but when i lift the relevant code it gives me a couple of errors, so, would someone please show me which part of the code displays the member name, i dont need to login form, or the part which says 'you are now logged on as' , just the name part.
cheers, stuart
36-degrees.co.uk forum

Ez4arab
Junior Member

479 Posts

Posted - 10 June 2001 :  09:17:14  Show Profile  Visit Ez4arab's Homepage
in the file of inc_top at line 444

this one appear in my forum
<td align="center">
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
</font>
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>" color = RED >
<%
if strAuthType="nt" then %>

do not paly in code of asp

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 10 June 2001 :  09:27:02  Show Profile
Try this:

<b><% = ChkString(strDBNTUserName, "display") %></b>
Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 10 June 2001 :  09:33:48  Show Profile  Visit stuF's Homepage
<% if strAuthType="nt" then %>
<% =Session(strCookieURL & "username")%> (<% =Session(strCookieURL & "userid") %>)
<% else if strAuthType = "db" then %>
<% = ChkString(strDBNTUserName, "display") %>
<% end if
end if
end if
end if %>
<% end if
%>
<% end if
%>

this is what i thought it ws, but it keeps giving me an error, saying expected end...
anyone?



Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 10 June 2001 :  09:43:33  Show Profile
You've got alot of end if's in there.

You'll probably just have to trace all of the end if's in your inc_top.asp file and make sure they are all correct.
Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 10 June 2001 :  09:45:22  Show Profile  Visit stuF's Homepage
cheers richard, you must have been replying at the same time as me..ill try that code out now...

stuart.

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 1.5 seconds. Powered By: Snitz Forums 2000 Version 3.4.07