[plugin] Email your messages to a phpBB forum

3rd party code for phpList

[plugin] Email your messages to a phpBB forum

Postby SaWey » 3:50pm, Wed 07 Feb, 2007

[UPDATED] -> see below

With this plugin you can automate the posting of an email to your preferred phpBB board.

Here are the install notes:
Code: Select all
emailtophpBB  By SaWey Copyright 2007

This plugin uses the "curl_phpbb.class.php" by Dean Newman
This class is available at http://www.phpclasses.org/browse/package/3203.html and is licensed under GNU/GPL


To install this script, just put these files in there corresponding directories:
->emailtophpBB --> admin/plugins
->emailtophpBB.php --> admin/plugins

Once the files are in there,
Make sure you have your "plugin directory" in your config file pointing to the right directory.
The file "processed.php" and directory "config" have to be chmodded 777.
You also have to enable HTML in your phpBB config.


Then just go to you phpList admin page and click on the emailtophpBB link.
You will be able to configure this script via those pages.

If you want to post your emails on a forum, click on the "process" button in the main page.


If you installed this plugin while already running phpList for a while
make sure to enter all your message id's of the messages you don't want
to be posted in the 'processed.php' file, each id on another line.
Also make sure you don't leave empty lines in that file!!



You can download the plugin here
Last edited by SaWey on 3:39pm, Thu 24 May, 2007, edited 3 times in total.
SaWey
PL Master
 
Posts: 192
Joined: 8:28pm, Wed 08 Mar, 2006
Location: Belgium

Postby H2B2 » 12:57am, Thu 08 Feb, 2007

Seems like a very useful plugin. Thanks for sharing!

Could add an short description with a link to this post and the zip archive in http://docs.phplist.com/PhplistHacks ?

Thanks!
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby SaWey » 10:36am, Thu 08 Feb, 2007

That would be realy nice.
The more people can benefit from it, the better.

Grz
SaWey
PL Master
 
Posts: 192
Joined: 8:28pm, Wed 08 Mar, 2006
Location: Belgium

Postby SaWey » 1:24am, Thu 29 Mar, 2007

The plugin is updated!!!
Now it works prety fine.

Follow the instructions of the first post to install.
Make sure you haven't set a limit for the flood interval of your phpBB forum if you want to post lots of mails at the time, else you will have to run the plugin a few times.


You can download the plugin here
Last edited by SaWey on 3:39pm, Thu 24 May, 2007, edited 1 time in total.
SaWey
PL Master
 
Posts: 192
Joined: 8:28pm, Wed 08 Mar, 2006
Location: Belgium

Postby sanjay92 » 6:53am, Tue 12 Feb, 2008

Having files to 777 permission is security threat ?

After I download zip file, should I unzip in admin/plugins folder ?

After I unzip in admin/plugins


~/www/PHPlist/admin/plugins


it created emailtophpBB/ folder
cd emailtophpBB/

## It creates another plugins , not sure whether this is correct.

# ls
./ ../ plugins/
# ls
./ ../ INSTALL mailtophpBB/ mailtophpBB.php


Can you clarify please ?
sanjay92
PL Nut
 
Posts: 17
Joined: 8:31pm, Thu 13 Apr, 2006

Postby Dragonrider » 7:42am, Tue 12 Feb, 2008

sanjay92 wrote:Having files to 777 permission is security threat ?


FILES yes, very unsecure, but Sawey's plugin refers to FOLDERS, less of an issue, make sure the files within are of course set to 644.
Dragonrider
Moderator
 
Posts: 3161
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Postby SaWey » 2:48pm, Tue 12 Feb, 2008

sanjay92 wrote:Having files to 777 permission is security threat ?

After I download zip file, should I unzip in admin/plugins folder ?

After I unzip in admin/plugins


~/www/PHPlist/admin/plugins


it created emailtophpBB/ folder
cd emailtophpBB/

## It creates another plugins , not sure whether this is correct.

# ls
./ ../ plugins/
# ls
./ ../ INSTALL mailtophpBB/ mailtophpBB.php


Can you clarify please ?


You should just drop the contents of the 'emailtophpBB/plugins' in YOUR plugin folder.
It should not create a new plugin folder in the plugin folder :)

Hope this helps.
SaWey
PL Master
 
Posts: 192
Joined: 8:28pm, Wed 08 Mar, 2006
Location: Belgium

Postby sanjay92 » 12:05am, Wed 13 Feb, 2008

Thanks SaWey,
I guess confusion is in instructions, in instructions it is written
"
->emailtophpBB --> admin/plugins
->emailtophpBB.php --> admin/plugins
"

When I unzip file, I see mailtophpBB folder inside plugins,
You want to move/copy mailtophpBB folder & mailtophpBB.php file to admin/plugins.

It looks like to me that email word has been replaced with mail.
sanjay92
PL Nut
 
Posts: 17
Joined: 8:31pm, Thu 13 Apr, 2006

Postby SaWey » 12:35am, Wed 13 Feb, 2008

Yes, that's true.
I repacked my plugins some time ago and probably created those directories by mistake.
SaWey
PL Master
 
Posts: 192
Joined: 8:28pm, Wed 08 Mar, 2006
Location: Belgium

Postby sanjay92 » 4:54am, Wed 13 Feb, 2008

SaWey wrote:Yes, that's true.
I repacked my plugins some time ago and probably created those directories by mistake.

SaWey,
I can see plugins & also configured using edit button, when I process I see similar messages :

Message 19 has not been posted, you cannot make a post so soon after another...
Message 20 has not been posted, you cannot make a post so soon after another...
.....

I don't see any message posted .

I don't know much about PhpBB.

When messages are sent, are messages sent in HTML using template ?
I want Forum to be read only so only admin or thru this interface ,I should post it.
Can I do it using this plugins ?
My intention is just PHPBB is to host Archived NewsLetter in HTML template which I use to sent.

Thanks
sanjay92
PL Nut
 
Posts: 17
Joined: 8:31pm, Thu 13 Apr, 2006

Postby SaWey » 12:01pm, Wed 13 Feb, 2008

The best way to prevent this from happening is disabling flood protection in the phpBB admin panel.

This protection prevents you from posting multiple messages in a short time.
SaWey
PL Master
 
Posts: 192
Joined: 8:28pm, Wed 08 Mar, 2006
Location: Belgium

Postby sanjay92 » 7:46pm, Wed 13 Feb, 2008

I have put 0 in Flood Interval (Phpbb) in General Configuration but still it is happening. Any idea ? Is 0 means disable ?

SaWey wrote:The best way to prevent this from happening is disabling flood protection in the phpBB admin panel.

This protection prevents you from posting multiple messages in a short time.
sanjay92
PL Nut
 
Posts: 17
Joined: 8:31pm, Thu 13 Apr, 2006

Postby SaWey » 8:13pm, Wed 13 Feb, 2008

I can't tell, as I don't use phpBB2 anymore.
I switched to phpBB3 som time ago and can't remember the admin config of v2.
SaWey
PL Master
 
Posts: 192
Joined: 8:28pm, Wed 08 Mar, 2006
Location: Belgium

Re: [plugin] Email your messages to a phpBB forum

Postby maxbucksov » 12:26pm, Mon 25 Jan, 2010

Definitely useful plugin! Neat code... Thanks for sharing! I'll be using it too.
maxbucksov
phpList newbie
 
Posts: 2
Joined: 12:22pm, Mon 25 Jan, 2010

Re: [plugin] Email your messages to a phpBB forum

Postby Dragonrider » 9:17pm, Sun 13 Mar, 2011

I was asked about this plugin and having had no experience with it, I installed the current version of phpBB (version 3) and this now no longer allows HTML on security grounds, as it stands, the plugin will not work with Version 3 of phpBB forum software.

Don't know if Sawey has any plans to update or work on a work-around?
Dragonrider
Moderator
 
Posts: 3161
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Next

Return to Contributions: Plug-ins, Add-ons, Mods

Who is online

Users browsing this forum: No registered users and 1 guest