Author Topic: BUG: User Selection - All Lists  (Read 2576 times)

chufford

  • Posts: 34
    • View Profile
BUG: User Selection - All Lists
« on: April 06, 2005, 02:14:01 pm »
Trying to make a User Selection rule to send to all users on all lists and filtering duplicates.

Make a User Selection rule of "Active - All Lists" and leave the next popup to "- More".
Click the "Show Query" button.
I see:
"SELECT * FROM lm_users WHERE (1 and cnf = '1') group by email;

54455 users matched"
Then Click "Save Selection"

Then click "Send An Email" and use the selection rule built above. This should email to all users, but instead, it finds 0 users. Below is the debug info:
tolist=rs1
not-numeric - to ruleset
tors=1
CMD=SELECT email,id FROM lm_users WHERE (list = '0' and cnf = '1') group by email
num_rows=0
Done!

Note that it puts in a list = 0 which causes no users to be found.

---

PS. Could you please include the date and time of the last update in the Members area next to the Download ListMail links? Since we don't have incrementing version numbers, it would be a way to know when/if you have posted changes since the last time we downloaded the package. Thanks.
Chris Hufford

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
BUG: User Selection - All Lists
« Reply #1 on: April 06, 2005, 02:43:02 pm »
This is very serious - I'm checking into it.  I will further consider how to best keep users informed of updates.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
BUG: User Selection - All Lists
« Reply #2 on: April 06, 2005, 02:52:31 pm »
In selfunc.php we must add a statement.

After this (line 392):
Code: [Select]
 while(list($xrsub,$xcond,$xstat,$xlist,$xqtype,$xfield,$xq,$xqdate)=@mysql_fetch_row($rsrows)){
   $xnr++;

Add:
Code: [Select]
if($xlist=='0') $xlist = 'all';
Thanks for the heads up - the files have been updated.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting