Mosets Community

Mosets Community (http://forum.mosets.com/index.php)
-   Discussions, Troubleshooting & Problems (http://forum.mosets.com/forumdisplay.php?f=44)
-   -   access only for SuperUsers (http://forum.mosets.com/showthread.php?t=19624)

consultnetgmbh 04-27-2012 12:58 AM

access only for SuperUsers
 
Hi,
in MosetsTree the access to e. g. certain fields, reviews, ratings etc. can only be restricted to either public or registered. Is there an option to restrict fields or the features mentioned to superusers only? I would need this option - especially an option to restrict the access (view, edit) for certain fields.
Is this possible at the moment or planed for future releases? If not - would there be an option to develop this for an extra payment?
Regards,
Uwe

tradewise 05-09-2012 05:59 AM

You can do it but you'd need to modify the display templates. to achieve it you need to separate the fields and then wrap those feilds in an IF statement so they are only accessable by the applicable user_type.

Hope this helps
Regards Steve
Developer of PaymentsPlus

matthewvian 11-25-2012 07:29 AM

Code Example
 
Do you have an example of this If statement code that could do the hiding of a field for different user groups for Joomla 2.5

I have been searching for hours and can not find an example to duplicate.

I want to hid a section of the template code if a user is not in a certain group.


All times are GMT +8. The time now is 05:48 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.