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)
 MOD: Membership Overview - quick admin view
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

work mule
Senior Member

USA
1358 Posts

Posted - 15 May 2001 :  19:54:35  Show Profile
MEMBERSHIP OVERVIEW

This mod provides a quick overview of your membership at your forums.

Download:
http://www.scalemodelernetwork.com/downloads/snitz/admin_memberactivity.zip

Install:
Place in forum directory and add link to it on admin_home.asp.
<a href="admin_memberactivity.asp">Membership Overview</a>

This mod was based on a members email list page that I found on here a couple of months ago. I expanded on it and added additional fields and a basic sort by column feature.

Member data displayed:
Member's Name
Member's Email
Membership Level
Member's Registration Date
Member's Last Visit Date
Member's Last Post Date
Number of Posts for that Member

All of the above are columns, each member is displayed in it's own row. The column headers are clickable and will reload with the data sorted by that column.

The cool thing is that the three dates are compared to today's date and if it matches, that cell is highlighted. This allows the admin a way to quickly identify new members, returning visitors and active members for that day.

Additional development comments:
One thing this could use is the paging functionality, but allow the admin to select the number of records to return. Right now it returns all members from the members table. Also, maybe filters and setting date ranges for when to highlight the cell.

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 15 May 2001 :  20:00:37  Show Profile  Visit HuwR's Homepage
What is the difference between this and the current members.asp ?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 15 May 2001 :  20:04:44  Show Profile
It shows the member's email address...
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 15 May 2001 :  20:07:57  Show Profile
It's hard to describe the difference. You'd have to use it once.

I love the functionality of the member page, but as an admin, it wasn't enough when I wanted to get an overview of our members - who was new, who's been posting recently, etc.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 15 May 2001 :  20:26:26  Show Profile
work mule,

do you have any users that don't have any posts?

I got an error when the person didn't have any posts.

I changed line #124 to add checks to see if M_LASTPOSTDATE was empty or not before any functions were performed on it.

Also you might want to check line #119, you left a hardcoded link to your forum in there.
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 15 May 2001 :  20:53:25  Show Profile  Visit rick7165's Homepage
I did this another way... I added the Email Icon.

http://www.eastpasco.com/members.asp


Rick


Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 15 May 2001 :  20:54:22  Show Profile  Visit rick7165's Homepage
You might want to add page numbers to this mod.



Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 15 May 2001 :  23:06:22  Show Profile
quote:

do you have any users that don't have any posts?



Hi Richard,

I did have users that didn't have posts (I have a lot of those). I didn't get any errors, it just looked like this:

// ::

I took a quick look at the ChkDate function and it's supposed to exit when there's no data. I wonder if the one it errored on had a " " (space) or maybe it's something else possibly? If that was the case, would fDate in the function benefit from adding a Trim() function around it in the if statement?

function ChkDate(fDate)
if fDate = "" then
exit function
end if


I also removed the link. Oops. Thanks!

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 15 May 2001 :  23:11:51  Show Profile
I had that same thing when I had the Date Format set to 12/31/2000 (US short).

But got the error when I changed it to December 31 2000 (US long)
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 15 May 2001 :  23:25:55  Show Profile
Oh!! Yeah, I haven't used anything but the short date so I've never encountered errors nor thought anything about that. There's always something new to learn about Snitz!

Did you just do an IsEmpty() or = "" check on it? Unless you wouldn't mind throwing line 124 in a post and I'll update the file right away.


Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 15 May 2001 :  23:28:09  Show Profile
Here is what I changed it to: (I'll delete it once you've seen it since it's so long)

<code deleted>
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 15 May 2001 :  23:40:08  Show Profile
Thanks Richard!

I've updated the file.

Go to Top of Page

ahimanikya
Starting Member

22 Posts

Posted - 16 May 2001 :  12:43:03  Show Profile
quote:

Thanks Richard!

I've updated the file.



do you have a demo ?


Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 16 May 2001 :  14:29:16  Show Profile
I don't have a demo since it's in the admin area and it also reveals all the emails of my members.

To see for yourself, all you have to do is download and place in the forum directory and call the page directly to see what it looks like. It doesn't require any coding changes anywhere unless you want to link to it from the admin_home.asp page.


"Do not go where the path may lead, go instead where there is no path and leave a trail."

-Ralph Waldo Emerson
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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07