Skip to Content Skip to Menu

šŸŽƒ Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

disable new topic - CB Group Jive

  • naboman
  • naboman
  • OFFLINE
  • Posts: 112
  • Thanks: 3
  • Karma: 0
11 years 6 months ago - 11 years 6 months ago #225887 by naboman
disable new topic - CB Group Jive was created by naboman
Hi. I want to ask you if is it possible disable "new topic" directly in Category.



If you see the screen before, now you can create new topic (nuevo tema) directly in Category PeƱas... but I need the user only can create into subcategories (that ones were created when a new group is created with CB GJ)



With Kunena I can do this without problem (control access):




but using GJ I can't have control:




thx
Attachments:
Last edit: 11 years 6 months ago by naboman.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago #225908 by krileon
Replied by krileon on topic disable new topic - CB Group Jive
No, the API doesn't have working separate read/write permissions that I can set. It's global access to that category based off GJ access. You can try locking it though, which may or may not work and it may affect sub-categories; this can be done on the Settings tab of the category. You can also try enabling post review on the same Settings tab. Another option is to remove the new topic button using CSS.


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.

  • naboman
  • naboman
  • OFFLINE
  • Posts: 112
  • Thanks: 3
  • Karma: 0
11 years 6 months ago #225919 by naboman
Replied by naboman on topic disable new topic - CB Group Jive
but if I remove "new topic" button, then when the user is into a Category, he can't create new topic also

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

  • naboman
  • naboman
  • OFFLINE
  • Posts: 112
  • Thanks: 3
  • Karma: 0
11 years 6 months ago #225924 by naboman
Replied by naboman on topic disable new topic - CB Group Jive
I don't understand (how to do) this:
"You can try locking it though, which may or may not work and it may affect sub-categories; this can be done on the Settings tab of the category. "

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago - 11 years 6 months ago #225931 by krileon
Replied by krileon on topic disable new topic - CB Group Jive
Don't know what to tell you. I don't have the API available to implement this. It didn't work in K2.0 nor in K2.0 beta builds. I have not tried K3.0 API to see if I can set separate permissions or not for read/write, but if I could a new release won't be anytime soon.

The below is CSS3 so only works in modern browsers, but it'll get rid of the button in a specific category instead of all categories.
Code:
.kicon-button[href*="layout=create&catid=1667"] { display: none !important; }

Replace 1667 with the actual ID of the Kunena Category to hide its button.

I don't understand (how to do) this:
"You can try locking it though, which may or may not work and it may affect sub-categories; this can be done on the Settings tab of the category. "

On the "Settings" tab while editing your Kunena category there's a Lock and Review feature, you can try either/or/both of them to see if it'll help.


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.
Last edit: 11 years 6 months ago by krileon.

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

  • naboman
  • naboman
  • OFFLINE
  • Posts: 112
  • Thanks: 3
  • Karma: 0
11 years 6 months ago #225958 by naboman
Replied by naboman on topic disable new topic - CB Group Jive
Thank you very much for all.

It works Locking it that you said.

Thx again ;)

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

Moderators: beatnantkrileon
Powered by Kunena Forum