Skip to Content Skip to Menu

Usecase related to posts

  • liaskas
  • liaskas
  • OFFLINE
  • Posts: 382
  • Thanks: 36
  • Karma: 2
  • Add-ons
4 years 11 months ago #315022 by liaskas
Usecase related to posts was created by liaskas
Hello...

I have noticed that there is a column named "title" next to "message" column of table comprofiler_plugin_activity that is always NULL. Where is this column used?


This is making me ask about the following usecase...

We need users to be able to select from prefixed titles (set by admin) while posting in the "What's on your mind?" text field.

The reason is because we want to make clear to our business community members, what each post is about and maybe use the title field values to categorize posts.

Is it possible to have a drop-down title field in each post that is done? I mean for each post that a user creates to select (mandatory) a title too.

Thank you in advance!
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
4 years 11 months ago #315029 by krileon
Replied by krileon on topic Usecase related to posts
Most activity is dynamically output. Meaning the title and message of a post are output via other plugins after they've parsed their activity. However, stored activity is also possible. In that case the stored title and message would output as normally. The title displays directly next to a persons name in the activity display. You can create stored activity manually within CB Activity > Activity or using CB Auto Actions to generate it.

The title field is not meant to be used the way you're wanting. For what you're wanting you should use the Action feature and re-purpose it as you can supply your own action types in CB Activity > Actions that they can select from and supply a title for. They'd select the action from the dropdown and they'll be asked to supply a title, which is basically exactly as you're wanting.


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.

  • liaskas
  • liaskas
  • OFFLINE
  • Posts: 382
  • Thanks: 36
  • Karma: 2
  • Add-ons
4 years 11 months ago #315038 by liaskas
Replied by liaskas on topic Usecase related to posts

The title displays directly next to a persons name in the activity display.


This is what we need...

You can create stored activity manually within CB Activity > Actions


Tried this and we are dealing with the following issues...
  1. CB Activity / Actions does not seem to respect the ACCESS restrictions!
  2. We need the custom action types we created to be visible by default for the users to select and be required.
  3. We need the action types to appear as a normal dropdown select field. Now users have to pup the cursor in the field and write something for the options to become visible.

or using CB Auto Actions to generate it


Looked in CB Auto Actions but i have no idea about how to accomplish this. Is there a tutorial?

Thank you in advance!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
4 years 11 months ago #315047 by krileon
Replied by krileon on topic Usecase related to posts

CB Activity / Actions does not seem to respect the ACCESS restrictions!

Working perfectly fine in my tests. More than likely the user you're using has access to the selected access of the action. It uses View Access Levels and not Usergroups directly.

We need the custom action types we created to be visible by default for the users to select and be required.

There's not functionality to make actions required or default applied.

We need the action types to appear as a normal dropdown select field. Now users have to pup the cursor in the field and write something for the options to become visible.

You mean you don't want the textarea field collapsed? You can turn that off under the Create parameters of an activity stream.

Looked in CB Auto Actions but i have no idea about how to accomplish this. Is there a tutorial?

For what exactly? You misquoted me above. CB Auto Actions can be used to automatically generate activity entries. I don't know how it's going to help you exactly in regards to what you're trying to do as it was to explain how the Title parameter is used.


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.

  • liaskas
  • liaskas
  • OFFLINE
  • Posts: 382
  • Thanks: 36
  • Karma: 2
  • Add-ons
4 years 11 months ago #315065 by liaskas
Replied by liaskas on topic Usecase related to posts
Thank you krileon.

What would be perfect for us shows in the following screenshot...



I understand that what we need may be out of the scope of community builder and possibly a modification is required. So we want to ask:

Does joomlapolis offer such a service? Paid modifications?

Is there a way to contact experienced community builder specialists for hire?
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
4 years 11 months ago #315074 by krileon
Replied by krileon on topic Usecase related to posts
What you're asking for is custom behavior. You'd have to develop that your self. We do not provide custom development here. You maybe able to move the Action button dropdown using template overrides, but there's no functionality to make it required. You can find the template file with the Action button in the below files.

/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/activity/edit.php
/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/activity/new.php


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.

Moderators: beatnantkrileon
Powered by Kunena Forum