You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tell me, please, is it possible to get the сid of a new comment from outside?
I'm trying to make a plugin that will send notifications to the telegram messenger when new comments are added, and in order to get a link to a comment (it will be sent in a message) I need the cid of the new comment being added...
Using ACTION_ACT_PREPROCESS in my plugin, I get everything I need except the cid...
I'm afraid if I do as you have in the plugin ($cid = md5($comment['user']['id'].$date);), the time may not match and the cid in my plugin will be different from yours...
The text was updated successfully, but these errors were encountered:
In general, I would really like to be able to handle the event of editing, adding, deleting, toggling comments with accessibility to the comment text and its cid.
Tell me, please, is it possible to get the
сid
of a new comment from outside?I'm trying to make a plugin that will send notifications to the telegram messenger when new comments are added, and in order to get a link to a comment (it will be sent in a message) I need the
cid
of the new comment being added...Using
ACTION_ACT_PREPROCESS
in my plugin, I get everything I need except thecid
...I'm afraid if I do as you have in the plugin (
$cid = md5($comment['user']['id'].$date);
), the time may not match and thecid
in my plugin will be different from yours...The text was updated successfully, but these errors were encountered: