Email List of Users from a phpBB v 3 forum

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
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
makoto
New member
New member
Posts: 4
Joined: 13 Apr 2010, 22:41
[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

Postby makoto » 13 Mar 2013, 18:36

howto separate name, email.. for cell???
Attachments
csv_excel.jpg

Crazygar
New member
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

Postby Crazygar » 13 Mar 2013, 19:07

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

Oyabun1
New member
New member
Posts: 34
Joined: 16 Sep 2009, 08:16
[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

Postby Oyabun1 » 13 Mar 2013, 20:56


Crazygar
New member
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

Postby Crazygar » 15 Mar 2013, 17:14

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

User avatar
RMcGirr83
Past Contributor
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

Postby RMcGirr83 » 15 Mar 2013, 17:35


Crazygar
New member
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

Postby Crazygar » 15 Mar 2013, 18:37


User avatar
RMcGirr83
Past Contributor
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

Postby RMcGirr83 » 15 Mar 2013, 18:42

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.

Crazygar
New member
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

Postby Crazygar » 15 Mar 2013, 18:43

ROFL, ok, let me check it out, thanks again. Say, where did you get those Smilies?

Gary

Crazygar
New member
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

Postby Crazygar » 15 Mar 2013, 18:44

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()

User avatar
RMcGirr83
Past Contributor
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

Postby RMcGirr83 » 15 Mar 2013, 18:50


Crazygar
New member
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

Postby Crazygar » 16 Mar 2013, 04:11

Last edited by Crazygar on 13 Jan 2015, 00:01, edited 2 times in total.
Reason: added bbcode

User avatar
RMcGirr83
Past Contributor
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

Postby RMcGirr83 » 16 Mar 2013, 09:26


Crazygar
New member
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

Postby Crazygar » 16 Mar 2013, 14:11

Eureka! Thanks Rich!

Gary

robra_2
New member
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 v 3 forum

Postby robra_2 » 28 Mar 2013, 21:35


robra_2
New member
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

Postby robra_2 » 28 Mar 2013, 21:59

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.
acp_emails_users_list.zip
(15.37 KiB) Downloaded 491 times
The install instructions: http://www.rmcgirr83.org/viewtopic.php?f=5&t=597&start=60#p18451.
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]


[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

Return to “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 3 guests