We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20644
    • 37 Posts
    Hi Nicpan
    Muramoto, what is in final the good package?
    I’ll post here a snippet that does work, if you want to include it in the package.
    Oh,Really?? Thanks! Please include it wink
    I attach new file,beta5.zip.
    I added new code that add an user to the default group, when exporting , calling OnWebSaveUser.
    And some fix for ExternalIdMap.It’s sometimes cause to trouble.
    I have had some tests for ExternalIdMap , export default group(clear my ExternalIdMap and Exporting, importing,etc) .
    Maybe It’s OK!
    I hope that the future version will have completely sync users and groups.
    I want to manage users and groups on MODx perfectly.
    To make this function, I need a lot of time.

    <From 1.1beta4 to 1.1beta5>
    1.Add new code that add an user to the default group ,when export new user,and call OnWebSaveUser event.
    2.ExternalIdMap sometimes cause to trouble.So I modified and added check ExternalIdMap has connection between ExternalId and EntityId,or not.And If not,add ExternalId and EntityId to ExternalIdMap.
    (I modified and added the code to import.class,export.class,plugin,snipet.)
    <From 1.1beta3 to 1.1beta4>
    1.Back to old code(g2cms.admin)
      • 20644
      • 37 Posts
      Does nobody reply to my article?

      I have been using the module 1.1beta5 for a while, I have no problem(maybe....)
      So 1.1beta5 is a good and stable package.
        • 21475
        • 80 Posts
        Hi muramoto,

        Everything seems to work fine smiley
        Unfortunatly, i don’t have enought time to finish the image block. Hope to post here back with it in few weeks.
        Thanks a lot for your work smiley
          • 8358
          • 4 Posts
          Ok, first of all I am a newby end have read the entire subject but am still confused with the configuration of the Gallery Module in MODx.
          I have no idea what the (/var/www/html/..) stands for. I have tried it all in vain. Now what I have done is uploading the Gallery 2.2 (Double Double), the latest release and FTP’d this one in: modx/gallery2. OK, this could be problem one, the version 2.2. But to make sure I want to be sure my configiration settings are ok, which I have them all confused by now.
          So, I would appreciate very much if anyone could help me out to set this right.

          My installation is as follows:
          MODx .9.6 RC1 in /public_html/mdx/
          Gallery2 v2.2 in /public_html/mdx/gallery2
          let say my page is: www.domain.com/

          What I am looking for is if someone please can spell exact the configuration settings in my case.

          Module Conf. String: ... huh
          parameter value
          (1) /assets/modules/gallery/ huh
          (2) var/www/ huh
          (3) (ex gallery2) huh
          (4) defaultGallery2 huh (is this a group name I have to make in MODx?)
          (5) Leave Gallery User (pretty clear)
          (6) admin

          Has anyone tried out the latest version Gallery2 v2.2? I have uploaded the complete version of Gallery2 which is almost 50MB I believe.

          Thanks for your help.
            • 20644
            • 37 Posts
            Hi, eager
            Quote from: eager at Mar 22, 2007, 05:33 PM


            My installation is as follows:
            MODx .9.6 RC1 in /public_html/mdx/
            Gallery2 v2.2 in /public_html/mdx/gallery2
            let say my page is: www.domain.com/

            What I am looking for is if someone please can spell exact the configuration settings in my case.

            Module Conf. String: ... huh
            parameter value
            (1) /assets/modules/gallery/ huh
            (2) var/www/ huh
            (3) (ex gallery2) huh
            (4) defaultGallery2 huh (is this a group name I have to make in MODx?)
            (5) Leave Gallery User (pretty clear)
            (6) admin
            It may be,
            (1) assets/modules/gallery/
            (2) /public_html/mdx/gallery2/ ( it’s the absolute path of gallery2.)
            (3) /mdx/gallery2/
            if Site root is set /public_html/mdx/, this parameter is "/gallery2/".
            (4) This parameter is add MODx Web User into Gallery2 Group(Set here as Default),when export a Modx Web User to Gallery2.
            You don’t need to make same group in MODx.But need to make group in Gallery2.
            If you don’t add users into Gallery2 Group(Set here), you can set blank.

            And, I checked only module 1.1 on Gallery2 2.1.2 and MODx 0.9.5.
            I have tested Module 1.1 on Gallery2 2.2, but have some problem.
            Does anybody test Gallery2 2.2?


              • 8358
              • 4 Posts
              Hi muramoto, Thanks for your early reply. I have done the 1.1beta5 and and applied the config settings above.
              I am still getting the the following execution errors:

              Warning: execute(/public_html/mdx/gallery2/embed.php) [function.execute]: failed to open stream: No such file or directory in /home/fotopre/public_html/mdx/assets/modules/gallery/g2cms.admin.class.inc.php on line 24

              Fatal error: execute() [function.require]: Failed opening required ’/public_html/mdx/gallery2/embed.php’ (include_path=’/home/fotopre/public_html/mdx/manager/includes/’) in /home/fotopre/public_html/mdx/assets/modules/gallery/g2cms.admin.class.inc.php on line 24


              Still a bit confused about the g2cms.zip as mentioned in your document in the 1.1beta5.zip.

              I have also uploaded the Modxfix.zip but not sure this had to be done.




                • 20644
                • 37 Posts
                Quote from: eager at Mar 24, 2007, 05:42 PM


                Still a bit confused about the g2cms.zip as mentioned in your document in the 1.1beta5.zip.

                I have also uploaded the Modxfix.zip but not sure this had to be done.


                Hi,eager

                the g2cms.zip in readme.doc is 1.1beta5.zip.
                I didn’t modify a part of readme.doc yet,Sorry.
                I ’m not using Modxfix.zip on 0.9.5 so I think it’s not needed.
                Are your site using Webhosting service?
                Full absolute path to gallery2(parameter (2) ) is
                /home/fotopre/public_html/mdx/gallery2/
                maybe.


                  • 8358
                  • 4 Posts
                  Hi Muramoto,

                  That definitely did the trick, I went through and can now do some testing.
                  How did you know this? I could never come up with this sollution myself.
                  I am indeed using a webhosting service. I will remark on my findings on
                  version 2.2, if any. Many Thanks!
                    • 20644
                    • 37 Posts
                    Quote from: eager at Mar 25, 2007, 03:56 AM

                    Hi Muramoto,
                    That definitely did the trick, I went through and can now do some testing.
                    How did you know this? I could never come up with this sollution myself.
                    I am indeed using a webhosting service. I will remark on my findings on
                    version 2.2, if any. Many Thanks!
                    Congraturation! grin grin
                    I found the path from your error message
                    Warning: execute(/public_html/mdx/gallery2/embed.php) [function.execute]: failed to open stream: No such file or directory in /home/fotopre/public_html/mdx/assets/modules/gallery/g2cms.admin.class.inc.php on line 24
                    Many webhosting service hide except user’s home directly ("/home/******/") for security.

                    I tested only on my linux servver,so I could not found this problem.
                      • 31377
                      • 2 Posts
                      Geting following error then I try to use this..
                      The admin panel works good but I can’t view the gallery on the homepage..
                      Someone know how I get this to work? ;P

                      « MODx Parse Error »
                      MODx encountered the following error while attempting to parse the requested resource:
                      « PHP Parse Error »

                      PHP error debug
                      Error: Unknown: failed to open stream: No such file or directory
                      Error type/ Nr.: Warning - 2
                      File: /web_root/manager/includes/document.parser.class.inc.php(748) : eval()’d code
                      Line: 20

                      Parser timing
                      MySQL: 0.0036 s (5 Requests)
                      PHP: 0.0398 s
                      Total: 0.0434 s