[Skip to main content](#vessel-content)

#   Mass Action for users that have registerd more than 30 days ago

##

- **[Adnohr](/forum/user/65625-adnohr "View Adnohr's Profile")**
- [![Adnohr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/65625-adnohr "View Adnohr's Profile") Topic Author
- [ Offline](/forum/user/65625-adnohr)

Less More

- Posts: 10
- Thank you received: 0
-
-

3 years 11 months ago [\#347329](#347329) by [Adnohr](/forum/user/65625-adnohr "View Adnohr's Profile")  *[Mass Action for users that have registerd more than 30 days ago](/forum/44-mass-actions/905504-mass-action-for-users-that-have-registerd-more-than-30-days-ago#347329 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  I'm just having issues trying to figure out how to filter for users that are older than 30 days?  Ideally, I'm trying to have a mass action that looks for blocked users that are +30 days old and delete them. I don't think the delete part is possible? But I'll settle for automatically moving them into a deletion group.")* was created by *[Adnohr](/forum/user/65625-adnohr "View Adnohr's Profile")*

-- HikaShop version -- : 4.7.0
-- Joomla version -- : 3.10.11
-- PHP version -- : 7.4

Hi,

I'm just having issues trying to figure out how to filter for users that are older than 30 days?

Ideally, I'm trying to have a mass action that looks for blocked users that are +30 days old and delete them. I don't think the delete part is possible? But I'll settle for automatically moving them into a deletion group.

- [ ![register-date.jpg](/forum/attachment/56081) ](/forum/attachment/56081 "register-date.jpg") [ ](/forum/attachment/56081?download=1 "register-date.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDU1MDQtbWFzcy1hY3Rpb24tZm9yLXVzZXJzLXRoYXQtaGF2ZS1yZWdpc3RlcmQtbW9yZS10aGFuLTMwLWRheXMtYWdvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 11 months ago [\#347331](#347331) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Mass Action for users that have registerd more than 30 days ago](/forum/44-mass-actions/905504-mass-action-for-users-that-have-registerd-more-than-30-days-ago#347331 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  I'm just having issues trying to figure out how to filter for users that are older than 30 days?  Ideally, I'm trying to have a mass action that looks for blocked users that are +30 days old and delete them. I don't think the delete part is possible? But I'll settle for automatically moving them into a deletion group.")*

Hi,

The mass action system is not adapted to that.
The best would be to directly use the Joomla user manager.
There, use a filter to display only unactivated user accounts.
Then, use the sorting of the "last visit date" or "registered date" to get the latest first.
Then, increase the number of elements on the page to get all of them listed.
Then, use the main checkbox to select all the accounts at once.
Unselect the first few entries for the past 30 days, and in the actions button at the top, select "delete" and it will delete all these old blocked accounts.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDU1MDQtbWFzcy1hY3Rpb24tZm9yLXVzZXJzLXRoYXQtaGF2ZS1yZWdpc3RlcmQtbW9yZS10aGFuLTMwLWRheXMtYWdvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Adnohr](/forum/user/65625-adnohr "View Adnohr's Profile")**
- [![Adnohr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/65625-adnohr "View Adnohr's Profile") Topic Author
- [ Offline](/forum/user/65625-adnohr)

Less More

- Posts: 10
- Thank you received: 0
-
-

3 years 11 months ago [\#347413](#347413) by [Adnohr](/forum/user/65625-adnohr "View Adnohr's Profile")  Replied by *[Adnohr](/forum/user/65625-adnohr "View Adnohr's Profile")* on topic *[Mass Action for users that have registerd more than 30 days ago](/forum/44-mass-actions/905504-mass-action-for-users-that-have-registerd-more-than-30-days-ago#347413 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  I'm just having issues trying to figure out how to filter for users that are older than 30 days?  Ideally, I'm trying to have a mass action that looks for blocked users that are +30 days old and delete them. I don't think the delete part is possible? But I'll settle for automatically moving them into a deletion group.")*

Regardless of how we choose to delete the users, is it possible to filter users older than 30 days?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDU1MDQtbWFzcy1hY3Rpb24tZm9yLXVzZXJzLXRoYXQtaGF2ZS1yZWdpc3RlcmQtbW9yZS10aGFuLTMwLWRheXMtYWdvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 11 months ago [\#347418](#347418) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Mass Action for users that have registerd more than 30 days ago](/forum/44-mass-actions/905504-mass-action-for-users-that-have-registerd-more-than-30-days-ago#347418 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  I'm just having issues trying to figure out how to filter for users that are older than 30 days?  Ideally, I'm trying to have a mass action that looks for blocked users that are +30 days old and delete them. I don't think the delete part is possible? But I'll settle for automatically moving them into a deletion group.")*

Hi,

Yes. You can use a filter on on the column "registerDate" with the operator "&lt;=" and the value "2022-11-12 00:00:00"
And that would filter the users registered more than 1 month ago.
To have something dynamic in MySQL, you would need to use "DATE_SUB(NOW(), INTERVAL 1 MONTH)" instead of the manually input date, but I'm not sure it would work as the system wasn't made to support that.

The following user(s) said Thank You: [Adnohr](/forum/user/65625-adnohr "View Adnohr's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDU1MDQtbWFzcy1hY3Rpb24tZm9yLXVzZXJzLXRoYXQtaGF2ZS1yZWdpc3RlcmQtbW9yZS10aGFuLTMwLWRheXMtYWdvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
