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)
 Statistics
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

animedj
Junior Member

USA
190 Posts

Posted - 07 August 2000 :  17:53:27  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
hmm Are you sure it appears as <% categories %> ??? then that might be your problem because it should be <%= categories %>

Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 07 August 2000 :  20:18:09  Show Profile  Send Lord Maverick an ICQ Message
Animedj,

I was using the right code - just did'nt type it right in my last post. I'm using <%= Categories %> and nothing shows for this value.

Looks like this variable does'nt have a value on my board. Strange...

Go to Top of Page

nylemrak
Starting Member

USA
30 Posts

Posted - 07 August 2000 :  21:11:54  Show Profile  Visit nylemrak's Homepage  Send nylemrak an ICQ Message
error '80020009'
Exception occurred.

/forum/inc_functions.asp, line 538


got a clue what this error means? this only occurs when i change levels for users from regular to moderators after installing the statistics.asp

***********
kay bentain



Edited by - nylemrak on 07 August 2000 21:29:46

Edited by - nylemrak on 07 August 2000 21:39:26
Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 07 August 2000 :  21:29:52  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
Hey lord.. do you have this code in the statistics.asp file :

if strDBType = "access" then
strSQL = "SELECT count(FORUM_ID) AS [forums] "
else
strSQL = "SELECT count(FORUM_ID) forums "
end if

because if you do then it isn't <%= categories %> it should be <%= forums %>. Hope that helps. And Nylemrak, could you post line 535-540 from you inc_functions.asp file??

Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 07 August 2000 :  21:33:31  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
ohh I know... I should have start adding version #s to the files. That was a bug that it had with only moderators, why.. I don't knwow.. anyways that is fixed so I would recommend you to d/l again the zip and install it again.

Go to Top of Page

nylemrak
Starting Member

USA
30 Posts

Posted - 07 August 2000 :  21:42:24  Show Profile  Visit nylemrak's Homepage  Send nylemrak an ICQ Message
thanks i'm gonna try the new one

:)

***********
kay bentain

Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 07 August 2000 :  22:07:24  Show Profile  Visit Kal Corp's Homepage
Just downloaded and tested <img src=icon_smile_sad.gif border=0 align=middle>

(missing operator) in query expression 'FORUM_TOPICS.T_LAST_POST FORUM_FORUM.F_SUBJECT'.
/Windowsforums/statistics.asp, line 38

Did I miss something?

Thanks

Kal's Forums
http://vasserver.dyndns.org/Forums/default.asp
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 07 August 2000 :  22:13:13  Show Profile
I got the same error after reinstalling. I changed the code that <b>pier</b> mentioned in his post and it's working again. <b>pier's</b> post is back on page 1 of this topic.

Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 07 August 2000 :  22:23:08  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
Sorry I thought I uploaded the fixed version to my server. Yep with the code from pier it should work as I forgot to add a <b>,</b> in the query after T_last_post. It shoul look like this:

strTablePrefix & "TOPICS.T_LAST_POST, " & _

Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 07 August 2000 :  23:27:25  Show Profile  Visit Kal Corp's Homepage
Looks good <img src=icon_smile.gif border=0 align=middle>

Thanks


Kal's Forums
http://vasserver.dyndns.org/Forums/default.asp
Go to Top of Page

Barry
Starting Member

13 Posts

Posted - 08 August 2000 :  00:43:59  Show Profile
Hi,

I have installed the Statistics hack and am getting an error when editing ONLY the first message in a thread.

Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
/forum/post.asp, line 160

....which looks to be this code
if Request.QueryString("method") = "EditTopic" then
TxtMsg = rs("T_MESSAGE")
else

Can you help?
Thanks!

PS...I also had to alter the COLSPAN code so that it would show correctly in Netscape (IE is so much more forgiving!!!)...it was drawing an extra <td> that messed up the table.

Also animedj, I like the avatar hack and the extended profiles you have on your site...any chance of sharing the code on those?

Talk Soon,
Barry


Go to Top of Page

Nathan L
New Member

USA
83 Posts

Posted - 08 August 2000 :  02:25:14  Show Profile  Send Nathan L an AOL message  Send Nathan L an ICQ Message  Send Nathan L a Yahoo! Message
Hmmm, not getting that error....

Response.Write ("The Reign of Nice")
Go to Top of Page

blkrogue
New Member

USA
79 Posts

Posted - 08 August 2000 :  05:30:02  Show Profile
In order to make sure you can also add the stats maybe to the top of the page (just below the first table row and above the first category) you have to make sure you change the rs object used in the statistics.asp to a different name (either rsStats or something like that).

This way you aren't getting any conflicts with the rs objects used in the default.asp page.

Maybe it's an idea to change it to a different name all the same, just to prefend errors in the future animedj?



Blkrogue

In the darkness of my soul a sparkling light has appeared
Go to Top of Page

blkrogue
New Member

USA
79 Posts

Posted - 08 August 2000 :  06:27:43  Show Profile
Oke, I have made some modifications to animedj's statistics.asp and to the default.asp. This way it also includes the 'You last visited - ' message and I have removed that line from the default.asp (and now have put the statistics box between the first table row and the first category.

You can download it at:
http://www.geocities.com/blkrogue99/forumhacks/newstats.zip

I haven't renamed the statistics.asp so back up animedj's one if you aren't sure you want this one, oke?

Blkrogue

In the darkness of my soul a sparkling light has appeared



Edited by - blkrogue on 08 August 2000 06:29:06
Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 08 August 2000 :  08:44:53  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
hmm, Barry I have checked and I can't get the error to work and it shouldn't be this hack related as it doesn't touch post.asp or inc_functions. what I would recommend maybe it's to restore inc_functions.asp from the original zip and see what happens. Also BlkRogue, there is no conflict in the rs object as where is located it's outside the rs.eof loop and so the rs is empty. The error I was able to trace it to inc_functions.asp when it does a level check and it gives a result for a moderator. why it messes up the variable users.. I can't quite figure that out yet...

Go to Top of Page
Page: of 4 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.42 seconds. Powered By: Snitz Forums 2000 Version 3.4.07