MN Forum
Automaticly Delete Users Data - Printable Version

+- MN Forum (http://forum.mn-shop.com)
+-- Forum: Products (http://forum.mn-shop.com/forum-products.html)
+--- Forum: Feature Request (http://forum.mn-shop.com/forum-feature-request.html)
+---- Forum: PES Pro (http://forum.mn-shop.com/forum-pes-pro.html)
+---- Thread: Automaticly Delete Users Data (/thread-automaticly-delete-users-data.html)



Automaticly Delete Users Data - Mezo - 01-19-2014

Hello Admin,

I request to add a feature to delete data of users who didn't logged in for 3 months or more.

Alot of Users Add their pages and use our site for few days , then leave the site.

After a while another users when they want to add their pages if it nearly in names , system will tell them , pages already added however they never add it so they will leave our site also

In this case we lost the perviousness and the new user , also this feature will make the database more optimized

Regards


RE: Automaticly Delete Users Data - Admin - 01-21-2014

Hello,

Thank you for your suggestion, maybe wil be implemented in further updates.

Regards!


RE: Automaticly Delete Users Data - Mezo - 06-22-2014

Thanks Admin , I hope This will be implemented on next update.


RE: Automaticly Delete Users Data - kasabezwysilku - 02-06-2015

You can do it wihout MN-Shop.com developers...

Find this in system/cron/cron.php file:

PHP Code:
Hidden content for guests 
and change it to
PHP Code:
Hidden content for guests 

As you can see I was added one query to database.
PHP Code:
Hidden content for guests 



RE: Automaticly Delete Users Data - materne.thomas - 02-06-2015

Hello


I would really thing about it. Because you might just want to create a sort of inactivity. To keep the info about the inactive users for your db. Mailing list, actions, new updates, free coins etc.

Grtz
www.pes-pro.com


RE: Automaticly Delete Users Data - giadone - 02-07-2015

and if i want to delete the users and the pages which the users have already added? Can you help me in this feature?

(02-06-2015, 12:44 PM)kasabezwysilku Wrote: Hidden content for guests



RE: Automaticly Delete Users Data - kasabezwysilku - 02-07-2015

This what you want to do is doing automatically in every hourly cron activation...


RE: Automaticly Delete Users Data - giadone - 02-07-2015

Ah ok! If the system delete the users after 90 days of inactivity, the pages are deleted?

And if i want deactivate (set not active) all the pages of the users which remains not active for 15 days (nothing exchanges after 15 days for example)?

Can you help me for this?

(02-07-2015, 02:27 AM)kasabezwysilku Wrote: Hidden content for guests



RE: Automaticly Delete Users Data - kasabezwysilku - 02-07-2015

Yes, when system will delete inactive members from your database in about 1 hour all user pages will be deleted too.

I think it's possible to deactivate inactive members pages but first I need to think how to do that.


RE: Automaticly Delete Users Data - giadone - 02-07-2015

Perfect bro. I attend your news and very thanks for the help Wink

(02-07-2015, 03:33 AM)kasabezwysilku Wrote: Hidden content for guests