nicgios
Forum Replies Created
-
Thanks Steve,
I’ll take a look to your page and let you know.Forum: Plugins
In reply to: [My Tickets - Accessible Event Ticketing] QR verification with browserThanks Joe,
reactive and precise as usual. I’ll let you know because what we want is to scan with a physical reader linked to a pc in a remote location (remote == in another room :D) so we are not going to have a physical access to the pc during the scan.I’ll see Scan.me and QR Core Reader and let you know. Thanks again
nicgios
Forum: Plugins
In reply to: [My Tickets - Accessible Event Ticketing] mt_max_sale_per_event.. HOw to?Hi gustemps,
That’s what I did:
1]
Open the file mt-fields-api.php (in the plugin directory) and go at the very end of it2]
Put the following lines://GUSTEMPS, added this function my_limit_max_sales( $default ) { return 3; // limit of 3 tickets of given type can be added to cart. }
Of course I put 3, but you can set a number of your choice.
Thanks a lot Joe!
It was soooo simple… and you were so kind: I wish you a happy new year! ??nicgios
Dear Joe,
after several attempts with some WP functions I had already found your solution and I put<link type="text/css" rel="stylesheet" href="https://www.professeurs-crd-blrscx.fr/wp-content/plugins/my-tickets/css/my-tickets.css" />
Which worked: the css is found and correctly loaded, but… (sorry) the QR code remains big (you can try).
I guess the theme is sort of “overwriting” the plugin’s css. Anyway many thanks for your help!
Ok, I see, thanks. Now I’m not using ‘plugins_url’ but the path for my stylesheet:
<link type=”text/css” rel=”stylesheet” href=”MY_PATH”/>
Anyway, neither the absolute path nor the relative one work… Even if I create a css directory in my theme directory and put the stylesheet inside the answer is always: “URL not found”.
The curious thing is that if I put
<link type=”text/css” rel=”stylesheet” href=”css/my-tickets.css”/>
WP doesn’t find the file and tells me: “The requested URL /css/my-tickets.css was not found on this server”. Is the added “/” the problem?
Sorry for the very naives questions, I’m going to investigate if WP paths must be set in another way…
Thanks a lot Joe!
I’m really stupid: it was so simple!
Anyway if I put (in my tickets.php template) something like:<link type=”text/css” rel=”stylesheet” href=”<?php echo plugins_url( ‘my-tickets/css/my-tickets.css’, __FILE__ ); ?>”/>
nothing changes…
Hi Joe,
sorry for the extreme long delay!
Here it is the link:https://www.professeurs-crd-blrscx.fr/?p=871
I put tickets.php into my theme dir: if I put it into mt dir, no problems…
Thanks in advance.
Forum: Plugins
In reply to: [My Tickets - Accessible Event Ticketing] mt_max_sale_per_event.. HOw to?Well… It wasn’t too difficult: I put it here for future usage (if any).
The filter can be called into mt-fields-api.php and the function put at the very end of this file.
I’d be careful for the next upgrade…
Thanks again.
Forum: Plugins
In reply to: [My Tickets - Accessible Event Ticketing] mt_max_sale_per_event.. HOw to?Hi Joe, and thanks for this *wonderful* plugin!
I successfully changed the template for standard ticket (adding buyer’s name) but I have a question.
I saw your filter for limiting the purchases and I’m wondering how to apply it: should I put the filter file into the plugin directory, or in my theme directory? And which function should call it?
Sorry for the naive questions and for reopening this thread…All the best
Forum: Hacks
In reply to: New plugin configuration policyHello MacManX,
thanks for your help. I’m going doing this way.
thanks for the quick answer esmi: I’ll do…
Forum: Themes and Templates
In reply to: form translationForum: Hacks
In reply to: wp_cron name lookup timed outWell some changes:
- my functions works when I run them manually (at least)…
- the message in crontrol is now:
There was a problem spawning a call to the WP-Cron system on your site. This means WP-Cron jobs on your site may not work. The problem was:
connect() timed out! - if i change the start time for a job, and it passes, the job sticks to “now” without any effect… ??
Many thanks for help
WP 3.4.2
I am sorry: after turned on the debug I noticed a problem with memory limits. So I simply added:define(‘WP_MEMORY_LIMIT’, ’64M’);
in wp-config.php and succeded in installing the plugin. Thanks in any case for the support.