???? ???? ???????
?? ?????? ??? ?? ??? ?? ?? ???? ?? ?? ??? ??????? ??????? ????? ? ?? ??? ????? ???? ?????? ??? ?? ????? ??? ?????.
????? ????????? ?? ?? ?? ?? ???? ???? ??? ????? ????? ????? ?? ???? ????: ????? ?? ?? ????? ???? ??? ???? ?? ????? ??? ????? ???? ?????? ???? ? ???? ?????? ???? ? ??? ???? ?? ?????. ??? ???????? ?? ????? ?? ????? ????.
?????? ?? ????? ?? ???? ??? ????? ????:
https://livestudio24.com/wp-content/uploads/2021/02/Capture.jpg
???? ???? ??????? ??? ? ???? ?????? ?? ? ???? ?????? ?? ???? ?????. ???? ?????? ?? ?? ?? ??? ???? ???? ? ???? ???????? ???????? ? ????? ?????? ?? ?????? ??? ??? ??? ???? ???? ????.
?? ????? ?? ?? ???? ???? ????? ?? ?? ??? ???? ???? ??????? ????? ???? ????? ????? ??? ???? ??? ??? ???? ??? ???.
???? ????? ?? ???? ??? ?????. ??? ????? ??? ????? ???? ??? ??????.
?????? ???? ?? ???? ????? ??? ? ????????
????? ???? ???? ????.
?? ???? ?? ???
Hi,
How to add more info in order notification ?
As for now this plugin only send info regarding Orders on
-Include Items
-Include Shipping Info
-Include Billing Info
So how can i add more info. I need to inform the other parties what time the delivery date, time, pickup or shipping.
Thanks.
]]>???? ?? ??? ?????? ?? ??? ????
???? ? ???? ?? ?? ???? ?? ?????
??? ???? ??? ?? ???? ????? ????
??? ???? ?? ?? ????? ???? ??? ????? ???? ???? ???? ????? ?????
??? ??????? ????? ??? ??? ????? ?? ??????? ?? ?? ???
???? ???? ???????
???? ?????? ? ??? ???.
???? ??????? ??? ?????? ???? ???? ?? ?? ????? ????? ?????? ?? ?? ??? ?????? ?????????? ??? ????? ?? ?? ?????? ??????
??? ???? ???? ???? ???? ??? ???? ????? ????? ???? ???? ? ???? ?? ??? ?????? ???? ?????? ?? ??? ? ?????? ?? ??? ????? ?? ??? ??? ??? ????.
????? ???? ???????? ????.
Hello and thanks for this great plugin
I wonder If I can add more than user id in my settings?
Waiting for your replay
thanks
]]>???? ? ?? ???? ???? ???????.
??? ????? ???? ???????? ?????? ???? ?? ??? ? ??? ????? ?? ?????? ?? ?? ????? ???? ????? ????? ????? ?? ??? ????? ???? ?? ???? ????? ?? ???? ????? ????? ???? ???? ???? ?????. ???? ???? ????? ?? ?? ?????? ???????? ??? ??? ??????? ?????? ? ??????? ?????? ???? ????.
???? ??? ???? ?? ????? ????.
?? ???? ?? ???
Hi!
I have installed plugin on WP. Got my ID and put it on.
Checked test message – “OK”. I got message on my phone on telegram.
After ‘save settings’, ID and options just dissappeared. No error log or any other kind of erros in console.
Any thoughts?
]]>?? ????
????? ?? ?????? ????? ???? ? ??? ???
????? ????? ?????? ??? ????? ???? ??? ????? ??? ?? ?????? ??? ?? ???? ??? ???
?? ???? ??????? ??? ????? ? ???? 50 ????? ??????? ?? ??????? ???? ???? ?????? ??? ?? ??? ????? ???? ?? ????? ????? ????? ?????? ?? ????? ?????? ????? ????
??? ??? ??? ??? ????? ?? ??? ??????? ????? ?? ?? ??? ?? ??? ??? ?????? ???? ?? ?? ?????? ????? ????
?????? fs poster ?? ??????? ???? ?? ???? ?????? ????? ? ?????? ?? ???? ??????? ?? ????? ??? ?????
?? ??????? ??? ??????? ????? ?? ??? ?? ?????? ?? ?????? ????? ???? ??? ?????? ??? ????? ???? ??????? ???? ?? ?? ???? ?????? ????? ??? ?????? ????? ?? ??? ????? ??? ???? ??? ???? ???? ????? ???? ? ?????? ???? ???? ?????? ?????? ???? ?? ??
??? ??? ???? ? ?? ???? ?? ???? ?? ?????? ?????? ????? ???? ?? ??? ?? ????? ??????? ?? ??? ?? ??? ?? ??? ?????? ??? ???? ?? ?? ?????? ????? ????
??? ????? ?? ?????????? ?? ?? ??? fs poster
?????? ?? ???? ???? ?? ??? ??? ?????? ?? ???? ?????
??? ?? ??? ???? ? ???? fs poster
?? ????? ??? ???? ????? ?? ???? ?????? ?????? ??? ?? ???? ?? ???? ????? ????? ???? ??????? ? ????? ???? ?? ??????? ?? ??? ??? ?? ???? ????? ????
???? ???? ????? ?? ?????? ????? ???? ???
????? ???????? ??? ????
]]>????
?? ???? ?? ?????? ??????. ??? ????? ?? ?? ???? ???? ?? ????? ???? ?? ???? ??? ??? ? ?????? ?? ?????? ????? ?????? ?????? ?? ?????? ????.
???? ??????? ??????? ? ??? ?????? ?? ????? ????? ??? ? ????? ????.
Hi, congratulations for the plugin!
I’d like to share with you some changes I made in order to support notifications for buddypress activity.
Maybe you are interested in including this feature in future releases.
includes/class-telefication.php (LINE 385+):
if ( isset( $this->options['new_user_notification'] ) ) {
$new_user_notification_checked = checked( 1, $this->options['new_user_notification'], false );
}
/* ETATUS CHANGES >>>>> */
if ( isset( $this->options['bp_activity_notification'] ) ) {
$bp_activity_notification_checked = checked( 1, $this->options['bp_activity_notification'], false );
}
/* <<<<< ETATUS CHANGES */
/*
* Notify for emails
*/
includes/class-telefication.php (LINE 490+):
/* ETATUS CHANGES >>>>> */
// Notify for buddypress activity
error_log("if( bp_is_active( 'activity' ): ". bp_is_active( 'activity' ));
if( ! bp_is_active( 'activity' ) ) {
$buddypress_is_active = '<p>' . __( ' Buddypress is not active!', 'telification' ) . '</p>';
}
printf(
'<input class="%s" type="checkbox" id="bp_activity_notification" name="telefication[bp_activity_notification]" value="1" %s/>' .
'<label class="%s" for="bp_activity_notification"><b>' . __( 'Buddypress activity:',
'telefication' ) . '</b> ' . __( 'Enable this to get notified for buddypress activity',
'telefication' ) . '</label><br> ',
isset( $buddypress_is_active ) ? 'disable' : '',
isset( $bp_activity_notification_checked ) ? $bp_activity_notification_checked : '',
isset( $buddypress_is_active ) ? 'disable' : ''
);
/* <<<<< ETATUS CHANGES */
}
// Own Bot Setting Page
admin/class-telefication-admin.php (LINE 182+):
// New user action
if ( isset( $this->options['new_user_notification'] ) && '1' == $this->options['new_user_notification'] ) {
$this->loader->add_action( 'user_register', $this, 'telefication_action_user_register', 10 );
}
/* ETATUS CHANGES >>>>> */
// Notify for Buddypress activity - Filter
if ( isset( $this->options['bp_activity_notification'] ) && '1' == $this->options['bp_activity_notification'] ) {
$this->loader->add_filter( 'bp_activity_add', $this, 'telefication_bp_activity_admin_notify', 10, 3 );
}
/* <<<<< ETATUS CHANGES */
}
/* ETATUS CHANGES >>>>> */
function telefication_bp_activity_admin_notify( $activity_array, $activity_id ) {
$message = $activity_array['action'];
$telefication_service = new Telefication_Service( $this->options );
if ( $telefication_service->create_url( $message ) ) {
$telefication_service->send_notification();
}
}
/* <<<<< ETATUS CHANGES */
]]>
Hello,
great plugin.
I would like to have the order URL instead of the site URL at the end of the notification send to telegram when new order is created.
I have to change to code to something like that :
public function telefication_action_woocommerce_thankyou( $order_id ) {
...
//$message .= site_url();
$message .= $order->get_edit_order_url();
But a customizable template would be better because I will loose my changes when I update the plugin …
]]>Fatal error: Cannot declare class Html2TextException, because the name is already in use in /home/*/domains/*.com/public_html/wp-content/plugins/telefication/includes/Html2TextException.php on line 12
]]>Hello!
I need to use your plugin for notifications for Woocommerce orders.
I set up my own bot and test messages and post notifications work fine. But when it comes to woocommerce orders I don’t get any notification. What my issue could be?
]]>?????? ??? ?? ??? ??? ???????? ??????? ?????? ???? ???? ????? ??? ? ??? ???? ???? ???
get_user_meta( $user_id , ‘first_name’, true )
?? ???????? ???? ??? ???????? ??? ??? ????? ?? ????????
???? ???? ????
]]>Hello! Notifications work quickly. But sometimes I receive notifications about old orders. Today I received a re-notification of the order, which was made a week ago. It happens sometimes. what can be done?
]]>Hello Foad,I’ve just started using this plugin and i like it very much!But I have encountered a problems a when i try to get title in the new comment it dont display the title in my telegram channel here is my code :
$title = get_the_title( $comment->comment_ID );
$d = "Y-m-d g:i:s";
$comment_date = get_comment_date( $d, $comment_ID );
$author_text = get_comment_author( $comment_ID );
$comment_text = get_comment_text( $comment_ID );
//notification body
$message .= __( '<em>New Comment</em> ', 'telefication' ) . "\n";
$message .= _('<strong>'.$author_text .'</strong>'). " <em>wrote at</em> \n";
$message .= '<i>' .$comment_date .':</i>';
$message .= $title;
$message .= $comment_text . "\n\n";
$message .= __( 'Comment Link: ', 'telefication' ) . get_comment_link( $comment_ID );
$telefication_service = new Telefication_Service( $this->options );
if ( $telefication_service->create_url( $message ) ) {
$telefication_service->send_notification();
}
Thank you.
]]>
?? ????
?? ?????? ?? ?? ???? ???? ???? ??? ???? ??? ?? ?? ???? ?? ????? ????? ??? ??? ????? ???? ? … ?? ?? ???? ????
??????
]]>Hi Foad,
I’ve just started using this helpful plugin and love your plugin very much!
But I have encountered 2 separate problems as below:
1.) I cannot add my own bot following the instruction in the plugin.
When I press the button to send text message to my own bot for getting chat ID, there is error prompt in the browser saying “Not authorised”.
2.) Even I added @teleficationbot into my group and set it as “Admin”. It could not send notification to the group of multiple members.
Could you please provide guidance on how to fix it?
Many thx!
Shindo
]]>????
???? ????? ??? ?????? ????? ???? ?????
?? ?? ????? ? ?? ???? ???? ?? ????? ?????
???? ???? ?? ??? ???? ???? ???? ???? ? ????? ????
?? ??? ????? ?? ????? ???? ??? ?????? ????? ?? ???? ???? ? ??? ??? ?? ??? ? ????? ????
???? ???? ?? ?????? ??? ? ?? ??? ?? ???? ??????? ? ???? ??? ?? ??? ??????? ????? ???? ? ?? ??? ???? ?????? ?? ???? ?? ???? ?????? ???? ????
??? ???? ???
?? ??? ???? ?? ????? ????? ???? ??? ???? ?????? ????? ???
????? ?? ???? ???? ??????? ?? ???? ???? ?? ???? ????? ? ? ?? ???? ?? ???? ?????? ???? ???? ? ??? ???? ????? ???? ??????? ???? ???? ? ?? ????? ?? ???? ???? ??????? ?? ???? ??????? ???? ?? ????? ??
??? ?? ??? ???? ???? ? ????? ??? ???? ??? ???? ?????? ???? ????? ???
???? ?? ?????
Howdy!
I’ve just started using this helpful plugin.
Folowed all the istructions to set up my own bot and it went fine ’till the point where I got the access token.
When putting it inside the plugin and the clicking “save”, it doesn’t save anything and the field becomes blank again.
I’ve already checked the token and tried also with telefication bot (inserting my chat id), but the plugin does not save!
Also when checking the general settings and clicking “save”, it doesn’t save.
Any solution? (already tried to reinstall a couple of time)
Thank you!
Leonardo DOnnini
Hello, I liked the plugin.
How can I get a link to an entry in the notifications where the comment is left?
And also get a link to a new post?
Now in the code in notifications comes a link to the main site
/**
* New Comment Action
*
* @since 1.4.0
*
* @param $comment_ID
*/
public function telefication_action_wp_insert_comment( $comment_ID ) {
$comment_text = get_comment_text( $comment_ID );
//notification body
$message = get_bloginfo( 'name' ) . ":\n\n";
$message .= __( 'New Comment: ', 'telefication' ) . "\n-----\n\n";
$message .= $comment_text . "\n\n";
<strong>$message .= site_url();</strong>
$telefication_service = new Telefication_Service( $this->options );
if ( $telefication_service->create_url( $message ) ) {
$telefication_service->send_notification();
}
}
How can I receive notifications via a link to the main page of a site?
$message .= site_url();
but on the page where the comment was written?
How to replace site_url();
Thank you
]]>Just wondering if it’s possible to send replies e.g. for woocommerce orders update order status with replies?
]]>