3.2 & 3.3 Extensions Database 3.2 / 3.3Email List

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

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.




- Code update.
- Short syntax code.
- Code cleanup.


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


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


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

Screenshot:
Image

Extension Download:
Download-link
Email List v1.0.4

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.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Email List

Post by martin »

You can download the csv list and import it in to your own email account or board account as long has your allowed to import.

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

tried and tested make the auth section like this

Code: Select all

// Founders only access
		if ($this->user->data['user_id'] != '2')
		{
			trigger_error('NOT_AUTHORISED');
		}
Last edited by martin on Jul 13th, '15, 00:33, edited 3 times in total.
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

cristian
Users
Users
Status: Offline
User theme: Dark
Posts: 31
Joined: Jun 12th, '15, 19:16
    Windows XP Firefox

Re: Email List

Post by cristian »

Help me pliss

that may be the problem
most changed to

if ($this->user->data['user_id'] != ’2’)
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Email List

Post by martin »

Are you the board owner ? pm me a link to your site

Edit it seems when you copy a line of code from this site this ' is being replaced

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

cristian
Users
Users
Status: Offline
User theme: Dark
Posts: 31
Joined: Jun 12th, '15, 19:16
    Windows XP Firefox

Re: Email List

Post by cristian »

Yes I am the owner

I changed the code but I don't have access to the list

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Email List

Post by martin »

See my first post pls

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

cristian
Users
Users
Status: Offline
User theme: Dark
Posts: 31
Joined: Jun 12th, '15, 19:16
    Windows XP Firefox

Re: Email List

Post by cristian »

Now go thanks :beers:
Replace with Replace the preceding lines with the following

Code: Select all

// Founders only access
      if ($this->user->data['user_id'] != '2')
      {
         trigger_error('NOT_AUTHORISED');
      }

Done!

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

romaamor
Users
Users
Status: Offline
User theme: Dark
Posts: 24
Joined: Jun 4th, '15, 00:39
    Windows 7 Chrome

Re: Email List

Post by romaamor »

Good afternoon. What to do to get on the PC only list email ?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Email List

Post by martin »

:question: :question:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

romaamor
Users
Users
Status: Offline
User theme: Dark
Posts: 24
Joined: Jun 4th, '15, 00:39
    Windows 7 Chrome

Re: Email List

Post by romaamor »

Martin When I download CSV List, there is a lot to me too much information. I need that to a file that I had just save email.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Email List

Post by martin »

Download the file then upload it into your email account if your provider supports it that all you need to do.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

romaamor
Users
Users
Status: Offline
User theme: Dark
Posts: 24
Joined: Jun 4th, '15, 00:39
    Windows 7 Chrome

Re: Email List

Post by romaamor »

No. I need one address list.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Email List

Post by martin »

romaamor wrote:No. I need one address list.
:roll: just install it and click on the email list button.
66.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

romaamor
Users
Users
Status: Offline
User theme: Dark
Posts: 24
Joined: Jun 4th, '15, 00:39
    Windows 10 Chrome

Re: Email List

Post by romaamor »

Do not you understand .... All that krastnym crossed I do not need.



I do not need the extra data.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Email List

Post by martin »

What are you doing ? you dont open the file you upload it or just used the ext for your own use of seeing emails.

I'm out of this topic i really cant be assed with some who really cant be bothered to read.