grnesmith
Forum Replies Created
-
What user role is your user using that can’t upload files ??
Thanks ,
GavinForum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Multiple Ticket UsersI don’t think there is a way to do this at the moment at the moment. That would require changing the Stakeholders box and also changing the way the data is saved to the ticket.
Cheers,
GavinHey Julien,
anytime I love the product, I have wrote some add-ons for it and might incorporate it in a support environment here sometime in the future.cheers,
Gavinoops …. that is all tickets in the DB … sorry I will keep looking
cheers
gavinWill something like this work for you? I didn’t test it but I used something like this in my at a glance feature.
$All_tickets = wpas_get_ticket_count_by_status($state,'any'); if($all_Tickets == 0) { echo ' nothing here'; }else{ echo do_shortcode('[tickets]'); }Thank you,
GavinGive me a moment as I am looking at source ……. thanks
Also, using the code I pasted above will only return tickets that are on hold or processing/new
for on hold tickets the post status is hold and for new and processing tickets the post status is processing
You can use the below to do this. Only issue is it dose not show all of the tickets that are open by any user unless you are admin. If you are not admin than it only shows the open tickets for the current user
$tickets = wpas_get_user_tickets( 1, ‘open, ‘any’ );
Also to get s better understanding of how the array is composed you can go to the repo or just print_r($tickets); and it will show you what the function outputsCheers
Gavinis this in effect? can I use the
$tickets = wpas_get_user_tickets( 1, 'any', 'any' );to display tickets to an HTMl table?thanks,
G