Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Paul's Duplicate Groups as new feature

10 years 3 months ago
  • maz01's Avatar
    Topic Author
  • maz01
  • Offline
  • Fresh Boarder
  • Posts: 52
  • Thank you received: 3
Licenses:
JomSocial Active

Paul wrote a great piece here www.jomsocial.com/forum/groups/7250-dupl...roups-as-new-feature , but i don't know how to contact him to get more advice.

ACL for jomsocial is planned but we are some way off this I think. However for now I need some solution. I have created multiple profile types 'Business' and 'Consumer' . I only want those with Business profiles to be able to 'ADD' Albums, Groups and Events. All other members can view, comment and participate in these sections, BUT only business profile types can ADD new events, groups and albums.
As far as I can tell the 'add new' links are in the 'view' files. I need to HIDE these links to everyone EXCEPT admin and those with BUSINESS profiles.

How can I modify Pauls suggested '<?php if($group->categoryid == '1' || $isAdmin || $isSuperAdmin ){ ?>' to hide these links. Ideally replacing the if($group->categoryid == '1' with Profile type==business . Or does someone have a better solution? Advise would be really appreciated.


EDIT
silly me, I just noticed in admin that we can control which profile can create new groups and events!!

SO.... I only need to control who can add new albums. Can anyone please advise HOW I can hide the create albums link so that only business profiles can add them.

10 years 1 month ago
Licenses:

Hi Maz,

I apologize for not getting back to you sooner. We apparently had a real issue on our forum and some posts simply were not visible for us. I realize this is very late, but is there anything we can do for you at this time? Do you still need help?

Cheers,
Albert

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW