Thank you ozzy. I did do a search but only for v4, which is why I didnt find it. So serious thanks to you.
Question, I have installed and tested, works like a champ. But in the settings it says you can set for Inbox, Sent Items, or all others except Inbox/Sent Items.
I wish to change option 3 for BOTH Inbox/Sent Items and no other folders that a user may have custom.
The original code in prunepms.php:
Code:
case '3':
$pms_query_where_clouse .= " AND pm.folderid NOT IN (0, -1)";
break;
Would I change the code in prunepms.php to:
Code:
case '3':
$pms_query_where_clouse .= " AND pm.folderid = (0, -1)";
break;
or would this work instead:
Code:
case '3':
$pms_query_where_clouse .= " AND pm.folderid = '0'";
$pms_query_where_clouse .= " AND pm.folderid = '-1'";
break;
Obviously I have to be careful, but I am unsure of the syntax to make it work properly.
(I do know I will have to change the acp phrases)