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
 inc_top - adding a link
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 21 April 2002 :  15:29:43  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
Just installed "snittzy-chat" and followed the instructions within. However, the instructions for placing a 'Chat' link were a bit open. I tried to put it into my inc_top.asp file but i'm not familiar enough with asp to identify where I am going wrong.

All I want to do is add another link on the top of my forum for chat. The line to be pasted in is;

<% if strDBNTUserName = "" then %>Chat<% else %><a href="javascript:openChat()">Chat</a><% end if %>

Am I putting it in the right place, and how exactley should it be going in, if I put it in as it is, I just get errors.

The code is available here: http://www.droghedatowncentre.com/df2/inc_top.txt

Thx

macho
Junior Member

Denmark
150 Posts

Posted - 21 April 2002 :  16:57:09  Show Profile
I've put in your link, where it can be. Look for the red text!!

------------
MemberID
end if
set rsCount = my_Conn.Execute (strSql)
if rsCount.BOF or rsCount.EOF then
' No Subscriptions found, do nothing
else
SubCount = rsCount("SubCount")
rsCount.Close
set rsCount = nothing
end if
else
SubCount = 0
end if

Response.Write " <a href=""" & strHomeURL & """><acronym title=""Homepage"">Home</acronym></a>" & vbNewline & _
" |" & vbNewline
Response.Write " <% if strDBNTUserName = "" then %>Chat<% else %><a href="javascript:openChat()">Chat</a><% end if %>" & vbNewline & _
" |" & vbNewline
Response.Write " <a href=""my.asp""><acronym title=""My Personal Page"">My Page</acronym></a>" & vbNewline & _
" |" & vbNewline


------------


Don't know if your link is working and written correctly - just copied yours!

Regards

Go to Top of Page

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 21 April 2002 :  17:41:34  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
Thanks macho,

I'd love to be able to say Du er på!!!!!! but I've tried your suggested way and it doesn't appear to be working. At the same time I don't think I'll lose any sleep over it, might try and use the Pipey chat instead.


Edited by - beano_ie on 21 April 2002 17:43:17
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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07