Riccardo

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 59 total)
  • Author
    Posts
  • in reply to: Community ticket admin manager #1258690
    Riccardo
    Participant

    Thanks Geoff.
    It works.
    So I want disable the add event but I want to keep the modification of an event.
    it is possible?
    If I want to disable some feature in the Event community I have to hidden in the the template file php
    thanks

    in reply to: Community ticket admin manager #1256393
    Riccardo
    Participant

    Hi Geoff,
    but the role “vendor admin” how can I simulate then?
    thanks

    in reply to: Community ticket admin manager #1254794
    Riccardo
    Participant

    Hi Geoff,
    I installed the plugin but it doesn’t change the events author.
    I try assign all the privileges to the vendor admin but nothing.
    It only do the change in the POST but not in events.
    thanks

    in reply to: Community ticket admin manager #1254503
    Riccardo
    Participant

    Hi,
    sorry if I made an other post, but even if I assign all the privilege to the vendor admin role I don’t see in author list of the event.
    thanks

    in reply to: Community ticket admin manager #1254490
    Riccardo
    Participant

    Hi,
    I try give to vendor admin all the privileges for the posts but it doesn’t appear in the authors list so i cannot select it.
    I try to give the privileges for the events but it doesn’t appear in the author list.
    thanks

    in reply to: Community ticket admin manager #1254476
    Riccardo
    Participant

    Hi Geoff,
    thanks!
    What I have to change?
    I didn’t find the “edit_event_tickets”

    thanks

    in reply to: Community ticket admin manager #1254438
    Riccardo
    Participant

    Hi Geoff,
    thanks but the email is a Vendor admin Role, it cannot edit the post…
    So how can I do?
    thanks

    in reply to: Add ticket manager #1252220
    Riccardo
    Participant

    Hi Caroline,
    I have:
    – Events Calendar
    – Event Tickets
    – Event Tickets Plus
    So what I have to buy to manage the events tickets? community ticket or community events?
    thanks

    in reply to: Filter bar tags events are the same as the article #1246741
    Riccardo
    Participant

    Hi Cliff,
    I’m sorry, but where are the custom tag?
    If I write an Event, the only Tag I have is the article tags…
    Thanks

    in reply to: Get ticket in order #1243268
    Riccardo
    Participant

    Hi Cliff,
    I you haven’t suggestion or some improvements, you can close the thread!
    thanks

    in reply to: Get ticket in order #1242976
    Riccardo
    Participant

    Hi Cliff,
    this is the solution I try to write, it works… maybe you can help me to simplify or there is something more simple
    thanks

    
    function controllo_biglietti_ordine($order){
    	
    	
    	global $woocommerce;
        $order_controllo   = new WC_Order( $order );
    	
    	//retrieve the order id
    	$order_controllo = trim(str_replace('#', '',  $order_controllo->get_order_number()));
    	
    	
    	// array to control the results
    	$array_controllo = array();
    	
    	
    	  if ( sizeof( $order->get_items() ) > 0 ) {
    
            foreach ( $order->get_items() as $item ) {
    
                if ( $item['qty'] ) {
    
                  
                    
    
                    $_product   = $order->get_product_from_item( $item );
                    $item_name  = $item['name'];
    				
    				$ticket_meta = get_post_meta( $item['product_id'] );
    		
    			
    			
    				$trova_dentro_array = '_tribe_wooticket_for_event';
    				
    				
    				if (array_key_exists($trova_dentro_array,$ticket_meta)){
    					
    					// if there is a ticket
    					$controllo_biglietto = 1;
    					
    					
    				}
    				
    				else {
    					
    					// if it isn't a ticket
    					$controllo_biglietto = 0;
    				}
    				
    				$array_controllo[] .= $controllo_biglietto;
    				
    			}
    				
    		}
    	
    }
    	
    	
    	if (in_array('1',$array_controllo)){
    		
    		$risultato_controllo = 1;
    		
    	}
    	else {
    		
    		$risultato_controllo = 0;
    	}
    	
    	
    	return $risultato_controllo;
    	
    }
    

    then in my email template

      
    // PETTE retrieve result of function
    	$variabile_controllo_biglietto = controllo_biglietti_ordine($order);
    	
    	// if the result is 1
    	if ($variabile_controllo_biglietto == 1){
    		
    	
    echo 'Hi, the tickets will send with next email. Thanks';
    	}
    	
    • This reply was modified 7 years, 2 months ago by Riccardo. Reason: Edit the code
    in reply to: Get ticket in order #1242803
    Riccardo
    Participant

    Hi Cliff,
    in the email customer completed order, if there are tickets a want add:
    “in the next email we will send the tickets”
    If there are not ticket I want don’t show the message

    thanks

    in reply to: Attendee information more tickets #1241953
    Riccardo
    Participant

    Hi Cliff,
    so it is not only my problem.
    So I’m waiting for official release, plugin update?
    thanks

    in reply to: Attendee information more tickets #1241318
    Riccardo
    Participant

    Hi Cliff,
    I’m waiting for it.
    It’s very important!
    thanks

    in reply to: Attendee information more tickets #1241030
    Riccardo
    Participant

    This reply is private.

Viewing 15 posts - 1 through 15 (of 59 total)