[3.1][3.2][DEV] Email List

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[3.1][3.2][DEV] Email List

Post by dmzx » Sun Jul 12, 2015 9:13 am

Extension Name: Email List
Author: RMcGirr83 & dmzx special thanks to martin

Extension Description:
Allows a board forum owner to download and save a list of emails of users on the forum.

Image Image Image

Image
Update listener.php.
Update emaillist.php.
Update service.yml.
Added code for 3.2(icon)

Image
Allow to choose based on groups, fix routing and other issues.

Screenshot:
Image

Extension Download:
Download

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `emaillist`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `emaillist` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/emaillist /composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Email List` under the Disabled Extensions list, and click its `Enable` link.
Last edited by dmzx on Sat Mar 11, 2017 6:55 pm, edited 4 times in total.
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
alex75
Registered User
Posts: 358
Joined: Sun Jun 10, 2012 9:09 am
Location: Italy
Name: Alessandro
Contact:

Re: [DEV] Email List

Post by alex75 » Sun Jul 12, 2015 11:25 am

beautiful extension and really helpful. Good job.
It would be truly complete, if there was the ability to click on the tab (username / email address / ....) to sort alphabetically.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [DEV] Email List

Post by RMcGirr83 » Sun Jul 12, 2015 11:29 am

alex75 wrote:It would be truly complete, if there was the ability to click on the tab (username / email address / ....) to sort alphabetically.
As well as be able to only select those in a specific group. I know someone will ask for that.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [DEV] Email List

Post by javiexin » Sun Jul 12, 2015 11:38 am

RMcGirr83 wrote:
alex75 wrote:It would be truly complete, if there was the ability to click on the tab (username / email address / ....) to sort alphabetically.
As well as be able to only select those in a specific group. I know someone will ask for that.
Actually, use the same "user search" selection that is used in the memberlist would be great.
Or making this a new memberlist mode, even better.
-javiexin

User avatar
peteetongman
Registered User
Posts: 395
Joined: Wed Jul 17, 2013 4:29 am
Location: Atlanta GA USA

Re: [DEV] Email List

Post by peteetongman » Sun Jul 12, 2015 4:12 pm

nice one

User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: [DEV] Email List

Post by Mauron » Sun Jul 12, 2015 4:24 pm

Is there an administrative permission to retrieve the list?

User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Email List

Post by dmzx » Sun Jul 12, 2015 4:35 pm

Mauron wrote:Is there an administrative permission to retrieve the list?
No there are no permissions you must be Founder to use the email list.
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: [DEV] Email List

Post by Mauron » Sun Jul 12, 2015 6:01 pm

Good!

User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [DEV] Email List

Post by martin123456 » Sun Jul 12, 2015 7:56 pm

If you have more than one founder and dont want the others access then

/controller/emaillist.php

change

Code: Select all

if ($this->user->data['user_type'] != USER_FOUNDER)
to

Code: Select all

if ($this->user->data['user_id'] != '2')

2 being the real board founder
Last edited by martin123456 on Mon Jul 13, 2015 12:43 am, edited 1 time in total.

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->

User avatar
david63
Registered User
Posts: 16162
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [DEV] Email List

Post by david63 » Sun Jul 12, 2015 8:29 pm

If it is only available to the founder then why is it on the board and not in ACP?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [DEV] Email List

Post by martin123456 » Mon Jul 13, 2015 12:44 am

david63 wrote:If it is only available to the founder then why is it on the board and not in ACP?
Its not to look at its to download the csv file and import into your email account it really dont need to be in the acp (it can be) but why make extra work to go into the acp to get a file ?

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->

User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Email List

Post by dmzx » Mon Nov 09, 2015 1:53 pm

Fist post updated
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [3.1][3.2][DEV] Email List

Post by dmzx » Sat Mar 11, 2017 6:56 pm

First post updated.
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
Steve
Registered User
Posts: 992
Joined: Tue Apr 07, 2009 7:48 pm
Location: UK ,up north!!
Name: Steven Clark
Contact:

Re: [DEV] Email List

Post by Steve » Sat Mar 11, 2017 7:56 pm

martin123456 wrote:
Sun Jul 12, 2015 7:56 pm
If you have more than one founder and dont want the others access then

/controller/emaillist.php

change

Code: Select all

if ($this->user->data['user_type'] != USER_FOUNDER)
to

Code: Select all

if ($this->user->data['user_id'] != '2')

2 being the real board founder
What if that number 2 real, has been deleted.

😱

User avatar
karbiko
Registered User
Posts: 77
Joined: Thu Jul 24, 2008 8:47 pm
Location: La Palma, Canary Islands, Spain

Re: [3.1][3.2][DEV] Email List

Post by karbiko » Sun Mar 12, 2017 12:10 pm

I've noticed that when I choose a group to list, the first page is ok, and all listed are members of that choosen group.

But when you go to one next page, search loose choosen parameters and all users page is showed.


Here you can see it:
This is the first page

Image

And now the second one:

Image

Post Reply

Return to “Extensions in Development”