amadex

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Mashup restriction with Role Scope plugin #12278
    amadex
    Participant

      Hi, I’ve found the problem. I had this in my functions.php:

      ——————————————————–

      add_action( ‘admin_init’, ‘restrict_admin’, 1 );

      function restrict_admin() {

      if ( ! current_user_can( ‘manage_options’ ) ) {

      wp_redirect( site_url() );

      exit;

      }

      }

      ——————————————————–

      Don’t understand why it was interfering with mappress ajax, but this was the cause…

      in reply to: Mashup restriction with Role Scope plugin #12271
      amadex
      Participant

        @jeffreygrant Hi, did succeeded in making it work not logged as admin?!…

        in reply to: Mashup restriction with Role Scope plugin #12267
        amadex
        Participant

          Hi Chris, unfortunately I can’t give access to the site at this stage… Is there anything else I can do to find what’s happening? If I do a PHP wpquery the data is obtained (either not logged in, or logged as subscriber). With the mashup, it stays with the “loading” box and nothing happens… Every page and content is published and not private or draft. I don’t know if it is relevante but I’m doing a mashup over a custom post type, containing custom fields and custom taxonomy.

          in reply to: Mashup restriction with Role Scope plugin #12262
          amadex
          Participant

            I’ve just checked that, with the PHP query, I get all the data! The mappress mashup only works when I’m logged in as administrator. Doesn’t work when logged in as any other role or not logged in at all… Any help?!…

            in reply to: Mashup restriction with Role Scope plugin #12261
            amadex
            Participant

              It happens something similar to me… When I’m logged in as administrator I can see the mashup. When I’m  logged in as subscriber I can’t… But I can always see an isolated map… No membership plugins active.

              in reply to: InfoBox close button (mapp-ib-close) #11955
              amadex
              Participant

                Hi Chris, thank you for the feedback. I was trying to avoid creating duplicate CSS classes just to cover for the links, because I’m intending to use the buttons I already have. Concerning the “X” I think it could be really useful to be able to define what one wants there. Regards

                in reply to: InfoBox close button (mapp-ib-close) #11951
                amadex
                Participant

                  Hi, display:none or visibility:hidden will both hide the icon-font… So no solution for now. I think you should consider in the futur to have this configurable via template or something.

                  There is another question regarding mapp-links and the a links: is it possible to add css classes to the links? Javascript? Via template, doesn’t seem possible.

                  in reply to: InfoBox close button (mapp-ib-close) #11948
                  amadex
                  Participant

                    Hi, tkx for the feedback. If I do display:none, also the icon-font is removed… The ideal situation was to remove the “X” from the DIV, either by template or by javascript. From CSS I haven’t found any solution (only getting the text transparent, but the X is still there)…

                  Viewing 8 posts - 1 through 8 (of 8 total)