Reply to: tickets(211412)

Please be very careful with the files. I did some customization already to show the purchased products at the bottom of the agenda page.

agenda page to be able to edit pre selected(paid tickets) events: https://sync.coxautoinc.com/main-agenda/

That is based on the user role. Admin sees all the events. I did that using an Event type for each user role.

 

THe

FTP: coxsync.sftp.wpengine.com
port: 2222
user: coxsync-ashanjay
psw: 9X0f4xD8VR35

 

Admin:
https://sync.coxautoinc.com/
user: eventon@eventon.com
psw: %pGjowW46@YisxRr^ihoU&^t

This is the code to show the right events to the right user role: [xyz-ips snippet=”MAIN-AGENDA-CONTROLER”]

This shortcode is  located at XYZ Php Snippets plugin (see attached iamge) and it’s called: MAIN-AGENDA-CONTROLER

<?php
//$retail = current_user_can(‘retail’));
//echo do_shortcode( ‘[add_eventon fixed_month=”1″ fixed_year=”2021″]’ );
if (current_user_can(‘retail’)){
echo do_shortcode( ‘[add_eventon_wv event_type=”79,” week_style=”1″ table_style=”1″ ux_val=”3″ fixed_week=”2″ fixed_month=”1″ fixed_year=”2021″]’ );
} elseif (current_user_can(‘enterprise’)){
echo do_shortcode( ‘[add_eventon_wv event_type=”76,” week_style=”1″ table_style=”1″ ux_val=”3″ fixed_week=”2″ fixed_month=”1″ fixed_year=”2021″]’ );
} elseif (current_user_can(‘enterprise_dealer__mobility_edm’)){
echo do_shortcode( ‘[add_eventon_wv event_type=”80,” week_style=”1″ table_style=”1″ ux_val=”3″ fixed_week=”2″ fixed_month=”1″ fixed_year=”2021″]’ );
} elseif (current_user_can(‘nextgear_capital’)){
echo do_shortcode( ‘[add_eventon_wv event_type=”78,” week_style=”1″ table_style=”1″ ux_val=”3″ fixed_week=”2″ fixed_month=”1″ fixed_year=”2021″]’ );
} elseif (current_user_can(‘manheim’)){
echo do_shortcode( ‘[add_eventon_wv event_type=”77,” week_style=”1″ table_style=”1″ ux_val=”3″ fixed_week=”2″ fixed_month=”1″ fixed_year=”2021″]’ );
}else{
//echo “Corporate user role”;
echo do_shortcode( ‘[add_eventon_wv  week_style=”1″ table_style=”1″ ux_val=”3″ fixed_week=”2″ fixed_month=”1″ fixed_year=”2021″]’ );
}
?>

 

 

Thank you so much for your help.
Do you think we can have that feature today? We really neeed to launch the webiste.

Reply to: tickets(211478)

Hi Artem

This seems weird. The first thing i actually checked is if that php-directive is working before i opened the ticket…

https://werthenstein.bacher-digital.ch/phpinfo.php
According to this “allow_url_fopen” is active.

But OK i will contact my Hosting-Provider once again, maybe there is really something off.

 

Reply to: tickets(211339)

No, It’s not working now.

You can’t open no event (Did you try?) Did you check that the css changed in all the template?