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.
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 !
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
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...