Scheduled Maintenance:  10-11-2025 Electricity company maintenance between 09:00 and 15:00.
<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
			
		
		
			
				
								dmzx 							 
						Founder 			
		Posts:  6469 		Joined:  13 Jan 2014, 21:45 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by dmzx   »  12 Jul 2015, 11: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.   
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								martin 							 
						Admin 			
		Posts:  5106 		Joined:  06 Apr 2014, 16:12 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by martin   »  12 Jul 2015, 12: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 13 Jul 2015, 02:33, edited 3 times in total.
									
 
			
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								cristian 							 
						Users 			
		Posts:  31 		Joined:  12 Jun 2015, 21:16 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by cristian   »  12 Jul 2015, 23: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.
			
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								martin 							 
						Admin 			
		Posts:  5106 		Joined:  06 Apr 2014, 16:12 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by martin   »  12 Jul 2015, 23: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
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								cristian 							 
						Users 			
		Posts:  31 		Joined:  12 Jun 2015, 21:16 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by cristian   »  13 Jul 2015, 00:29 
			
			
			
			
			
			Yes I am the owner 
 
I changed the code but I don't have access to the list
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								martin 							 
						Admin 			
		Posts:  5106 		Joined:  06 Apr 2014, 16:12 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by martin   »  13 Jul 2015, 02:34 
			
			
			
			
			
			See my first post pls
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								cristian 							 
						Users 			
		Posts:  31 		Joined:  12 Jun 2015, 21:16 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by cristian   »  13 Jul 2015, 02: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!
 
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								romaamor 							 
						Users 			
		Posts:  24 		Joined:  04 Jun 2015, 02:39 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by romaamor   »  20 Jul 2015, 15:14 
			
			
			
			
			
			Good afternoon. What to do to get on the PC only list  email ?
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								martin 							 
						Admin 			
		Posts:  5106 		Joined:  06 Apr 2014, 16:12 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by martin   »  20 Jul 2015, 16:13 
			
			
			
			
			
			
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								romaamor 							 
						Users 			
		Posts:  24 		Joined:  04 Jun 2015, 02:39 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by romaamor   »  20 Jul 2015, 16: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.
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								martin 							 
						Admin 			
		Posts:  5106 		Joined:  06 Apr 2014, 16:12 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by martin   »  20 Jul 2015, 16:32 
			
			
			
			
			
			Download the file then upload it into your email account if your provider supports it that all you need to do.
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								romaamor 							 
						Users 			
		Posts:  24 		Joined:  04 Jun 2015, 02:39 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by romaamor   »  20 Jul 2015, 16:39 
			
			
			
			
			
			No. I need one address list.
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								martin 							 
						Admin 			
		Posts:  5106 		Joined:  06 Apr 2014, 16:12 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by martin   »  20 Jul 2015, 17: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.
			
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								romaamor 							 
						Users 			
		Posts:  24 		Joined:  04 Jun 2015, 02:39 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by romaamor   »  20 Jul 2015, 17:07 
			
			
			
			
			
			Do not you understand .... All that krastnym crossed I do not need. 
 
 
 
I do not need the extra data.
			
			
									
						
										
						 
		 
				
								
		 
		 
	 
	 
				
		
		
			
				
 				
								martin 							 
						Admin 			
		Posts:  5106 		Joined:  06 Apr 2014, 16:12 		
		
						
							 
		 
		
						
			
		
													
							
						
				
											Post  
									 
				by martin   »  20 Jul 2015, 17: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.