Olly

Forum Replies Created

Viewing 20 posts - 1,781 through 1,800 (of 4,430 total)
  • Author
    Posts
  • in reply to: Post/Zip code call map popup #28038
    Olly
    Admin & Mod

      ok, but what does that have to do with something hijacking the core WP thickbox though ?

      more importantly if you want to use the redirect thing you want to have it opened anyway without having to click on a button first, don’t you ? (which is the default behaviour)

      not sure where the issue is or why the behaviour it already has needs to be modified ?!

      in reply to: Post/Zip code call map popup #28036
      Olly
      Admin & Mod

        it already opens by itself when used ?!
        (as you can see here http://pizzadewl2.wpengine.com/online-bestellen/neu-bei-mama/)

        but – as i said – your non-working site uses something that hijacks the WP thickbox (or is customised that way – i cannot know)

        in reply to: Post/Zip code call map popup #28033
        Olly
        Admin & Mod

          you are using something that hijacks the normal wp thickbox.
          you have to re-initialize the map once the container has been opened (check the google codex re maps) or it has no idea what size it needs to be and the width/height is 0 – hence nothing shows

          you will see what i mean when you open the container/map and simply resize the browser. it will now show up as the container div has a specified/known width / height when it’s opened

          in reply to: After updating, completed orders wont send emails #28020
          Olly
          Admin & Mod

            those notices will have nothing to do with no emails being sent.
            your issue is elsewhere (and as you are giving me nothing else to go on i cannot tell you anything else either)

            in reply to: Times menu causing conflict with Divi theme sub menu #27938
            Olly
            Admin & Mod

              that wont work

              you are supposed to remove the filter (and you REALLY need to understand how filters and action hooks work if you want to do any kind of customisation in wordpress – there are plenty of tutorials )

              for the time being and simplicities sake (but be aware of the consequences of editing core files – i.e you will not be able to update the plugin without loosing your changes or having to re-apply them every single time). However i make no guarantees if you choose to do so:

              in v2x.php of the plugin you will find (approx line 81)

              
              add_filter('wp_get_nav_menu_items', array($this,'wppizza_tm_exclude_nav_menu'), null, 3 );/*exclude posts and pages from nav menu (appearance->menus)*/
              

              simply delete that line (or comment it out)

              let me re-iterate though. you are trying to use a program/plugin for something it was not designed for

              in reply to: Times menu causing conflict with Divi theme sub menu #27935
              Olly
              Admin & Mod

                my guess is you are removing the function, not the filter !
                if you do that you will get nothing

                in reply to: Times menu causing conflict with Divi theme sub menu #27930
                Olly
                Admin & Mod

                  btw, just to be sure, simply removing the filter on a test install works just fine and simply re-shows (so to speak) the pages/links that were omitted (you do seem to somewhat also have some post categories in your menu for some reason – i would suggest you re-check your Appearance->menu setup)

                  in reply to: Times menu causing conflict with Divi theme sub menu #27929
                  Olly
                  Admin & Mod

                    >pickup and deliver the food to the customer, nothing to do with the actual restaurant.
                    none of my business of course, but I am wondering what the site does if the restaurant in question is closed…..just thinking out loud though.

                    removing that filter does nothing to the menu layout or css as it does not add anything to it in the first place when used. it simple removes items from the list ….

                    looks to me more like your menu hierarchy is not what it should be but that is not anything wppizza or any wppizza plugin influences. (but megamenu will probably)

                    in reply to: Times menu causing conflict with Divi theme sub menu #27926
                    Olly
                    Admin & Mod

                      what shortcode ?
                      i did no say anything about shortcodes..

                      in reply to: Times menu causing conflict with Divi theme sub menu #27920
                      Olly
                      Admin & Mod

                        first of all i would suggest, not to use a plugin to do something it’s not meant for.
                        there is even a very good chance that the plugin will be amended – at some point in the not too distant future – so that you won’t even be able to add things to the cart outside the set hours EVEN IF you remove the covering div ! (After all, that’s the point of the exercise)

                        secondly – although i do not 100% know what the exact requirements for your site are of course – it seems to me you are listing the menues of different restaurants. if that is the case, i sincerely hope you are using a mutlisite setup (if nothing else at least for your own sanity)

                        if so, you could simply (staying with bud-alleys here for example) create 3 sites for it (breakfast/lunch/dinner) and make the opening times and menues as required (i.e breakfast has breakfast products and breakfast opening times etc )

                        then you could use the preorder plugin to actually open the shop but people need to choose an appropriate time in the future if it’s closed.

                        however, if you are trying to be a “middleman” so to speak , the only half way sensible way i can see is simply adding something to the pages (as you have done) or indeed into the title of each menu item

                        again though, those are just ideas. i know nothing about the requirements or how all these restaurants work there or what the site is supposed to enable/do

                        you could also remove this filter in the plugin
                        add_filter('wp_get_nav_menu_items', array($this,'wppizza_tm_exclude_nav_menu'), null, 3 );/*exclude posts and pages from nav menu (appearance->menus)*/

                        via some remove_filter class

                        but – as mentioned above – this might not help you in the long run anyway (unless you will never update the plugin )

                        in reply to: Times menu causing conflict with Divi theme sub menu #27918
                        Olly
                        Admin & Mod

                          pages do not appear in the dropdown menu if there’s nothing on the pages that can be ordered because the time(s)/date(s) set for the items when they are available is outside the current time/date. that’s intentional.

                          however, you have chosen to not only display the items not available (that’s optional of course – under the options tab of the plugin), but have also overridden the css to actually allow ordering of the item.
                          that kind of defeats the point of using the plugin.

                          I guess I could add an option to NOT remove the pages from a menu if they are empty (i.e there’s nothing on there to order) but am somewhat puzzled why you would use the plugin in the first place ?!

                          perhaps I am missing something ?

                          PS: Btw, this has nothing to do with or is caused by the theme you are using with the plugin…

                          in reply to: export for multisite #27856
                          Olly
                          Admin & Mod

                            the only way to do that sensibly is clone your site (i have had good results with this https://en-gb.wordpress.org/plugins/ns-cloner-site-copier/)

                            as post id’s (menu items), size id’s (meal sizes), categories and ingredient ids are all linked and are not really export/importable on their own

                            in reply to: Error 403 when saving custom groups on page one #27852
                            Olly
                            Admin & Mod

                              first of all, you need to enable debug and check the debug log
                              https://support.wp-pizza.com/topic/how-to-enable-debug-in-wordpress/

                              secondly, a 403 error is a server error you will have to investigate (but the debug.log might help)

                              Olly
                              Admin & Mod

                                >updated and it works.
                                hooray

                                >thanks for such a quick implementation of the fix
                                no problem

                                >I’ll update the WPML thread too.
                                thank you

                                Olly
                                Admin & Mod

                                  as of wppizza version 2.16.11.24 , i believe this is now fixed and was due to some legacy coding left in the plugin for very old wppizza versions (in case anyone cares reading this :))

                                  had nothing to do with WPML or any other non-wppizza plugins. simple coding error on my behalf

                                  obviously, if there are still issues for some reason, let me know

                                  PS: might take a couple of minutes for that update to show up in your plugins page

                                  Olly
                                  Admin & Mod

                                    >ok, thanks for digging in
                                    no problem, thanks for reporting and helping to get to the bottom of it

                                    >for now, I’ll stick to the workaround shortcode and wait for udpates from you & WPML
                                    good plan

                                    i think i should have this fixed later today, if it turns out it’s all down to me/wppizza

                                    Olly
                                    Admin & Mod

                                      >>you’re confusing the reason why I use it
                                      >no, i know why you are using it

                                      actually, i lied. I only paid attention to one of the issues (the names being truncated – not the numbering being wrong).
                                      apologies, i have to fix that

                                      Olly
                                      Admin & Mod

                                        I am kind of surprised nobody mentioned this before though, but then again, maybe this issue did not exist with previous/old WPML versions…who k nows

                                        Olly
                                        Admin & Mod

                                          just a quick update.

                                          this is quite interesting. using a vanilla install of WP, WPML and WPPizza and the shortcode [wppizza type=”additives”] does exactly as you describe. (i.e it shows a truncated messed up list). as soon as i turn off WPML its all there again as it should be.

                                          i shall mess around with a couple of things here. perhaps it really is a WPML problem after all.
                                          usually i think it’s either my issue or elsewhere….

                                          anyway will keep you posted here and on the WPML thread when i know some more, and while i am at it , I might also try and find out why the ordering is strange when you use your workaround shortcode

                                          Olly
                                          Admin & Mod

                                            >you’re confusing the reason why I use it
                                            no, i know why you are using it

                                            >produces a strange unordered list of
                                            yes, that’s the idea (although obviously a full list , not the truncated array you get at https://snag.gy/s8mvWz.jpg ). it’s an unstyled list. there’s nothing “strange” about it. it has tons of classes and things wrapped in elements . you could simply add the same css used for the ones that are being used when using your workaround shortcode

                                            however, evidently, suggested shortcode produces a – shall we say – unwanted result in your case which i can assure you it does not normally. hence i believe the issue is elsewhere. Again, you/we are fixing the symptoms, not the cause

                                            So, first of all, do you also get this truncated array(i/e mess) your end using the recommended shortcode, but WPML turned off ?

                                          Viewing 20 posts - 1,781 through 1,800 (of 4,430 total)