Skip Navigation

[Waiting for user confirmation] Messaging to the group/Individual user.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 1 voice.

Last updated by Minesh 3 hours, 41 minutes ago.

Assisted by: Minesh.

Author
Posts
#2785296

jum

Hi,

I am trying to implemented group functionality (referred toolset previous tickets) to user. As we can´t make a relationship between wp user directly. I created a new User post type with name and email custom fields. when new user register it automatically create a post in user post type.

Created Group CPT and have many - to- many relationship with user. Using frontend form the user can create group, add user to group , join and leave other group.

I want to create a messaging for the user /group.
Requirement:
users can send messages to other users and admin can message groups. Individual users can message their own groups.

I created a Message post type and connected with group and user.

I struck how can i select user or group in message form? (as post relationship option is not available in post form)

ex: FORM
message: its a testing
share: group1 or individual user

Please guide me how to achieve this messaging to group /individual.

Thanks in advance,

Regards,
Kaviya

#2785581

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Here is a detailed Doc with step by step instructions about how you will be able to create the messaging system using Toolset:
- https://toolset.com/documentation/legacy-features/miscellaneous/how-to-create-a-messaging-system-with-toolset/

Can you please try to follow that and check if that help you to resolve your issue.

#2785638

jum

Hi Minesh,

I went to the documentation. Does this support message to the group (group chat)or its only for one -one -communication.

Thanks
Regards,
Kaviya

#2785651

jum

Hi,

I like to add few more questions.

I have installed messaging module and I imported the messaging module.

I can see message post type with below custom field

Title
Post body
Message to
Message from
First message ID

Do we need to create a field for Contractor ID? .

I tried to copy the new message form shortcode , i dont see anything.

[cred_generic_field field='post_content' type='textarea' value='' urlparam='' output='bootstrap']
{
"required":1,
"validate_format":0,
"persist":0,
"default":""
}
[/cred_generic_field]

The document is little confusing with the setup. Can you please guide me how to set this messaging.

Thanks,

#2785795

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

what you mean by group chat? Do you mean you want to send the single message to multiple users? If yes:

Can I have problem URL and admin access details and also tell me to what users you want to send the message?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2785939

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please tell me from where using what page you aim to send the message?

Can you please share detailed workflow, like:
- user will login as this user (frontend)
- user will go to this link to send me group message where form is available to send me message to selected group
- as soon as user send message, X users should receive message
- login as X (please share frontend user access details) frontend user to crosscheck

I have set the next reply to private which means only you and I have access to it.

#2786073

jum

Hi Minesh,

I just wonder did you received my previous reply?. I havent see that message in the thread.

Thanks in advance

#2786079

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I do not see your message even. Can you please send me your explanation.

#2786087

jum

ok , can you please open the private reply again?

#2786089

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I have set the next reply to private which means only you and I have access to it.

#2786121

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

we will take issue one by one. As per our support policy, we entertain only one question per ticket.

This will help other users searching on the forum as well as help us to write correct problem resolution summery for the original issue reported.

For now, with this ticket, I will try to address the fist question:
1)in View [wpv-view name="groupmessage2" postid="191242"]

the post id is entered manually when i try to use [wpv-post-id] like [wpv-view name="groupmessage2" postid="[wpv-post-id] "] it not getting the dynamic current post id
====>
I've created the following content template:
=> hidden link

The above content template will work as a container that will hold the view as:

 [wpv-view name="groupmessage2" postid="[wpv-post-id]"]

And then with your elementor's template:
=> hidden link

To display the above content template, I've added the following shortcode:

[wpv-post-body view_template="container-ct-view-groupmessage2"]

Can you please confirm the view works as dynamic post ID:
- hidden link