masopustc
Forum Replies Created
-
Hi Angelo,
sorry for late response….
I now didn’t try your guess (but expect to do what it should :)), I now
doing things differently.
As mentioned in my request I had need for this to add some information
to the generated CSV-file, but now we found that the CSVs generated by
Events Manager won’t fit our needs and therefore we create real XML
within our plugin.Just one request for enhancement: would be fine to have a possiblilty
to either replace the “export CSV” link in bookings overview or the
possibility to add our own icons/buttons to the head of the bookings
overview (without editing your plugin :))Anyway, thanks a lot for your support!
hmmm… maybe I was not clear, but…
in my above example I’m already using the “get_event” method of EM_Bookings_Table, and this method always returns false when being used in
the mentioned filter.Hi,
not the complete code, but:
add_filter('em_bookings_table_get_headers', 'my_func', 10, 3); function my_func($headers, $csv, $EM_Bookings_Table) { $theEvent = $EM_Bookings_Table->get_event(); // $theEvent always is false $events = $EM_Bookings_Table->events; // here $events is empty when $csv is true... }Forum: Plugins
In reply to: [WP Photo Album Plus] Add parameter for number of thumbs to shortcodeHi Jacob,
so you suggest to use type=generic for the shortcode, set covertype to imagefactory and then the number of cover photos to my required number.
For me it looks promising, alltough it’s again a general settings and not as flexible as when it can be set with the shortcode.I’ll discuss this with my content owner an we’ll see what they think about it 🙂
Anyway… thanks a lot for your very fast analysis and answer!
(and for the plugin too 🙂Forum: Plugins
In reply to: [WP Photo Album Plus] Add parameter for number of thumbs to shortcodeWould be great!
Thanks a lot!
Hi,
that’s exactly the problem I’m facing at the moment.Do you have any solution for that problem?
Thanks,
ChristianSure, we can close that issue.
Thanks for your help!
I also have absolutely no idea what causes this problem (as I also have
a test-system with the exact same setup and there it works like a charm).When failing, within the PDF there is the following text displayed:
“Image not found
http://xxxxxx.xxxxxxxxxx.xx/wordpress/wp-content/uploads/2014/01/LogoHP1000_288.png”
and hoovering over this text (or klicking on it)
shows the “real” URL as “http://xxxxxx.xxxxxxxxxx.xx/wordpress/wp-content/uploads/2014/01/LogBoRHP-C10V0C0_”Anyway… I’ve tested now the latest version (1.1.4) and it’s working
again, the logo is within the PDF.When “turning off path and use url instead”, the behaviour is the same
as before with version 1.1.2… no logo.and… it’s quite impressing how quick you’ve found a solution…
Forum: Plugins
In reply to: [WooCommerce] Woocommerce: confirmation mail as soon as order arrivesSolved the problem!
For all interested in this topic: I simply used the wrong hook. After a
long investigation yesterday evening I found out that all the hooks
named ‘woocommerce_order_status_….’ only apply when manually changing
the status in the admin area.To automatically change the initial status of an order I simply have to
hook into ‘woocommerce_thankyou’ (or in my case, as I only use bacs
gateway for paying, into ‘woocommerce_thankyou_bacs’).Forum: Plugins
In reply to: [WooCommerce German (de_DE)] Woocommerce: Initial status of an orderSolved the problem!
For all interested in this topic: I simply used the wrong hook. After a
long investigation yesterday evening I found out that all the hooks
named ‘woocommerce_order_status_….’ only apply when manually changing
the status in the admin area.
To automatically change the initial status of an order I simply have to
hook into ‘woocommerce_thankyou’ (or in my case, as I only use bacs
gateway for paying, into ‘woocommerce_thankyou_bacs’).I’m using the Event-Manager at our internal webserver (for our workers
council) and we don’t have payment. But you’re right, additionally to
doing authentication (against our active directory) I also will fill
out the user information.
At the moment I plan to do this without creating an account within
wordpress, therefore I’ve set guest-enabled and use the “no user option”.I’ve now modified (in my theme) the bookingform.php and replaced the
submit button by a “pre-submit” button which calls a javascript. This
JS then does simple authentication (via AJAX) and also gets back the
necessary user data which then will be written to some hidden form
fields.It’s really great when one finally finds out the principles and ideas
that you’ve followed when writing the Event-Manager 🙂There’s now only one open point: when booking an event now, I no longer
see that I’m already booked for this event when visiting the event-page
again and also I’m not able to edit my bookings.
But I’m sure I’ll also find a way for that 🙂Thanks,
christianForum: Plugins
In reply to: [WooCommerce Cart Tab] Mods not working in newer versionThat’s strange… you’re absolutely right. I’ve waited now the 30 minutes you’ve mentioned and it’s working (alltough before some changes appeared immediately)… strange..
anyway, thank’s a lot, I’d never come to the idea to wait for that long time 🙂
Forum: Plugins
In reply to: [WooCommerce Cart Tab] Mods not working in newer versionHi,
I’m trying to do some similar and also fail. But I’m not sure that this
is related to caching as I tried to modify some other things within
the script and these modifications appear immediately…So… anyone here who could shed some light on this problem?