Access based on seniority

Moderators: mandville, PhilD, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
eugenio74
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Sep 19, 2019 5:11 pm

Access based on seniority

Post by eugenio74 » Thu Sep 19, 2019 5:27 pm

Dear All,

I'm writing again in this forum after many years while I stopped using joomla. I had a look for on the existing threads, but I didn't find any suggestion to figure out my question.

Simple question: I would like that registered users can see only the contents (articles, menu, etc.) posted/created after their registration. If user_1 is registered in August 2019, he can see the contents of August, September and the following months.

Should I develop a module from scratch or already exists a workaround/extension to put in place this criteria?

Thanks in advance for your support,

E.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Access based on seniority

Post by leolam » Thu Sep 19, 2019 5:51 pm

Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

eugenio74
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Sep 19, 2019 5:11 pm

Re: Access based on seniority

Post by eugenio74 » Thu Sep 19, 2019 7:40 pm

Thanks a lot Leo.
Does it mean that I should use a third-party extension (such as jumi) to execute PHP code in the article in order to retrieve the {$user->registerDate}?

https://docs.joomla.org/Accessing_the_c ... ser_object

Mmm, I can try, but I doubt that it can work? 2 third-party extension that need to share a system variable in a "content environment"? I'll let you know if I'll "risk" to buy (25 euros) the extension that you suggested (20$) :)

The condition should be something like this
{show user=”user_1” and date>”2019-08-01”}

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Access based on seniority

Post by leolam » Fri Sep 20, 2019 3:36 am

Ask the developer of the extension if that (or otherwise 'how') can be achieved with their extension.

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1446
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: Access based on seniority

Post by darb » Fri Oct 11, 2019 3:20 pm

You can try and ask Peter and he already have some extensions that can do a lot like conditional content etc advance module mgr etc https://www.regularlabs.com/extensions/ ... t/tutorial
Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben


Post Reply

Return to “Access Control List (ACL) in Joomla! 3.x”