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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Simple site stat counter mod - Version 1.1.1
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 18

rgrund
Junior Member

Austria
206 Posts

Posted - 19 February 2003 :  02:44:47  Show Profile
Hi Mas,

1st Question: That is correct. You just have to link the file proper to inc_sitestat.asp
You also need to link to:

<!--#INCLUDE FILE="config.asp"-->

2nd Question: I assume you mean that you want the stat not at vincereonline.it/forum/ but just at vincereonline.it/. If you have linked the inc_sitestat.asp proper then the code sitestat() will show the stat in your main page as well.

Robert

Internet should be OPENSOURCEd!
Go to Top of Page

potatohead
Starting Member

34 Posts

Posted - 19 February 2003 :  10:12:24  Show Profile
The drop down box for selecting the YEAR has only 1 entry, 2002..
When I generate a report I get 0 for all entries, except for users which has the correct numbers of users.

Is the year 2002 a problem ?

Also, I am running SQL, not MySQL.
Go to Top of Page

potatohead
Starting Member

34 Posts

Posted - 19 February 2003 :  10:21:06  Show Profile
About my last post, forget it.
I opened another browser (Mozilla) and now the site stats are updated and displayed correctly.
BTW I use SQL and it works fine. Funky mod ! Well done every one
Go to Top of Page

mas
New Member

78 Posts

Posted - 19 February 2003 :  10:41:55  Show Profile  Visit mas's Homepage
look if j have understand i link <!--#include file="insitestat.asp"--> and <!--#include file="config.asp"-->in all the pages not forum related for increase stat, for show the stat in a page not forum releted i have put this code "sitestat()" in the page where the stat must show?

Webmaster of VincereOnLine.it
Go to Top of Page

mas
New Member

78 Posts

Posted - 19 February 2003 :  14:17:26  Show Profile  Visit mas's Homepage
i have put this 2 code bottom of my home page
<!--#include virtual="/forum/config.asp"-->
<!--#include virtual="/forum/inc_sitestat.asp"-->

in a tab i have put this code <% sitestat() %>

an error :

Microsoft VBScript runtime error '800a01a8'

Object required: ''

/forum/inc_sitestat.asp, line 48

advice ?

Webmaster of VincereOnLine.it
Go to Top of Page

scds2003
Starting Member

United Kingdom
34 Posts

Posted - 20 February 2003 :  04:20:37  Show Profile  Visit scds2003's Homepage  Send scds2003 an ICQ Message
How do i uninstall this mod?

Im a website designer!

www.simcitydepartmentstore.co.uk
Go to Top of Page

rgrund
Junior Member

Austria
206 Posts

Posted - 20 February 2003 :  12:25:04  Show Profile
Mas,

could you post what the line 48 represents. Thanks!

Robert

Internet should be OPENSOURCEd!

Edited by - rgrund on 20 February 2003 12:28:37
Go to Top of Page

rgrund
Junior Member

Austria
206 Posts

Posted - 20 February 2003 :  12:31:40  Show Profile
scds2003,

just take out the sitestat() and the include section from your inc_header.asp and delete the lines from the admin_home section. If you have access to the db just delete the table forum_sitestat.

Robert

Internet should be OPENSOURCEd!
Go to Top of Page

mas
New Member

78 Posts

Posted - 23 February 2003 :  12:59:31  Show Profile  Visit mas's Homepage
this is the line 48 set

rs = my_conn.execute(strSql & whereSql,adOpenStatic,adCmdTxt)

Webmaster of VincereOnLine.it
Go to Top of Page

rgrund
Junior Member

Austria
206 Posts

Posted - 24 February 2003 :  00:57:16  Show Profile
Hi Mas,

I am czrrently on a business trip but this is simple to solve. There is no connection to the database set up. you will need to add this in the script. You will need to add two lines, which I can not remember exact. You can look it up in the config.asp. It goes like this

Set my_Conn = object("??????")
my_conn.open strconn???

Once you have added this then it should work.

Robert

PS: I will post the exact code on Wednesday, unless you have solved it.

Internet should be OPENSOURCEd!
Go to Top of Page

Airborne
Starting Member

38 Posts

Posted - 24 February 2003 :  12:19:53  Show Profile
Getting the following error.

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'sitestat'

/forum/Default.asp, line 1061


Line 1061 of default.asp simple states ----> sitestat()

error can be seen at the following url NCHSFootball error appears on the bottom of the page.

Edited by - Airborne on 24 February 2003 12:20:26
Go to Top of Page

rgrund
Junior Member

Austria
206 Posts

Posted - 26 February 2003 :  04:31:09  Show Profile
Airborne,
is the inc_sitestat.asp as an <!--#iclude in the inc_header?
THis is what you need

<!--#INCLUDE FILE="inc_sitestat.asp" -->

Bob

Internet should be OPENSOURCEd!
Go to Top of Page

mas
New Member

78 Posts

Posted - 26 February 2003 :  13:03:42  Show Profile  Visit mas's Homepage
rground for my problem any suggestion?
thk

Webmaster of VincereOnLine.it
Go to Top of Page

rgrund
Junior Member

Austria
206 Posts

Posted - 27 February 2003 :  07:53:08  Show Profile
Mas,

I know that this sounds stupit whenyou read my suggestion, but this works for me. Use the following code in your home page:

<!--#include virtual="/forum/config.asp"-->
<%
'We define the db conection again
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open strConnString
%>
<!--#include virtual="/forum/inc_sitestat.asp"-->


Tell me of the outcome!

Robert

Internet should be OPENSOURCEd!
Go to Top of Page

mas
New Member

78 Posts

Posted - 27 February 2003 :  15:33:13  Show Profile  Visit mas's Homepage
now no error given but for to appear the stat in home page i put this code <% sitestat() %> in a tab but it don't appear

Webmaster of VincereOnLine.it
Go to Top of Page
Page: of 18 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07