|
Joined: Apr 2001
Posts: 237
Member
|
Member
Joined: Apr 2001
Posts: 237 |
Hello again! I've got a tool here that some people may find useful. I run a mailing list and a UBB, and I've written a script to turn one of my forums into a mailing list archive. This is done by feeding all list e-mail into my script (all done by standard sendmail aliases: mailing-list-address: "|/home/you/www/cgi-bin/ubb_archive.cgi"). The script simply pulls out the important bits, and posts them to the forum. I created a special user and forum, and made the user the moderator of the new forum. Then I set the forum so that only moderators can post or reply, to keep people from responding to automated posts. It seems to be working fairly well so far. If you want to check it out, my site is http://Forums.Army.ca , and the forum is The Canadian Army Mailing List (hidden in last cat). You can download the tool at http://Perl.Bobbitt.ca/ubb_archive . If you Note: It doesn't handle MIME encoded messages very well at the moment. If you have any comments, suggestions or feedback, just let me know. Cheers
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Looks cool Mike, this has been requested numerous times 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
How does this handle bounced emails? I can envision many many emails going to the forum owner 
|
|
|
|
Joined: Apr 2001
Posts: 237
Member
|
Member
Joined: Apr 2001
Posts: 237 |
Good question. In basic terms, the script simply posts everything that is sent to a specified address. So if bounced messages are sent to the list, they'll be posted too.
But a properly configured mailing list should have bounces going to the list owner already (not the list itself) so it shouldn't be a problem.
Cheers
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ok, cool - shouldn't be a big problem then. Each email is posted as a seperate thread... what happens if someone replies to a thread in that forum? does it go to the list, or is treated as a regular reply? www.oscommerce.com has their own handspun forum that is both mailing list and forum, you can reply either within the thread or by email, with threads remaining intact. It's pretty slow tho...
|
|
|
|
Joined: Apr 2001
Posts: 237
Member
|
Member
Joined: Apr 2001
Posts: 237 |
Hey that sound pretty cool. Mine is quite basic. Replies to the UBB thread go nowhere (on my board, I have replies disabled). Also, replies to the e-mail thread are simply added as a new UBB topic. Pretty simplistic, but it works for me. Cheers
|
|
|
|
Joined: Apr 2001
Posts: 237
Member
|
Member
Joined: Apr 2001
Posts: 237 |
Ok, V1.1 is now available... This version handles MIME messages better, and cuts out a lot of the "clutter" to make things easier to read. Still a long way to go though... http://Perl.Army.ca/ubb_archive
|
|
|
|
Joined: May 2001
Posts: 24
Junior Member
|
Junior Member
Joined: May 2001
Posts: 24 |
404... page not found... file can't be downloaded..
|
|
|
|
Joined: Apr 2001
Posts: 237
Member
|
Member
Joined: Apr 2001
Posts: 237 |
Doh! Hopefully my coding is better than my web design. Fixed...
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Anyone using this script with ÙBB-version 6.6.0?
|
|
|
|
Joined: Apr 2001
Posts: 237
Member
|
Member
Joined: Apr 2001
Posts: 237 |
I did for a while...
Edit: In fact, I just tested it with 6.7.0 (Beta) and it works.
If you're Eric (or Peter) then it looks like it's not working on your site because you require users to log in first.
Unfortunately, UBB Archive only appears to work for "public" sites, where anyone can view posts...
It's possible that the "Require Users to Log In Before Posting" setting may also be causing this. (You have to have this option unchecked...)
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Was just checking your site and noticed you had updated it in January, good to know it works with 6.7 
|
|
|
|
Joined: Apr 2001
Posts: 237
Member
|
Member
Joined: Apr 2001
Posts: 237 |
Yep, I plan to keep it up to date with the latest releases. 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|