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
 Active Users Mod 3.4b
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 17 May 2002 :  20:59:35  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
Hey hey hey!

I think I'm finally beginning to understand ASP. I'm currently learning PASCAL and I recognise whats going on.

But enough about me lol, basically I'm trying to put the active users on top of the table rather than just before the stats. I know that I have to change it via default.asp but I'm having problems there!

So the help that I need is as follows; where do i move this line to?

%>
<!--#INCLUDE FILE="inc_activeusers2.asp" -->
<%


Thank you


Nathan
Help Moderator

USA
7664 Posts

Posted - 18 May 2002 :  01:31:47  Show Profile  Visit Nathan's Homepage
This is somewher areound line 165

if (mlev = 4 or mlev = 3) or (lcase(strNoCookies) = "1") then 
call PostingOptions()
else
Response.write " "
end if
Response.Write " </td>" & vbNewline
Response.Write " </tr>" & vbNewline
%>
<!--#INCLUDE FILE="inc_activeusers2.asp" -->
<%

if rs.EOF or rs.BOF then
Response.Write " <tr>" & vbNewline & _
" <td bgcolor=""" & strCategoryCellColor & """ colspan="""
if (strShowModerators = "1") or (mlev > 0 ) then
Response.Write "6"
else
Response.Write "5"
end if
Response.Write """><font face=""" & strDefaultFontFace & """ color=""" & strCategoryFontColor & """ size=""" & strDefaultFontSize & """ valign=""top""><b>No Categories/Forums Found</b></font></td>" & vbNewline
if (mlev = 4 or mlev = 3) then
Response.Write "<td bgcolor=""" & strCategoryCellColor & """><font face=""" & strDefaultFontFace & """ color=""" & strCategoryFontColor & """ size=""" & strDefaultFontSize & """ valign=""top""> </font></td>" & vbNewline
end if
Response.Write " </tr>" & vbNewline
else


Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 18 May 2002 :  09:30:42  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
No Categories/Forums Found

I put the
%>
<!--#INCLUDE FILE="inc_activeusers2.asp" -->
<%

where you said but when i refreshed the page, there were no category

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 18 May 2002 :  15:03:54  Show Profile  Visit Nathan's Homepage
There is a record set in inc_activeusers2.asp that is nameed "rs" you are going to have to rename it to some other name.

Nathan Bales
Snitz Exchange | Do's and Dont's
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07