Olly

Forum Replies Created

Viewing 20 posts - 3,361 through 3,380 (of 4,430 total)
  • Author
    Posts
  • in reply to: how to access list of categories #9687
    Olly
    Admin & Mod

      >how to access a list of the categories…

      just like any other category. in this case probably appearance->menus => wppizza categories

      in reply to: Help with total amount code #9686
      Olly
      Admin & Mod

        might want to check the attributes of the shortcode again……
        https://support.wp-pizza.com/topic/wppizza-shortcodes/

        value=’items’ (optional[str]: if set to ‘items’, only the total value of items will be displayed without delivery costs, discounts etc)

        in reply to: wppizza_add_category_hidden_field #9677
        Olly
        Admin & Mod

          in fact, you probably want to (read should) compare all the do_action calls in your template with the ones in the current one you can find in wppizza/templates/ to add the missing arguments.
          ie.

          
          	do_action('wppizza_loop_outside_start',$the_query);
          should read
          	do_action('wppizza_loop_outside_start', $the_query, $options, $termSlug, $categoryId);
          
          	do_action('wppizza_loop_outside_before',$the_query);
          should read
          	do_action('wppizza_loop_outside_before', $the_query, $options, $termSlug, $categoryId);
          

          and so forth

          (just compare the two files, searching for “do_action” hooks)

          if you do not, it won’t break things, but i would recommend you do, to make sure future versions behave too in case some functions relay on these arguments

          (hope the above makes sense)

          in reply to: wppizza_add_category_hidden_field #9676
          Olly
          Admin & Mod

            you are (probably) using quite on old and customized version of the loop template in your themes directory. (before october 2014)
            may that be wppizza-loop.php or wppizza-loop-responsive.php

            if that is the case (let me know if it is not) you will find in that template (approx line 227 or so i would think, or possibly approx line 302, depending on version)

            a line that reads :

            
            	do_action('wppizza_loop_inside_after_content', $postId);
            

            or similar.

            change/amend it to read the following

            
            	do_action('wppizza_loop_inside_after_content', $postId, $options, $termSlug, $categoryId);
            

            i.e add the missing 3 arguments

            and you should be fine (it’s just a php notice but annoying i know. just could not be helped at the time)

            in reply to: A list of questions #9664
            Olly
            Admin & Mod

              re 3) items and ingredients are entirely different.

              (menu) items are custom post types (and will write to lots of places – see the wordpress codex), ingredients are stored in the options table wppizza_addingredients options_name ,alongside all other add ingredients data. mess with that at your own risk though…!

              re 4) – most certainly not

              in reply to: Is there a way to #9660
              Olly
              Admin & Mod

                you will have to export the options in the option table.
                however , you must make sure that your imported post ids are the same the were before on the site you exported it all from

                in reply to: Customize sort order of ingredients #9659
                Olly
                Admin & Mod

                  should/will be available in the next version (haven’t had the chance yet to release it, but probably later this week)

                  you will find a dedicated / new option in settings as to how you want to arrange the *added* ingredeients

                  in reply to: A list of questions #9658
                  Olly
                  Admin & Mod

                    busy with things, so just a quick answer.

                    1) Would it be possible to add an option…etc

                    in short: no, as that’s specific to what you are doing and has no use – from what i can see – for anyone else, so i am not going to spend days /weeks developing something noone but you requires. sorry. but that you have to do yourself if you need it

                    2) i can put that on a list of ideas but no promises of either ETA or even Implementation

                    3) >What files are edited …
                    none

                    4) never heard of yfjh_wpb2d_processed_dbtables so i have no idea

                    in reply to: Export orders #9657
                    Olly
                    Admin & Mod

                      all that exists is available from the wppizza->reports section (which also has an export button)
                      whether that is what you are after exactly for your circumstances, i do not know.

                      in reply to: error when browsing #9656
                      Olly
                      Admin & Mod

                        @maherali
                        >it did a Bad Request 503..

                        probably something you want to look into at some point (it’s a server problem, nothing to do with the plugin)


                        @iazomuk

                        >i do not see any option in admin wp setting to update …
                        you just update it from your plugins page (as always….)

                        in reply to: Captcha #9599
                        Olly
                        Admin & Mod

                          what for …. ?

                          most (although probably not quite all) spambots will never see a form on the checkout page they could submit or fill anything into….

                          (and the ones that would be capable – i .e the ones that would execute javascript – would have a lot of hoops to jump through before they get there . i don’t think this is an issue at all (not at the moment, anyway)

                          in reply to: error when browsing #9596
                          Olly
                          Admin & Mod

                            >you want me to ask my developer…

                            no , not anymore.
                            just update the plugin to the latest version and see if the issue persists (which hopefully it won’t)

                            in reply to: Dowload list of Products on Future Orders #9578
                            Olly
                            Admin & Mod

                              @maherali

                              i have already replied to that privately btw.

                              what he’s asking is to have a cumulative output of all orders from all customers for one day so it says for example

                              25 x pizza a
                              125 x pasta b
                              10 x salad c

                              as opposed to
                              5x pizza a
                              10x pizza a
                              7x pizza a
                              3x pizza a

                              20x pasta b
                              25x pasta b
                              etc etc …

                              so you can just say to your supplier “i need 125 x pasta b” for such and such date in the future …

                              in reply to: error when browsing #9575
                              Olly
                              Admin & Mod

                                a) on 5 consecutive failed polls .

                                b) as before (if you get 5 consecutive failed polls, there is something else severely wrong one would suspect which really needs to be investigated – though polling set at every second is probably never a good idea in any event)

                                in reply to: shortcode for showadditives #9572
                                Olly
                                Admin & Mod

                                  as of 2.11.8.13 there is now also the following shortcode you could use

                                  [wppizza type='additives']

                                  no styling, but plenty of classes to style as you see fit

                                  in reply to: error when browsing #9571
                                  Olly
                                  Admin & Mod

                                    @ both of you

                                    try 2.11.8.13 (polling will only fail with alert after 5 fails plus some other tweaks which should also eliminate any js error alerts when moving around very quickly – as mentioned )

                                    .. in theory anyway ….

                                    in reply to: error when browsing #9568
                                    Olly
                                    Admin & Mod

                                      >as if I didn’t allow something to fully load

                                      that would do it (hence i want to change the alert to a console.log in selected places. just want to narrow it down to which ones as i DO want to throw some distinct errors to make pople fix things that need fixing…one step at a time

                                      in reply to: error when browsing #9567
                                      Olly
                                      Admin & Mod

                                        > must say if you go easy on the website don’t fly away then you wont get the error

                                        i’m reasonably (can never be 100% sure though) certain it’s a speed/ajax issue.
                                        do me a favour. (assuming you have – still – turned on debug)

                                        in wppizza/ajax/get-json.php you will find – on line 2

                                        
                                        error_reporting(0);
                                        

                                        (this is deliberate for reasons that take too long to explain here for the moment)

                                        comment this out – temporarily – to read

                                        
                                        //error_reporting(0);
                                        

                                        try and reproduce the error and check the debug.log (which might give us a hint)
                                        it should – also – not only say “error:” in the popup/alert, but perhaps also some more info there

                                        after that reverse that change again (and of course let me know what you find)

                                        in reply to: error when browsing #9564
                                        Olly
                                        Admin & Mod

                                          ok, so we are hijacking someone elses topic, but it kind of relates (up to a point)

                                          apologies @iazomuk, but it might also help (though not solve) your – entirely different i believe – issue (still might want to investigate the debug option above and also update the plugin to start off with !)

                                          anyway:

                                          re) >If the error displayed in console..(polling or otherwise)

                                          depends. if the error is caused from another script, it might not (but then again, there’s nothing i could do there anyway)
                                          (in fact i will still have to think this through if it’s actually a good idea after all and do a bunch of tests – maybe i only do this in selected places)

                                          re) the guy who created my old website…
                                          whatever your previous thing was is not my concern as that is/was clearly a customisation for a very specific case that has no place in the wppizza plugin

                                          re) pay for a mega great big perfect host… | …3rd party company to make your website…

                                          apples != oranges

                                          re) I would also be able to sell my websites ….
                                          not my concern either

                                          in reply to: error when browsing #9561
                                          Olly
                                          Admin & Mod

                                            to explain, javascript popups/alerts – although of course indicating errors – will stop any execution of subsequent scripts or indeed navigation, whereas if it were to just be displayed in the console, it will fail the particular error, but not stop everything else.

                                            so if something fails, it will just carry on and/or retry the next time it comes around
                                            i could probably explain this better, but i think we are all better off if i just do this as opposed to try to explain this – (badly i think).

                                            sure , it’s better if whatever causes the error gets fixed, but one could be more lenient in handling this as i suspect some errors would not necessarily be fatal so to speak and would “sort themselves” out so to speak

                                            i shut up now. (if the above does not make sense to you, don’t worry it’s more for my own sanity/reference)

                                          Viewing 20 posts - 3,361 through 3,380 (of 4,430 total)