Email List of Users from a phpBB v 3 forum
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
-
- New member
- Posts: 17
- Joined: 27 Feb 2013, 14:30
- Location: Winnipeg, Manitoba [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Email List of Users from a phpBB v 3 forum
That part I know quite easy, it's accessing the "Custom Fields" database for Profile and separating those whom are opting in for a Newletter (YES = 1) as opposed to those whom are not (NO = 0).
All I wish to do is take those whom are wanting the newsletter to appear on the output.
Gary
All I wish to do is take those whom are wanting the newsletter to appear on the output.
Gary
-
- New member
- Posts: 17
- Joined: 27 Feb 2013, 14:30
- Location: Winnipeg, Manitoba [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Email List of Users from a phpBB v 3 forum
It seems my current efforts to figure out a method is going to be in vain. I would have assumed that someone on the 'Net and within the realm of phpbb3 would have done something similar in regards to this, but it seems alas, I might be the first to ask for such a creature.
Having limited experience with SQL is there no one that can point me in the right direction to resolve this little bump in the road?
Gary
Having limited experience with SQL is there no one that can point me in the right direction to resolve this little bump in the road?
Gary
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Email List of Users from a phpBB v 3 forum
What happened when you clicked on the download csv file from the page? You should have gotten another column stating "Newsletter" with the choices shown of whatever the user selected (Yes or No in this case or something like that). You can then use that to sort within excel.
The code I gave you has nothing to do with the display you see when you browse to the PHP file.
The code I gave you has nothing to do with the display you see when you browse to the PHP file.
-
- New member
- Posts: 17
- Joined: 27 Feb 2013, 14:30
- Location: Winnipeg, Manitoba [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Email List of Users from a phpBB v 3 forum
ROFL, ok, let me check it out, thanks again. Say, where did you get those Smilies?
Gary
Gary
-
- New member
- Posts: 17
- Joined: 27 Feb 2013, 14:30
- Location: Winnipeg, Manitoba [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Email List of Users from a phpBB v 3 forum
Trying to export I get this error:
General Error
SQL ERROR [ mysqli ]
[0]
SQL
No values specified for SQL IN comparison
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()
FILE: [ROOT]/includes/db/dbal.php
LINE: 432
CALL: dbal->sql_error()
FILE: [ROOT]/list.php
LINE: 45
CALL: dbal->sql_in_set()
General Error
SQL ERROR [ mysqli ]
[0]
SQL
No values specified for SQL IN comparison
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()
FILE: [ROOT]/includes/db/dbal.php
LINE: 432
CALL: dbal->sql_error()
FILE: [ROOT]/list.php
LINE: 45
CALL: dbal->sql_in_set()
-
- New member
- Posts: 17
- Joined: 27 Feb 2013, 14:30
- Location: Winnipeg, Manitoba [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Email List of Users from a phpBB v 3 forum
Last edited by Crazygar on 13 Jan 2015, 00:01, edited 2 times in total.
Reason: added bbcode
Reason: added bbcode
-
- New member
- Posts: 17
- Joined: 27 Feb 2013, 14:30
- Location: Winnipeg, Manitoba [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Email List of Users from a phpBB v 3 forum
Eureka! Thanks Rich!
Gary
Gary
-
- New member
- Posts: 10
- Joined: 31 Jul 2012, 23:08
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Email List of Users from a phpBB - in ACP
Since my last message http://www.rmcgirr83.org/viewtopic.php?f=5&t=597&start=60#p18469, the new attached file has:
[img]http://www.suportephpbb.com.br/forum/images/smilies/icon_arrow.gif[/img] English and Brazilian Portuguese language.
[img]http://www.suportephpbb.com.br/forum/images/smilies/icon_arrow.gif[/img] Replacing the text "CSV Export list" of html file to php file language.
[img]http://www.suportephpbb.com.br/forum/images/smilies/icon_arrow.gif[/img] Pagination.
[img]http://www.suportephpbb.com.br/forum/images/smilies/icon_arrow.gif[/img] Export the list to CSV file with each information on table cell of MS-Excel(contribution of murilo_ns user) and with the UTF-8 encoding.
The prinstscreen: http://www.rmcgirr83.org/viewtopic.php?f=5&t=597&start=60#p18445.
[ ]. [img]http://www.gsmfans.com.br/Smileys/GSMFans/cool.gif[/img]
[img]http://www.suportephpbb.com.br/forum/images/smilies/icon_arrow.gif[/img] English and Brazilian Portuguese language.
[img]http://www.suportephpbb.com.br/forum/images/smilies/icon_arrow.gif[/img] Replacing the text "CSV Export list" of html file to php file language.
[img]http://www.suportephpbb.com.br/forum/images/smilies/icon_arrow.gif[/img] Pagination.
[img]http://www.suportephpbb.com.br/forum/images/smilies/icon_arrow.gif[/img] Export the list to CSV file with each information on table cell of MS-Excel(contribution of murilo_ns user) and with the UTF-8 encoding.
- acp_emails_users_list.zip
- (15.37 KiB) Downloaded 491 times
The prinstscreen: http://www.rmcgirr83.org/viewtopic.php?f=5&t=597&start=60#p18445.
[ ]. [img]http://www.gsmfans.com.br/Smileys/GSMFans/cool.gif[/img]
Return to “Modders MOD support”
Who is online
Users browsing this forum: No registered users and 3 guests