[3.2][3.3][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: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

[3.2][3.3][DEV] Email List

Post by dmzx »

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
- Code update.
- Short syntax code.
- Code cleanup.

Image
- Drop support for 3.1.
- Update routing.yml
- Twig update

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 Fri Aug 06, 2021 6:36 am, edited 8 times in total.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
alex75
Registered User
Posts: 519
Joined: Sun Jun 10, 2012 9:09 am
Location: Italy
Name: Alessandro

Re: [DEV] Email List

Post by alex75 »

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
Former Team Member
Posts: 22074
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [DEV] Email List

Post by RMcGirr83 »

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.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier

Re: [DEV] Email List

Post by javiexin »

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: 396
Joined: Wed Jul 17, 2013 4:29 am
Location: Atlanta GA USA

Re: [DEV] Email List

Post by peteetongman »

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

Re: [DEV] Email List

Post by Mauron »

Is there an administrative permission to retrieve the list?
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [DEV] Email List

Post by dmzx »

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
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: [DEV] Email List

Post by Mauron »

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 »

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: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [DEV] Email List

Post by david63 »

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!

I now no longer support any of my extensions but they will start to become available here
User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [DEV] Email List

Post by martin123456 »

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: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [DEV] Email List

Post by dmzx »

Fist post updated
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

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

Post by dmzx »

First post updated.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
Steve
Registered User
Posts: 1556
Joined: Tue Apr 07, 2009 7:48 pm
Location: Co. Durham, England
Name: Steven Clark

Re: [DEV] Email List

Post by Steve »

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.

😱
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺
User avatar
karbiko
Registered User
Posts: 97
Joined: Thu Jul 24, 2008 8:47 pm
Location: La Isla Bonita

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

Post by karbiko »

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

Return to “Extensions in Development”