Author |
Topic |
|
work mule
Senior Member
USA
1358 Posts |
Posted - 15 May 2001 : 19:54:35
|
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
|
What is the difference between this and the current members.asp ?
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 15 May 2001 : 20:04:44
|
It shows the member's email address... |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 15 May 2001 : 20:07:57
|
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.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 15 May 2001 : 20:26:26
|
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. |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 15 May 2001 : 20:53:25
|
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. |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 15 May 2001 : 20:54:22
|
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. |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 15 May 2001 : 23:06:22
|
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!
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 15 May 2001 : 23:11:51
|
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) |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 15 May 2001 : 23:25:55
|
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.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 15 May 2001 : 23:28:09
|
Here is what I changed it to: (I'll delete it once you've seen it since it's so long)
<code deleted> |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 15 May 2001 : 23:40:08
|
Thanks Richard!
I've updated the file.
|
|
|
ahimanikya
Starting Member
22 Posts |
Posted - 16 May 2001 : 12:43:03
|
quote:
Thanks Richard!
I've updated the file.
do you have a demo ?
|
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 16 May 2001 : 14:29:16
|
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 |
|
|
|
Topic |
|