We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4273
    • 356 Posts
    yep the idea was to have the modx/smf connect know which user is which based on domain that way users from one domain could login and be logged into that domain and users who login from the wrapped smf on another domain would logged into that domain. Will have to improvise for the time being laugh
      SMF Bookmark Mod - check it out
      http://mods.simplemachines.org/index.php?mod=350
      • 22221
      • 283 Posts
      Quote from: Neomancer at Apr 19, 2006, 04:09 PM

      So far I’ve only had one problem:

      I register for a new account in modx and log in. Then I go to the forum (I’m signed it to that as well) and I go to the profile page. Under the Modify Profile section I choose the Account Related Settings option. To make any changes to these settings you need to enter your password. My password never works.

      From my understanding, a random password is assigned to the smf account at some point in the sync process. I looked at the hashes in the smf database and this appears to be the case.

      Is it by design that the smf account password remains a random one to restrict users from changing their email/password from within smf? I am only interested in allowing users to be able to change the "hide email/online status" options.

      Thanks for any help you can provide smiley

      Anybody can confirm or invalidate this problem ? I don’t find any Answer to the Neomancer question.
        • 21952
        • 13 Posts
        Quote from: jlarson at Mar 25, 2006, 09:35 AM

        Could someone please tell me what’s wrong? I’m getting the following errors:

        Fatal error: Call to undefined function: smf_registermember() in /home/ccwmorg/public_html/assets/modules/smforum/smf.sync.class.inc.php on line 114

        and

        Fatal error: Call to undefined function: smf_loginbyid() in /home/ccwmorg/public_html/assets/modules/smforum/smf.admin.class.inc.php on line 36

        when running the 2 options in the module. The include smf_api_1.1.php is being read, but apparently not seen properly as code. For instance, a test "echo" statement in that file shows parse error, unexpected T_ECHO.

        Hi jlarson,

        Can you (or can someone else) explain to me how did you fix the problem.
        I’m experiencing exactly the same and I don’t understand why...
          • 32963
          • 1,732 Posts
            xWisdom
            www.xwisdomhtml.com
            The fear of the Lord is the beginning of wisdom:
            MODx Co-Founder - Create and do more with less.
            • 32963
            • 1,732 Posts

            It’s by design that the system create a random password. I now have to find a way to allow them to be able to set the MODx password from SMF sad

            Time for a version 1.1


            Quote from: OncleBen31 at May 24, 2006, 02:49 AM

            Quote from: Neomancer at Apr 19, 2006, 04:09 PM

            So far I’ve only had one problem:

            I register for a new account in modx and log in. Then I go to the forum (I’m signed it to that as well) and I go to the profile page. Under the Modify Profile section I choose the Account Related Settings option. To make any changes to these settings you need to enter your password. My password never works.

            From my understanding, a random password is assigned to the smf account at some point in the sync process. I looked at the hashes in the smf database and this appears to be the case.

            Is it by design that the smf account password remains a random one to restrict users from changing their email/password from within smf? I am only interested in allowing users to be able to change the "hide email/online status" options.

            Thanks for any help you can provide smiley

            Anybody can confirm or invalidate this problem ? I don’t find any Answer to the Neomancer question.
              xWisdom
              www.xwisdomhtml.com
              The fear of the Lord is the beginning of wisdom:
              MODx Co-Founder - Create and do more with less.
              • 21952
              • 13 Posts
              Quote from: xwisdom at May 14, 2006, 11:43 AM

              Hi Everyone,

              It’s been a while now but let’s me see if I can help put some of these problems to rest.

              A few things to note:

              1) Make sure you have updated your log.class.php inside manager/includes/ folder. This file should have been supplied with the SMF connector.

              2) Make sure your installation of SMF is working properly before you even try to install the module

              3) Make sure your SMF path is pointing to the correct folder. This is the physical path to the SMF folder NOT the url path. For example: /home/mysite/forums. One good way of getting the physical path is by creating a little file called getpath.php and add the following to it:

              <?php
              echo dirname(__FILE__);
              ?>

              Save this file and upload it into your smf folder and run it from the browser: e.g. http://ww.mysite.com/forums/getpath.php

              When the path is displayed, copy it and paste it into the smf path of the plugin. Remove the getpath.php file from your website.

              4) Make sure that all your module files are properly uploaded.



              Thank you for your reply xwisdom,

              I have checked all your points but I still have "undefined finctions" when I trys to launch module’s manager.
              When I paste the "undefined function" from smf_api_1.1.php to smf.admin.class.inc.php and smf.sync.class.inc.php , it works but I guess thats’not the right way to fix the problem (I guess smf_api_1.1.php is used by other files and then needs to be "readable").

              Do you see any solution ?
                • 21952
                • 13 Posts
                OK OK, I got it.

                Perhaps was it what you tried to tell me xwisdom but the French newbie I am didn’t understand.

                Here is the solution :

                Once uploaded, the original smf_api_1.1.php file is modifyed (I don’t know why ? Caracter encoding problems ?) and becomes useless.

                To avoid this modification :
                - Create on your workstation an empty file called smf_api_1.1.php.
                - Open the original smf_api_1.1.php saved on your workstation. Copy all its code.
                - Paste all the code in the empty file you created.
                - Upload the new file into your server (replace the original one).

                => It should works then !
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Probably a line ending problem, I’ve often had problems with individual files with Windows or Mac line endings; I open the file in my editor and convert to Unix line endings.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 32963
                    • 1,732 Posts
                    Quote from: sottwell at May 25, 2006, 09:08 AM

                    Probably a line ending problem, I’ve often had problems with individual files with Windows or Mac line endings; I open the file in my editor and convert to Unix line endings.

                    That’s possible. Thanks for the tip susan.

                    nza2k ,

                    I’m glad you got it working smiley

                    PS. Now for me to find some time to release 1.1. Back the SMF brawing board.
                      xWisdom
                      www.xwisdomhtml.com
                      The fear of the Lord is the beginning of wisdom:
                      MODx Co-Founder - Create and do more with less.
                      • 4273
                      • 356 Posts
                      I been testing the smf connector, its not allowing the logged in user to access forum even though they are setup for access and logged in on the modx end. This connector makes the login process wacked, unable to make use of it

                      The modx site appears to use only the forum login are they using the bridge ?

                      I think its a bad idea to restrict the login to modx, joomla’s smf bridge allowed users to login from either side via sessions as it is the login process gets messed up. I like the idea of not being able to sync users without approving from either side, if smf is set up to approve first modx automatically approves them, its like modx makes the decisions for smf which isn’t good. May have to go back to the old fashion way disable the mod and add users mannually to both sides.

                        SMF Bookmark Mod - check it out
                        http://mods.simplemachines.org/index.php?mod=350