neijisly
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Plugin to upload mediaThank you for your answer. I will do this: I
have a link (eg https://domain.com/
gdjkakdhg) that downloads an audio file for
example. I pass the link in my extension and
the extension download the file for me and
keep it in wordpress all online without
having to put the file in my computer. I think
it’s clear. Thank youno ! his longer work
Yes! the problem had just buddypres but I not resolved this
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Support notificationI tried but does not work. the link returns the same page
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Support notificationWork fine but How can i take a link directly to a ticket when i click in notification ?. That will be very good if you will add this function in plugin core.
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Support notificationHi Julien, i wrote the function
<?php
function custom_filter_notifications_get_registered_components($component_names=array() ) {if(!is_array($component_names) ) {
$component_names=array();
}array_push($component_names,’custom’);
return $component_names;
}
add_filter(‘bp_notifications_get_registered_components’,’custom_filter_notifications_get_registered_components’);function custom_format_buddypress_notifications($action,$ticket_id,$secondary_item_id,$total_items,$format=’string’) {
if(‘custom_action’ === $action) {
$custom_link= ‘/contact’;
$custom_text=’We have replied to your ticket’;if(‘string’===$format) {
$return=apply_filters(‘custom_filter’,’‘.$custom_text.’‘);}else{
$return=apply_filters(‘custom_filter’,array(
‘text’=>$custom_text,
‘link’=>$custom_link
),$custom_link, (int)$total_items,$custom_text,$custom_title);
}
return$return;
}
}
add_filter(‘bp_notifications_get_notifications_for_user’,’custom_format_buddypress_notifications’,10,5);
function bp_custom_add_notification($ticket_id,$comment_object) {
$author_id=$post->ID;
bp_notifications_add_notification(array(
‘user_id’=>$author_id,
‘item_id’=>$ticket_id,
‘component_name’=>’custom’,
‘component_action’=>’custom_action’,
‘date_notified’=>bp_core_current_time(),
‘is_new’=>1,
) );
}
add_action(‘wpas_add_reply_after’,’bp_custom_add_notification’,99,2);
?>Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Support notificationThank you. but I don’t know how i can write and send this in buddypress. Please write for me or give me an exemple.
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Support notificationYes, i want this e-mail notification arrives in buddypress message. I’m looking for a function to make it
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Support notificationThank for your reply
My question: when administrator reply to a topic, the user whom created topic receive a notification or message buddypress ex: admin reply to your topic #457Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Support notificationYes