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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
eugenio74
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
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: 20118
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 Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

eugenio74
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
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: 20118
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 Services 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: 1607
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

eugenio74
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Sep 19, 2019 5:11 pm

Re: Access based on seniority

Post by eugenio74 » Thu Jan 23, 2020 10:24 am

Thanks for your replies.

Just to share my selection, I'm using Content-Access-Filter, and it works very well, matching 95% of my requirements.

As per forum rules, I'm not sure I can share the link of the extension.

Thanks everyone.

e

User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 5765
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Access based on seniority

Post by AMurray » Sat Mar 28, 2020 11:57 pm

There shouldn't been any contravention of rule if you were to share the extension link fro the extensions directory for example - that would be relevant to the post, and to the forum.
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

 

Post Reply

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