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/O Code)
 An idea - recent activity email
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

BritishAndy
Starting Member

United Kingdom
15 Posts

Posted - 26 December 2002 :  07:40:35  Show Profile  Visit BritishAndy's Homepage  Send BritishAndy an ICQ Message  Send BritishAndy a Yahoo! Message
I have a lot of members, but I am having difficulty getting them to come back after the initial enthusiasm wears off.

What I would like to do is send a monthly email summarising all activity over the previous month. Something like:

"Blah blah blah..........

Postings over last month:
Category1 name
User1 wrote 'This is a posting title which links to the topic'
User2 wrote 'This is a posting title which links to the topic'
User3 wrote 'This is a posting title which links to the topic'

Category2 name
User1 wrote 'This is a posting title which links to the topic'
User2 wrote 'This is a posting title which links to the topic'
User3 wrote 'This is a posting title which links to the topic'

"Blah blah blah..........

This could also be expanded to send each user the postings since they last logged on to the forums...

I wish I had the knowledge to do this - but I don't.

Any bored asp'er fancy tackling this?

Andy.

potatohead
Starting Member

34 Posts

Posted - 26 February 2003 :  10:08:25  Show Profile
This was discussed by a few Snitz gurus here but no action yet.

http://forum.snitz.com/forum/post.asp?method=Reply&TOPIC_ID=40112&FORUM_ID=26
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 26 February 2003 :  14:40:37  Show Profile
I'm bored and this, for whatever reason, seems interesting.
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 26 March 2003 :  12:34:59  Show Profile
Hamlin, are you still chewing on this one? I was interested too. I took a stab at it but got sucked into other things and haven't got back to it yet...

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 26 March 2003 :  12:43:13  Show Profile
I did start it yes, but got side tracked, I will get back to it at some point
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 27 March 2003 :  23:20:49  Show Profile
Just checking...

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 31 March 2003 :  13:42:42  Show Profile
Hamlin, I took another pass at it this weekend - I figured starting from the active.asp page and locking in the 30-day choice was the fastest way to get started. The next set of conditional statements in that file attempt to limit what topics are shown based on the access rights of the user i.e. - new topics in forums they are excluded from aren't shown. Initially, I had just planned to ignore this and only show the "visible to all" topics, but later wondered if I was stripping out too much functionality for some users. Yet if we tried to take the users into account, you'd end up making a pass through the topic list for each registered user with access to one or more private forums, plus a final additional pass for everyone else.

Had you thought of how to tackle this?

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 31 March 2003 :  14:15:48  Show Profile
I did not get very far,I had the query below to get a list of users who have not been seen in X days (shown below)
quote:
Lists of users not seen since strLastVisit:
strSQL ="SELECT M.MEMBER_ID, M.M_NAME, M.M_EMAIL FROM " &_
strMemberTablePrefix & "MEMBERS M " &_
"WHERE M_STATUS = 1 AND " &_
"M.M_LastHereDate <= '" & chkString(strLastVisit,"SQLString") & "'"


Then loop around those results, selecting all the topics posted since that date.

I had not really thought about how to restrict what is shown, take a look at inc_func_secure.asp, there are two functions there (chkForumAccessand chkDisplayForum) that can be used to check if a user should see/access a forum, so you could use them to check what topics to display, as you will know what forum the topic is in...

I hope that makes sense

Edited by - Hamlin on 31 March 2003 14:16:49
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 31 March 2003 :  14:21:09  Show Profile
Why not send them a link to active.asp or a simple newsletter with some statistics and/or a message inspiring them to visit again?
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 31 March 2003 :  14:24:58  Show Profile
quote:
Originally posted by GauravBhabu

Why not send them a link to active.asp or a simple newsletter with some statistics and/or a message inspiring them to visit again?


That would make it too easy
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 31 March 2003 :  14:38:34  Show Profile
I know and will also mean 'No Hours/Days added to Coding Experience'

Edited by - GauravBhabu on 31 March 2003 14:38:55
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 31 March 2003 :  19:40:21  Show Profile
I guess the intent was to inspire them with tastes of what they've been missing (i.e. - topic headings), rather than a simple reminder to check the forum. However, you make a good point - why complicate things further when existing code get's close. So, perhaps the best solution is a message based on Hamlin's query and a link to active.asp... If I get a chance this coming weekend, I'll try this approach...

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
Go to Top of Page

Lees List
Starting Member

Australia
6 Posts

Posted - 01 May 2003 :  12:37:20  Show Profile  Visit Lees List's Homepage
Hi, I wanted to create a self-generating plain text newsletter, drawing info from various forums as well as upcoming events in our calendar. I installed the Content Display mod and I created a new "display type" in content.asp - which returns text without any formatting, just line breaks.

I created an asp page to hold what I call my ezine raw data.

This is what it looks like when I view it in my browser:




REEL LIFE with Vince Amphlett

Anger Management [M]
Dave Buznik (Adam Sandler) is usually a mild-mannered, non-confrontational guy. But after an altercation aboard an airplane, he is ordered by a judge t...[full story: http://www.leeslist.com.au/forum/view.asp?TOPIC_ID=1392]


UNDER THE COVERS with Donna-Maree Benson

Veronika Decides To Die
Author: Paulo Coelho When I first saw 'Veronika Decides to Die' by international bestselling author Paulo Coelho on the shelves, the title instantly caught my attent... [full story: http://www.leeslist.com.au/forum/view.asp?TOPIC_ID=1342]


UPCOMING EVENTS

Full details of all these events are available on our site at http://www.leeslist.com.au/calendar.asp

May 2 - The Elephant Man
http://www.leeslist.com.au/forum/view.asp?topic_ID=1338

May 2 - Fun Night Out at the Ruby Room
http://www.leeslist.com.au/forum/view.asp?topic_ID=1455

May 2 - Cocoa Butter @ Office Nightclub
http://www.leeslist.com.au/forum/view.asp?topic_ID=1358

May 2 - Beatrix Potter Stories @ Subiaco Theatre Centre
http://www.leeslist.com.au/forum/view.asp?topic_ID=1164

May 3 - Gooseberry Hill Arts & Craft Exhibition
http://www.leeslist.com.au/forum/view.asp?topic_ID=1442

May 3 - Parents Without Partners - Information Evenings
http://www.leeslist.com.au/forum/view.asp?topic_ID=1272


CLASSIFIED ADS

Our Space Youth Metalwork Project
The Our Space youth metalwork project at the High Wycombe Recreation Centre was completed in Februa... [full story: http://www.leeslist.com.au/forum/view.asp?TOPIC_ID=1460]

Wanted-Chaise Lounge
Could someone please tell me where I can find one of these at a reasonable price. [full story: http://www.leeslist.com.au/forum/view.asp?TOPIC_ID=1457]

Cajun Dancing
Want to try something else? Try Cajun dancing. Partnered dancing for fun. Every second Sunday... [full story: http://www.leeslist.com.au/forum/view.asp?TOPIC_ID=1428]





Now I never have to compile another newsletter! I simply copy the text straight from the browser window and paste it into an email. I write an opening and closing paragraph and that's it!

I hope I have explained myself clearly, if not please ask - but I am new to asp so don't expect any brilliant coding or anything




People to meet & places to go in Western Australia!
www.leeslist.com.au
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 03 May 2003 :  15:18:59  Show Profile
Id like to see that code Lees List

www.thomasforum.com
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 05 May 2003 :  07:22:25  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
Sounds cool! I've been trying to sort out the Content Display, but with no luck.

Would love to be able to have a page which generates all that info for you!
Go to Top of Page

Lees List
Starting Member

Australia
6 Posts

Posted - 06 May 2003 :  07:17:05  Show Profile  Visit Lees List's Homepage
OK, well let's say you have already installed Atomic's Content Display mod (3.4.03) - I downloaded it from www.snitzbitz.com

It comes with a bunch of "Display Modes" - templates for displaying content. I experimented with those and once I had successfully got content displayed on my site, I went into content.asp and had a bit of a play around with the subs to customise them.

This is the sub I made which returns the "Classified Ads" display:


Sub WriteBasic
Response.Write "" & Topic_Subject & "" & vbNewLine & _
"<br>www.leeslist.com.au/forum/view.asp?TOPIC_ID=" target="_blank">http://www.leeslist.com.au/forum/view.asp?TOPIC_ID=" & T_Topic_ID & " " & vbNewLine & _
"<br>posted by - " & Member_Name & " - on " & ChkDate(Topic_Date, " " ,true) & "" & vbNewLine & _
"<hr>" & vbNewLine
End Sub



You need to get the Content mod working first and understand what's going on there, then you'll know what I'm on about.

I use the Content mod on my sites homepage as well. The day I got my head around that mod was the start of a lot of fun for me!

People to meet & places to go in Western Australia!
www.leeslist.com.au

Edited by - Lees List on 06 May 2003 07:29:50
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07