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)
 # of active topics not showing for normal users
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

HVROX
Junior Member

177 Posts

Posted - 24 November 2004 :  15:41:15  Show Profile
Hello,

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.

Anybody know how to fix this?

HVROX
Junior Member

177 Posts

Posted - 24 November 2004 :  16:15:43  Show Profile
Hello again,

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

So it look like this:
(# of)Active Topics
Go to Top of Page

HVROX
Junior Member

177 Posts

Posted - 24 November 2004 :  16:23:09  Show Profile
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.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 November 2004 :  17:50:44  Show Profile  Send ruirib a Yahoo! Message
Changes to the code you may have done, perhaps?


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 24 November 2004 17:52:28
Go to Top of Page

HVROX
Junior Member

177 Posts

Posted - 24 November 2004 :  18:37:45  Show Profile
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.

Anybody know how to fix this?

Edited by - HVROX on 24 November 2004 18:39:52
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 November 2004 :  18:39:41  Show Profile  Send ruirib a Yahoo! Message
If you are sure about that, post in the Dev Bugs forum.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

HVROX
Junior Member

177 Posts

Posted - 24 November 2004 :  18:42:40  Show Profile
Ok...Will do...Thanks anyway
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 24 November 2004 :  18:43:27  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
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?

eXtremeGossip
Go to Top of Page

HVROX
Junior Member

177 Posts

Posted - 24 November 2004 :  19:22:05  Show Profile
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.

Thanks again
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 24 November 2004 :  19:27:25  Show Profile  Visit HuwR's Homepage
continue in Dev discussions topic

/forum/topic.asp?TOPIC_ID=55819
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.47 seconds. Powered By: Snitz Forums 2000 Version 3.4.07