[plugin] Bounce Statistics

3rd party code for phpList

Re: [plugin] Bounce Statistics

Postby duncanc » 12:31pm, Thu 22 Nov, 2012

If you enable advanced bounce processing in your config.php file then you can view bounces for a particular list

manage bounces > view bounces per list
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: [plugin] Bounce Statistics

Postby centoasa » 3:57pm, Thu 22 Nov, 2012

You're great!
centoasa
PL Nut
 
Posts: 19
Joined: 12:30pm, Thu 24 Dec, 2009

Tested in 2.11.5

Postby solmar » 1:38pm, Mon 10 Dec, 2012

Installed this plugin in 2.11.5 and seems to be working fine.

From the instructions you provided in the "Message Statistics" plugin thread, I added the following to BounceStatisticsPlugin.php:

1) After...

public $name = 'Bounce Statistics';

...added

public $coderoot;
public $enabled = 1;

2) After...

$this->coderoot = dirname(__FILE__) . '/BounceStatisticsPlugin/';

...added

parent::__construct();

Notes:
- The menu link is created in the right position, under "Plugins", but without a label. As a label it shows "main&pi=BounceStatisticsPlugin".
- The only necessary addendum to BounceStatisticsPlugin.php seems "public $enabled = 1;". The plugin keeps working with the other two added lines commented.
solmar
PL Nut
 
Posts: 20
Joined: 5:16pm, Thu 26 Jun, 2008

Re: [plugin] Bounce Statistics

Postby duncanc » 5:40pm, Mon 10 Dec, 2012

The plugin menu link has been fixed in the latest development version, 2.11.7.

The other changes you identified look correct but I haven't analysed whether the 2.11.x version handles bounces differently to 2.10.x.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: [plugin] Bounce Statistics

Postby solmar » 6:36pm, Mon 10 Dec, 2012

[quote="duncanc"]The plugin menu link has been fixed in the latest development version, 2.11.7.[/quote]

Argh! Our PHPlist installation is largely customized so upgrading to 2.11.7 will be a pain. Will update the thread when done.
solmar
PL Nut
 
Posts: 20
Joined: 5:16pm, Thu 26 Jun, 2008

Re: [plugin] Bounce Statistics

Postby duncanc » 7:02pm, Thu 03 Jan, 2013

A new release of the plugin that provides more bounce reasons, so fewer "General Failure ..." reasons.
See the first post of the topic for how to download and install.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: [plugin] Bounce Statistics

Postby duncanc » 7:03pm, Thu 14 Feb, 2013

A new release of the plugin:
  • improve responsiveness when there is a large number (thousands) of bounces.
  • many more bounce reasons, so fewer "General Failure ..." reasons.
See the first post of the topic for how to download and install.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: [plugin] Bounce Statistics

Postby duncanc » 1:01pm, Thu 13 Jun, 2013

A new release of the plugin:

  • an extra tab to show users whose bounce count is > 0
  • more bounce reasons, so fewer "General Failure ..." reasons.
  • added authorisation of the admin who must have access to the 'bounces' page
See the first post of the topic for how to download and install.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: [plugin] Bounce Statistics

Postby mikeo » 3:22pm, Mon 15 Jul, 2013

Thanks for a great plugin! I get this error when I click on Bounce Statistics... Any ideas?

"Fatal error: Call to undefined method CommonPlugin_WebblerListing::addColumnEmail() in /home/elite/public_html/list/admin/plugins/BounceStatisticsPlugin/Controller/Reason.php on line 35
phplist version 2.10.17"
mikeo
phpList newbie
 
Posts: 2
Joined: 3:17pm, Mon 15 Jul, 2013

Re: [plugin] Bounce Statistics

Postby duncanc » 3:59pm, Mon 15 Jul, 2013

I'd failed to keep the plugin zip files in-step, sorry for that.

There is a new file here http://forums.phplist.com/viewtopic.php?f=7&t=37421&p=90006#p90006.
If you install CommonPlugin again then it should be OK.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: [plugin] Bounce Statistics

Postby mikeo » 6:05pm, Mon 15 Jul, 2013

Perfect! Working now. Thanks an bunch!
mikeo
phpList newbie
 
Posts: 2
Joined: 3:17pm, Mon 15 Jul, 2013

Re: [plugin] Bounce Statistics

Postby salvadoralicea » 4:57am, Sat 10 May, 2014

After installed the bounce statistics plugin, it add the menu options and run perfectly the first two(bounce reasons and bounce domains). However when I click bounce users gave this error:
Code: Select all
#0 /home2/salvador/public_html/lists/admin/mysql.inc(80): CommonPlugin_Exception::errorHandler(8, 'Undefined index...', '/home2/salvador...', 80, Array)
#1 /home2/salvador/public_html/lists/admin/mysql.inc(111): Sql_Error(Resource id #43, 1267)
#2 /home2/salvador/public_html/lists/admin/mysql.inc(162): Sql_Check_error(Resource id #43)
#3 /home2/salvador/public_html/lists/admin/plugins/CommonPlugin/DB.php(32): Sql_Query('SELECT u.email,...')
#4 /home2/salvador/public_html/lists/admin/plugins/CommonPlugin/DB.php(68): CommonPlugin_DB->_query('SELECT u.email,...')
#5 /home2/salvador/public_html/lists/admin/plugins/BounceStatisticsPlugin/DAO/Bounce.php(120): CommonPlugin_DB->queryAll('SELECT u.email,...')
#6 /home2/salvador/public_html/lists/admin/plugins/BounceStatisticsPlugin/Model.php(82): BounceStatisticsPlugin_DAO_Bounce->bouncedUsers(Array, 0, 50)
#7 /home2/salvador/public_html/lists/admin/plugins/BounceStatisticsPlugin/Controller/Users.php(30): BounceStatisticsPlugin_Model->bouncedUsers(0, 50)
#8 /home2/salvador/public_html/lists/admin/plugins/CommonPlugin/Listing.php(49): BounceStatisticsPlugin_Controller_Users->populate(Object(CommonPlugin_WebblerListing), 0, 50)
#9 /home2/salvador/public_html/lists/admin/plugins/BounceStatisticsPlugin/Controller.php(40): CommonPlugin_Listing->display()
#10 /home2/salvador/public_html/lists/admin/plugins/CommonPlugin/Controller.php(87): BounceStatisticsPlugin_Controller->actionDefault()
#11 /home2/salvador/public_html/lists/admin/plugins/CommonPlugin/Main.php(39): CommonPlugin_Controller->run(NULL)
#12 /home2/salvador/public_html/lists/admin/plugins/BounceStatisticsPlugin/users.php(30): CommonPlugin_Main::run(Object(BounceStatisticsPlugin_ControllerFactory))
#13 /home2/salvador/public_html/lists/admin/index.php(508): include('/home2/salvador...')
#14 {main}

Undefined index: lastquery

Anya idea or sugestion?
salvadoralicea
phpLister
 
Posts: 6
Joined: 4:49am, Sat 10 May, 2014

Re: [plugin] Bounce Statistics

Postby duncanc » 7:55am, Sat 10 May, 2014

Can you use phpmyadmin to confirm whether the user_blacklist table exists in your database?
And have you created any user attributes? If so what are they called.

If you upgrade CommonPlugin then it will then display some more information about the problem.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: [plugin] Bounce Statistics

Postby salvadoralicea » 2:27pm, Sat 10 May, 2014

Duncanc:
THe CommonPlugin installed is:
Code: Select all
 nameCommon Plugin
version2014-04-28

Is there a recent version to upgrade it? Before your suggestion I deleted and reinstalled it without luck.
Yes, the user_blacklist and user_blacklist_data exist on database, the database structure was verified and is ok.

Tee user attributes created were :
Code: Select all
Nombre
Apellido
Compañia
Titulo Trabajo
Telefono - hogar
Telefono - Mobil
Dirección
Ciudad
Estado
País
Codigo Postal


All other plugins: subscribers, statistics, campaigns, auto responders including domain bounces and bounce reason and working properly.
salvadoralicea
phpLister
 
Posts: 6
Joined: 4:49am, Sat 10 May, 2014

Re: [plugin] Bounce Statistics

Postby duncanc » 5:13pm, Sat 10 May, 2014

Just upgrade with the zip file from GitHub, the version date might not have changed.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

PreviousNext

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

Who is online

Users browsing this forum: No registered users and 4 guests