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)
 Member Count
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Informant
Starting Member

2 Posts

Posted - 08 November 2001 :  17:29:42  Show Profile
If you would like to diplay the # of members listed in the Members section use this bit of code on line # 468 right after the </table>

<%=" <FONT FACE=""verdana"" size=""1"">  There are currently <B><FONT COLOR=""BLUE"">" & rs.RecordCount & "</FONT></B> members.</FONT>"%>


of course you can change the colors as desired

dayve
Forum Moderator

USA
5820 Posts

Posted - 09 November 2001 :  01:35:20  Show Profile  Visit dayve's Homepage
there is a much better way. this does a dirty read count whereas sometimes you need to filter deleted "n/a" and locked accounts.


Dayve
Go to Top of Page

bobyang
Starting Member

14 Posts

Posted - 09 November 2001 :  07:24:41  Show Profile
which file should I made change? thanks!

Go to Top of Page

Informant
Starting Member

2 Posts

Posted - 09 November 2001 :  17:49:44  Show Profile
members.asp

Go to Top of Page

HairyHog
Starting Member

United Kingdom
15 Posts

Posted - 19 November 2001 :  11:37:34  Show Profile  Visit HairyHog's Homepage  Send HairyHog an ICQ Message
quote:

there is a much better way. this does a dirty read count whereas sometimes you need to filter deleted "n/a" and locked accounts.


Dayve



And the better way is????

bob aka -=ROFFS=-HairyHog[CL]
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 30 November 2001 :  08:13:25  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
I found a problem with this.

Everything is fine if you select all members but if you do a listing, let's say of username starting with 'G' and there are 3 members, well the member count is 3. It should still say the total.

Sylvain Amyot
FORUM:http://support.mytechsupport.ca
HOME:http://mytechsupport.ca
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 06 December 2001 :  13:50:37  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
quote:

I found a problem with this.

Everything is fine if you select all members but if you do a listing, let's say of username starting with 'G' and there are 3 members, well the member count is 3. It should still say the total.

Sylvain Amyot
FORUM:http://support.mytechsupport.ca
HOME:http://mytechsupport.ca




Anybody else see this?

Sylvain Amyot
FORUM:http://support.mytechsupport.ca
HOME:http://mytechsupport.ca
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 06 December 2001 :  14:02:27  Show Profile
Yes I also noticed and it needs altering/modifying the code at several places. Just postponed it to do when it will be absolutely neccessary.


GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 07 December 2001 :  09:02:35  Show Profile  Visit stuF's Homepage
i think this code was intended for default.asp not members ...

snitz all dolled up @ http://36-degrees.co.uk/cgi-bin/forum/
Go to Top of Page

Tmpj
Junior Member

Denmark
467 Posts

Posted - 07 December 2001 :  09:19:34  Show Profile
What is the fixed code?

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 07 December 2001 :  11:44:51  Show Profile  Visit dayve's Homepage
quote:

I found a problem with this.

Everything is fine if you select all members but if you do a listing, let's say of username starting with 'G' and there are 3 members, well the member count is 3. It should still say the total.

Sylvain Amyot
FORUM:http://support.mytechsupport.ca
HOME:http://mytechsupport.ca




I actually feel this is intentional and NOT a bug. if I click on G then I want to see how many G's there are. if I want to see all the members I click on ALL and get the total of ALL. it makes perfect sense to me.

____________
dayve
http://forum.nineinchnailz.com
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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07