Olly

Forum Replies Created

Viewing 20 posts - 1,641 through 1,660 (of 4,431 total)
  • Author
    Posts
  • in reply to: Printing the same order on two printers #29720
    Olly
    Admin & Mod
      in reply to: Printing the same order on two printers #29719
      Olly
      Admin & Mod

        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

        in reply to: Printing the same order on two printers #29718
        Olly
        Admin & Mod

          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

          in reply to: Printing the same order on two printers #29707
          Olly
          Admin & Mod

            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;
            }
            in reply to: Printing the same order on two printers #29705
            Olly
            Admin & Mod

              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 print

              in reply to: Unable to approve "pending" menu items #29702
              Olly
              Admin & Mod

                sorry guys
                schoolboy error on my part
                will release an update in the next half an hour (3.0.6) and that should be fixed then

                apologies

                in reply to: Order History has disappeared #29701
                Olly
                Admin & Mod
                  This reply has been marked as private.
                  in reply to: Order History has disappeared #29700
                  Olly
                  Admin & Mod

                    have restored the backup first ?

                    in reply to: Order History has disappeared #29698
                    Olly
                    Admin & Mod

                      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)

                      in reply to: Unable to approve "pending" menu items #29695
                      Olly
                      Admin & Mod

                        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 !

                        in reply to: Unable to approve "pending" menu items #29693
                        Olly
                        Admin & Mod

                          have you (or anyone else for that matter) tried the link i posted ?

                          in reply to: Blacklist Mail Adresses #29690
                          Olly
                          Admin & Mod

                            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 subscriptions

                            this 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)

                            in reply to: Blacklist Mail Adresses #29688
                            Olly
                            Admin & Mod

                              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 ?

                              in reply to: Blacklist Mail Adresses #29680
                              Olly
                              Admin & Mod

                                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)

                                in reply to: Blacklist Mail Adresses #29679
                                Olly
                                Admin & Mod

                                  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

                                  in reply to: Since major update, red dots everywhere #29658
                                  Olly
                                  Admin & Mod

                                    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 :)

                                    in reply to: Since major update, red dots everywhere #29657
                                    Olly
                                    Admin & Mod

                                      >I did it right in the theme.
                                      why would you do that ? next time the theme updates your dots might well be back

                                      in reply to: Since major update, red dots everywhere #29655
                                      Olly
                                      Admin & Mod
                                        in reply to: Since major update, red dots everywhere #29652
                                        Olly
                                        Admin & Mod

                                          i 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 reply to: Error when upgrading to wppizza v 3.0.3 #29596
                                          Olly
                                          Admin & Mod

                                            in your particular case it’s – most likely – that you are still using an old version of the “dbp” plugin

                                          Viewing 20 posts - 1,641 through 1,660 (of 4,431 total)