I'm having a problem with the number of active topics for normal users in statistics. It is working fine when logged in as an admin but regular users don't show how many active topics there are. The no active topics is also working, just the ActiveTopicCount is not printing the actual number of active topics for normal users.
For example if there are 6 active topics
When logged in as an admin it will say: there are 6 active topics since you last visited.
When logged in as a normal user it just says: there are active topics since you last visited.
What do I need to do to get the # of active topics appear for regular users?
I've went through the code on default to see if there was mlev problem somewhere but everything looks ok so I'm thinking the code I'm looking for may be somewhere else and just don't know where to look.
I just noticed that this forum does the same thing so I guess this is normal. But since the # of active topics is showing for an admin it seems logical to be able to have this work for normal users.
Anybody know how to do this? Better yet have the ActiveTopicCount show in front of/just before the Active Topics link in header.asp
Wow this is strange...After my last post I checked statistics again and sure enough it stated 140 active topics. What would cause this to float around like this? Mine seems to never work for normal users.
No actually I figured out the problem and this forum is doing it also.
It has something to do with private forums. If a category does not have a private forum it than it works fine. But if a category has a private forum within it then the # of active topics are not displayed. So if you have any private forums your # of active topics are not displayed because the code on default on tells it to ignore the ActiveTopicCount if there is a private forum.
So the only way I see to fix this would be to code in some kind of a subtraction funtion so the command tells it to subtract the amount of active private/hidden forum topics from the total amount of active topics to give the correct amount of active topics to a user that cannot see a particular hidden forum.
Don't shoot me, but what exactly do you find so useful in the number of active topics? As long as users are notified that there are active topics, does the number really matter?
I find it useful especially when I'm logged in as a normal user. I do most of my posting as a normal user and it's a great feature when doing other things and keeping an eye on the posting. When I started this topic I didn't know what the problem was and was thinking it was a simple mlev thing but as time went on I found that the chunk of code in default was telling it do that. It's not a big problem but I find the feature useful and would like to get it to work with the exsistance of a private forum on default.asp
Anyway...I tried some stuff but can't get it right so I was hoping a Snitz Guru could recode the chunk of code that tells it to ignore and give it some kind of subtraction method if a private forum exists.