Forum Replies Created
-
AuthorPosts
-
maybe you should start here first
you are supposed to USE the filter in your theme’s (or actually your child theme’s) functions.php file , not replace it. that defeats the point of having filters in there in the first place
no, you are supposed to use a filter.
NEVER EVER edit core files themselves – that’s why filters exist and are left in plugins (among other things).https://www.google.co.uk/search?site=&source=hp&q=wordpress+how+to+use+filters
if you want to do ANY kind of customisation in wordpress you MUST learn about filters and action hooks
so the filter function should be something along the lines of (if you have it set for 2 copies)
if($cp == 1){ return 'some other printer id'; }else{ return $printerid; }you need to set the printer id per copy
the filter looks like this$printerid = apply_filters('wppizza_gcp_filter_copies', $printerid, $cp);
where $printerid is – obviously – the printer id and $cp is a simple count depending on how many copies you have set to printsorry guys
schoolboy error on my part
will release an update in the next half an hour (3.0.6) and that should be fixed thenapologies
This reply has been marked as private.have restored the backup first ?
when you have updated the plugin you cannot simply overwrite the plugin files with an old version. it will not work. you must restore from a backup and re-do the upgrade (as it clearly explained in the upgrade notice / howto)
first of all though you should find out what the 500 error was and make sure this does not happen again
and you MUST update all extensions to v3 compatible versions (as is also stated in the update notice/guide)
please send me an email to dev[at]wp-pizza.com as i will have to ask you for some credentials
do NOT post them here – even as private reply – as the original poster will also have access to it !have you (or anyone else for that matter) tried the link i posted ?
first of all, why do you need users to be registered anyway ? (if that’s what you want , then that’s your prerogative of course, but this will not be native to wppizza – as i already alluded to at length elsewhere on this forum)
secondly, having had a quick look on some german law sites, double-opt in ONLY seem to be required for newsletter subscriptionsthis is not what wppizza does so can’t see the issue in the first place on that front
(again, am not a lawyer and might be completely wrong of course, just saying)wppizza simply uses the way wordpress does registrations (i.e people select “register” and they get an email where they have to set their password)
perhaps there is a way one can make this an option to double opt in – i’ll have a think but i can assure you it’s not imminent
i am of course not a lawyer, but i am not sure whether you actually need double opt in here anyway as you are not subscribing to any newsletter but simply add your email to an order you make …apart form that here’s an
— abbreviated quote from one of the wordpress core developers ——
Many regulatory issues are left up to 3rd parties simply because they’re not used by everyone and the regulations are vastly different in different places.
……
It’s also the same reason that the eu cookie law isn’t directly handled by core and remains a hook able feature.
——— end quote ——-furthermore, why does it mean “no guest checkout” ?
pizza.de (for example) does not seem to have any issue with me just typing in my email address when ordering
should it not in fact be ONLY guest check-out ?
i don’t know the full story of course but it sounds to me like your server people need to do their homework (ptr , dmarc, whatnot records)
cant see why this should be your issue (and most certainly not wppizza’s issue)surely , that should be blocked at server level …
not sure why this would be a wppizza issue (or how wppizza should/could solve this )but feel free to expand as to what you would want wppizza to do
oh, i might have misunderstood.
perhaps you meant in the place the theme provides to add css…anyway, as long as it works for you , we’re all happy :)
>I did it right in the theme.
why would you do that ? next time the theme updates your dots might well be backi can assure you wppizza does not do dots (red or otherwise) but your theme does
(it adds them to li elements as backgrounds)the “old” wppizza just overwrote them 3.x does not (but the next version will. i might as well put this overwrite back in)
in your particular case it’s – most likely – that you are still using an old version of the “dbp” plugin
-
AuthorPosts