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: General / Classic ASP versions(v3.4.XX)
 Topic Count has a Mind of its own
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Cryptik
Starting Member

30 Posts

Posted - 06 May 2002 :  14:14:09  Show Profile
I have a problem with the topic cound on the main page. It ups the topic count every time someone replies. If I have one topic and one reply the topic count says two topics and so on.

Its really weird. Anyone have an idea of what I should look at. I have reset the count a couple of times and that of course works until someone replies to one of the posts.

Thanks for any info.

Cryptik

Sorry to the forum admin and moderators. I post a similar topic in the SQL forum, now looking back I should have post here.
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=27313



Edited by - Cryptik on 17 May 2002 11:47:46

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 May 2002 :  14:29:40  Show Profile
You want to give us a link to you forum so we can see what you're talking about?

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

Cryptik
Starting Member

30 Posts

Posted - 06 May 2002 :  14:39:29  Show Profile
Here you go!

http://www.eightstar.com/forum/


Cryptik

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 May 2002 :  15:30:07  Show Profile
Your topic count looks good now. 6 topics in the forum.

The topic count is incresed in the post_info.asp file. Did you make any modifications to that file?

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

Cryptik
Starting Member

30 Posts

Posted - 06 May 2002 :  16:12:29  Show Profile
I didnt make any modifications that I can recall.

The post count was reset from the admin panel. If you look now its out of wack.


Do you think I should re-upp the post_info file.

Cryptik

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 May 2002 :  18:29:02  Show Profile
Post a link to a txt version of your post_info.asp file.
If you didn't make any modifications to that file, did you make any to any file?

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

Cryptik
Starting Member

30 Posts

Posted - 06 May 2002 :  18:52:17  Show Profile
I just reupped the file from a fresh download.

Something was wrong with the other file....

I think its working fine now.

Cryptik

Go to Top of Page

Cryptik
Starting Member

30 Posts

Posted - 15 May 2002 :  10:00:14  Show Profile
It back to counting posts as topics.

This is weird


Cryptik

Go to Top of Page

Cryptik
Starting Member

30 Posts

Posted - 16 May 2002 :  10:44:02  Show Profile
I have found that it only does this if I post.

What files should I re-upp that effect this. Im sure something is screwy in the files. Im running a generic board.

Ill also post that link to the post_info file when I get into work.


Cryptik



Edited by - Cryptik on 16 May 2002 10:45:12
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 May 2002 :  10:53:41  Show Profile  Send ruirib a Yahoo! Message
quote:

What files should I re-upp that effect this. Im sure something is screwy in the files. Im running a generic board.


post.asp and post_info.asp I think.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

Cryptik
Starting Member

30 Posts

Posted - 16 May 2002 :  14:16:30  Show Profile
Ok here they are...
www.eightstar.com/filesforsnitz/post_info.txt
www.eightstar.com/filesforsnitz/post.txt

These files were just updated to ver 3.3.04

Thanks for any help !

Cryptik



Edited by - Cryptik on 17 May 2002 11:48:50

Edited by - Cryptik on 17 May 2002 14:20:07
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 18 May 2002 :  02:00:15  Show Profile
It's the DoTCount function that ups the topic count when you post a topic. Just do a search for DoTCount in post_info.asp and you see where it is called. It is called only once.

So you say that the Topic count goes up when you make a reply?

And you haven't modified any of your files, have you? You hadn't answered this question even though i asked you twice previously.

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

Cryptik
Starting Member

30 Posts

Posted - 18 May 2002 :  11:33:07  Show Profile
These files are all vanilla.

Now version 3034

If you take a look at the txt file for post_info youll see that I have no mod/hack that I have put in or had installed.

The board isnt ready for a mod yet..I want to make sure Ive got everything running ok.

It is a strange thing... there are only 9 topics and on the main page its says 12.

I reupped the 3033 files and then did the security patches and the installed over (backed them up first) them with the 3304 files.

Im sorry for rambling I Just cant for the life of me figure this out.

Cryptik




Go to Top of Page

Cryptik
Starting Member

30 Posts

Posted - 19 May 2002 :  11:15:49  Show Profile
Response.Write("New Reply Posted! It will appear once approved by a moderator")
else
Response.Write("New Reply Posted!")
DoPCount
DoUCount Request.Form("UserName")
DoULastPost Request.Form("UserName")
end if
case "Topic"
' DEM --> If moderated post, the counts should not be updated until after approval
if Moderation = "Yes" then
Response.Write("New Topic Posted! It will appear once approved by a moderator")
else
Response.Write("New Topic Posted!")
DoTCount
DoPCount
DoUCount Request.Form("UserName")
DoULastPost Request.Form("UserName")
end if
case "Forum"
Response.Write("New Forum Created!")
case "URL"
Response.Write("New URL Created!")
case "Category"
Response.Write("New Category Created!")
case else
Response.Write("Complete!")
DoPCount
DoUCount Request.Form("UserName")
DoULastPost Request.Form("UserName")
end select


Here is is and it is only called once.

Cryptik




Edited by - Cryptik on 19 May 2002 11:16:35
Go to Top of Page

Cryptik
Starting Member

30 Posts

Posted - 20 May 2002 :  12:03:22  Show Profile
Also I notice that "Last Visit" doesnt update with some members.

Arrgh


Cryptik

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 May 2002 :  13:55:43  Show Profile  Send ruirib a Yahoo! Message
This is really weird. Given the fact that you are using the latest code I'm inclined to suspect something is wrong with your database. What exactly I can't tell...

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
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.49 seconds. Powered By: Snitz Forums 2000 Version 3.4.07