latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

remove restrictions via cron job on database

Home Forums Community Forum remove restrictions via cron job on database

This topic contains 2 replies, has 2 voices. Last updated by  Vincent Walshe 3 years, 11 months ago.

Topic Author Topic
Posted: Monday Jan 14th, 2013 at 8:04 am #37352

Hi,

I cannot find where exactly the restrictions per post are defined in the database, despite have searched the forums, but I would like to remove restrictions from posts that are older than 15 days.

Is there a way to do this via a cron job?

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Monday Jan 14th, 2013 at 12:08 pm #37471
Eduan
Username: Eduan
Moderator

Hello Vincent,

While I’m not aware of anybody doing this, I’m sure it’s possible somehow.

However, the best help I can provide is pointing you to the s2Member codex: s2Member® » Codex (Source Code Docs)

– Eduan

Posted: Monday Jan 14th, 2013 at 12:49 pm #37479

Eduan, I cannot see any documentation here on how S2 integrates with the Database – Where are the restrictions connected to the posts in the database?

I would have thought in postmeta table, but can’t see any entries there.

If I understand this, then I can write a SQL routine to clear the restriction.

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.