<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
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6484 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Jul 12th, '15, 09:10
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:
Extension Download:
Installation:
Download the latest release.
Unzip the downloaded release, and change the name of the folder to `emaillist `.
In the `ext ` directory of your phpBB board, create a new directory named `dmzx ` (if it does not already exist).
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
Navigate in the ACP to `Customise -> Manage extensions`
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
Status:
Offline
User theme: Dark
Posts: 5119 Joined: Apr 6th, '14, 14:12
Post
by martin » Jul 12th, '15, 10:24
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.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
cristian
Users
Status:
Offline
User theme: Dark
Posts: 31 Joined: Jun 12th, '15, 19:16
Post
by cristian » Jul 12th, '15, 21:47
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
Status:
Offline
User theme: Dark
Posts: 5119 Joined: Apr 6th, '14, 14:12
Post
by martin » Jul 12th, '15, 21:53
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
Status:
Offline
User theme: Dark
Posts: 31 Joined: Jun 12th, '15, 19:16
Post
by cristian » Jul 12th, '15, 22:29
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
Status:
Offline
User theme: Dark
Posts: 5119 Joined: Apr 6th, '14, 14:12
Post
by martin » Jul 13th, '15, 00:34
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
Status:
Offline
User theme: Dark
Posts: 31 Joined: Jun 12th, '15, 19:16
Post
by cristian » Jul 13th, '15, 00:52
Now go thanks
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
Status:
Offline
User theme: Dark
Posts: 24 Joined: Jun 4th, '15, 00:39
Post
by romaamor » Jul 20th, '15, 13:14
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
Status:
Offline
User theme: Dark
Posts: 5119 Joined: Apr 6th, '14, 14:12
Post
by martin » Jul 20th, '15, 14:13
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
romaamor
Users
Status:
Offline
User theme: Dark
Posts: 24 Joined: Jun 4th, '15, 00:39
Post
by romaamor » Jul 20th, '15, 14:31
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
Status:
Offline
User theme: Dark
Posts: 5119 Joined: Apr 6th, '14, 14:12
Post
by martin » Jul 20th, '15, 14:32
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
Status:
Offline
User theme: Dark
Posts: 24 Joined: Jun 4th, '15, 00:39
Post
by romaamor » Jul 20th, '15, 14:39
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
Status:
Offline
User theme: Dark
Posts: 5119 Joined: Apr 6th, '14, 14:12
Post
by martin » Jul 20th, '15, 15:01
romaamor wrote: No. I need one address list.
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
Status:
Offline
User theme: Dark
Posts: 24 Joined: Jun 4th, '15, 00:39
Post
by romaamor » Jul 20th, '15, 15:07
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
Status:
Offline
User theme: Dark
Posts: 5119 Joined: Apr 6th, '14, 14:12
Post
by martin » Jul 20th, '15, 15:10
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.