Skip to content

Instantly share code, notes, and snippets.

View altuno's full-sized avatar

altuno

  • Swiss Photo Club
  • Switzerland
View GitHub Profile
Event,"Transaction ID","Attendee ID","Registration ID","Time registration occurred","Unique Code for this registration","Count of this registration in the group registration ","Registration's share of the transaction total",Currency,"Registration Status","Transaction Status","Transaction Amount Due","Amount Paid","Payment Date(s)","Payment Method(s)","Gateway Transaction ID(s)",Check-Ins,"Ticket Name","Datetimes of Ticket","First Name","Last Name","Email Address","Address Part 1","Address Part 2",City,State,Country,"ZIP/Postal Code",Phone,"Total Taxes","Event Categories",Author,Tag,Venue,"Transaction Promotions"
"SPC Photo Awards: Zürich 2021 Februar (DE) (44518)",13510,44899,23923,"2020-11-30 20:48:00",13510-1569-2-ea57,"2 of 2",21.5,CHF,Approved,Complete,0.00,0.00,,,,0,"Preis/Foto für ehemalige od aktuelle Kurs-Teilnehmer und Mitglieder des SPC","2021-02-25 17:00:00",David,Wiedemr,[email protected],,,,,,,0799581137,,"Photo Awards","Berns, Joan",DE,"PHOTOBASTEI 2.0",
"SPC Photo Awards: Zürich 2021 Februar (DE) (445
//* EE4 Add User Filter
add_action('admin_head','woocommerce_js');
function woocommerce_js()
{
echo '<style>
.authors_custom {
display:none;
}
@altuno
altuno / gist:ee701858b6951f5163d453b5ac9f0847
Created March 19, 2020 12:06
EE4 Add Author filter to Events view
//* EE4 Add User Filter Event View
add_action('admin_head','woocommerce_js');
function woocommerce_js()
{
echo '<style>
.authors_custom {
display:none;
}
<?php
/*
Plugin Name: Site plugin for genevaphotoclub.com
Description: Site specific code for genevaphotoclub.com
*/
/* Begin Adding Functions Below This Line; Do not include an opening PHP tag as this sample code already includes one! */
add_action( 'init', function() {
remove_all_filters( 'rest_url' );
} );
<style>
.time{
min-width:100px;
}
.start_date{
min-width:60px;
}
</style>
<?php
<style>
.time{
min-width:100px;
}
.start_date{
min-width:60px;
}
</style>
<?php
function tw_change_access_message( $original_text, $ticket, $ticket_price, $ticket_status ) {
return sprintf(
'Prix de membre | Member price: %3$s. <br /><br /><a href="/fr/login/">Se connecter</a> | <a href="/login/">Login</a><br /><br /><a href="/fr/devenir-membre/">Devenez membre</a> | <a href="/become-a-member/">Become a member</a>',
'<strong>',
$ticket->name(),
$ticket->price(),
'</strong>',
$ticket_status
);
<style>
.time{
min-width:100px;
}
.start_date{
min-width:60px;
}
</style>
<?php
[Tue May 08 13:47:15 2018] [error] [client 193.134.194.90] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external" stderr: PHP message: A valid DateTime could not be generated from "-0001-11-30 01:00:00 +0100 Europe/Zurich" because the following errors occurred: <br /> Array, referer: https://www.genevaphotoclub.com/registration-checkout/?uts=1525779874
[Tue May 08 13:47:15 2018] [error] [client 193.134.194.90] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external" stderr: (, referer: https://www.genevaphotoclub.com/registration-checkout/?uts=1525779874
[Tue May 08 13:47:15 2018] [error] [client 193.134.194.90] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external" stderr: [warning_count] => 0, referer: https://www.genevaphotoclub.com/registration-checkout/?uts=1525779874
[Tue May 08 13:47:15 2018] [error]
<style>
.time{
min-width:100px;
}
.start_date{
min-width:60px;
}
</style>
<?php