Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

GroupJive: Hide Users tab from All Users

  • AlanJones
  • AlanJones
  • OFFLINE
  • Posts: 510
  • Thanks: 42
  • Karma: 2
7 years 11 months ago #290694 by AlanJones
Replied by AlanJones on topic GroupJive: Hide Users tab from All Users
[hr]"Your usage doesn't make sense."
My usage makes perfect sense, I would like an open group where public may view video and file content but may not see members. If my usage makes no sense then why are you adding the feature back?

[hr]"GJ 4.0.0 as said in my previous reply. Approval groups will also be changed to hide their content until the join request is accepted. Additional group types will also be coming. This is all noted below."
Yes I realise that, I was asking more about timing estimates rather than versions.

I'm not trying to attack you, I'm just trying to figure out a path forward and something to say to our clients. This is a move I didn't expect to lose a feature like that, and now that I have upgraded about 10 sites with GJ I need to figure out a strategy including timing.

Own Your Own Community!

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48711
  • Thanks: 8320
  • Karma: 1447
7 years 11 months ago #290705 by krileon
Replied by krileon on topic GroupJive: Hide Users tab from All Users

My usage makes perfect sense, I would like an open group where public may view video and file content but may not see members. If my usage makes no sense then why are you adding the feature back?

Just because it doesn't make sense to me doesn't mean people don't need it. :laugh: Ideally I'd prefer to wait for CB Privacy rewrite and allow those tabs to be controlled using privacy controls, but that won't be an option for awhile.

Yes I realise that, I was asking more about timing estimates rather than versions.

We don't provide time estimates. I've to finish rewriting CB Activity 4.0.0 before I can start GJ 4.0.0. You can see CB Activity 4.0.0 progress below.

forge.joomlapolis.com/projects/cb-activity/issues

GJ 4.0.0 will also be a major rewrite. It'll be getting a reusable API. This means you won't be limited to just 1 "Community" (it's what the API will be called). You'll be able to have as many as you like with different functionality just like CB Gallery allows unlimited galleries. So it'll take some time to get all of that done.

Best I can suggest for now is to either use Invite groups or modify the below template file.

components/com_comprofiler/plugin/user/plug_cbgroupjive/templates/default/group.php

More specifically copy the default template, rename it to something like mytemplate, delete everything in it except group.php and index.html. Now within GJ > Configuration select your template and save. Now you won't lose any changes to your template on upgrade. Next towards the bottom you'll see the following.

Code:
if ( $users ) { $return .= $tabs->startTab( null, CBTxt::T( 'GROUP_USERS', 'Users' ), 'grouptabusers', array( 'tab' => 'gjTabNavMenu cbTabNavMenu', 'pane' => 'tab-pane gjTabPaneMenu cbTabPaneMenu', 'override' => true ) ) . '<div class="gj_tab_content cb_tab_content cb_tab_menu">' . $users . '</div>' . $tabs->endTab(); }

That outputs the users tab. You can extend the IF check as follows to limit to to people who are active in the group.

FROM:
Code:
if ( $users ) {
TO:
Code:
if ( $users && ( $userStatus >= 1 ) ) {


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • AlanJones
  • AlanJones
  • OFFLINE
  • Posts: 510
  • Thanks: 42
  • Karma: 2
7 years 11 months ago #290711 by AlanJones
Replied by AlanJones on topic GroupJive: Hide Users tab from All Users
Ahhh, that really helps! Thank you!

Own Your Own Community!

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum