Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 237
Member
Member
Offline
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

Sponsored Links
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 laugh


- Allen wavey
- What Drives You?
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 smile


- Allen wavey
- What Drives You?
Joined: Apr 2001
Posts: 237
Member
Member
Offline
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...


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Apr 2001
Posts: 237
Member
Member
Offline
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. smile

Cheers

Joined: Apr 2001
Posts: 237
Member
Member
Offline
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... smile

http://Perl.Army.ca/ubb_archive

Joined: May 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 24
404... page not found... file can't be downloaded..

Joined: Apr 2001
Posts: 237
Member
Member
Offline
Joined: Apr 2001
Posts: 237
Doh! Hopefully my coding is better than my web design. wink

Fixed...

Joined: May 2001
Posts: 58
Member
Member
Offline
Joined: May 2001
Posts: 58
Anyone using this script with ÙBB-version 6.6.0?

Sponsored Links
Joined: Apr 2001
Posts: 237
Member
Member
Offline
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 smile


- Allen wavey
- What Drives You?
Joined: Apr 2001
Posts: 237
Member
Member
Offline
Joined: Apr 2001
Posts: 237
Yep, I plan to keep it up to date with the latest releases. smile


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)