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: MOD Implementation
 Alan's iamviet site mods
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

e3stone
Average Member

USA
885 Posts

Posted - 19 April 2001 :  21:50:18  Show Profile  Send e3stone an AOL message
I'm sure that other people have these features, as well, but I was wondering what mod is used to 1) display the total number of members to the forum 2) display the names of the members who are online 3) the buddy mod? how can I make it where members can keep a list of buddies?

Thanks
Eric

Edit: I figured out how to list the names of the online members...I guess it was retard hour and I didn't think about already having the code in the activeusers.asp page.

I'm still curious about the buddy feature, though.


Edited by - e3stone on 20 April 2001 00:38:22

Aznknight
Senior Member

USA
1373 Posts

Posted - 20 April 2001 :  03:51:38  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
hi Eric,

About number 1) diplay total member, it can be done with a simple sql call. Here's how it was done :


dim SQLMemberCount, RSMEmberCount
SQLMemberCount = "SELECT COUNT(Member_id) AS MemberCount FROM " & strMemberTable & " WHERE M_LEVEL < 3"
Set RSMemberCount = my_Conn.execute(SQLMemberCount)
intMemberCount = RSMemberCount("MemberCount")
set RSMEmberCount = nothing


Now the variable intMemberCount has the number of members not including admin. To display it, put <%= intMemberCount %> wherever you want. It depends on where you want to put this, for me it's on my site's default.asp page.

About #2), Yeah I adopted the active users mod for my site and fiddled with it to get what I want. I liked this mod alot and have worked with it quite a bit.

And for #3), this is an iamviet specific creation that i haven't got a chance to fully make into a snitz mod yet.

you can find the mods that I've already released on my Snitz Resource site.
http://www.calvsa.net/snitz/

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource

Edited by - aznknight on 20 April 2001 03:54:31
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