Jump to content


Photo

User profiles addon


  • Please log in to reply
4 replies to this topic

#1 Daniel Schmitz

Daniel Schmitz

    Advanced Member

  • Members
  • PipPipPip
  • 226 posts

Posted 10 February 2018 - 05:46 AM

Hi Alejandro,

Kind of presales question : I need profiles that can be created by users of a certain usergroup. Profiles should be hidden if user is removed from usergroup. Possible?
Regards Daniel

#2 Alejandro

Alejandro

    Advanced Member

  • Administrators
  • 32291 posts

Posted 10 February 2018 - 07:58 AM

The add-on doesn't have this capability because the visibility of listings on the site is completely unrelated to the user group of the listing owner and the database queries that lookup the listings in pages do not take into consideration the user group of the listing owners.

 

If you don't mind showing the listings in list pages, you could add some custom code in the detail page theme file to redirect to a different page or output some message without showing the content.



#3 Daniel Schmitz

Daniel Schmitz

    Advanced Member

  • Members
  • PipPipPip
  • 226 posts

Posted 18 February 2018 - 04:27 AM

Hi Alejandro,

 

thank you.

Or could I do some kind of workaround:

- limit access to profile creation/editing to a certain usergroup (B)

- set up a script/cron that will unpublish all listings of users that lost membership of B and fell back to user group A

- users can "buy" access to user group B and publish their profile again

 

Regards,

Daniel



#4 Alejandro

Alejandro

    Advanced Member

  • Administrators
  • 32291 posts

Posted 18 February 2018 - 08:11 AM

That sounds feasible as long as you can do 2 and 3 which are not part of the JReviews functionality.



#5 Daniel Schmitz

Daniel Schmitz

    Advanced Member

  • Members
  • PipPipPip
  • 226 posts

Posted 18 February 2018 - 03:56 PM

Dear Alejandro,

 

yes, 2 can be done with easy script and 3 can be done with OS Membership.

THX!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users