-
Pynet replied to the topic Personalized notification when publishing a type of post in the forum How-to & Troubleshooting 1 year, 10 months ago
Ok, I fixed it, there was a function that returned an array instead of a string.
In case anyone is interested:
$client_id= get_post_meta($post_id, ‘_sliced_client’, true);
Regards -
Pynet replied to the topic Personalized notification when publishing a type of post in the forum How-to & Troubleshooting 1 year, 10 months ago
No one?
-
Pynet started the topic Personalized notification when publishing a type of post in the forum How-to & Troubleshooting 1 year, 10 months ago
Hello,
I am trying to create my own notification, but it is not working.
The notification should not be for the author of the post, but for whoever is assigned as client “_sliced_client”, which is stored in the postmeta table in the database and returns the client id.
Wordpress version: 6.1.1
BuddyPress version: 10.6.0<?php
[Read more]
// this is to add a… -
Pynet replied to the topic Restrict member visibility in the forum How-to & Troubleshooting 1 year, 11 months ago
Hello again,
My customer now wants to filter members by zones, so I have created two different profile fields: for suppliers Zone1, for customers Zone2.
Suppliers may have one or more zones, customers only one (that’s why creating two different profiles).
I have tried to combine the code here…[Read more] -
Pynet's profile was updated 1 year, 11 months ago
@pynet
Active 11 months, 2 weeks ago