Upgrayedd
Member
The links to a copy of the Lite.php file and the documentation are located at the bottom.
Ok I believe this might be a simple solution for a lot of people so I have held off for too long on seeking assistance.
I run a site with Xenforo and aMember (membership management software), and I would like to pull some data from there and put it inside of a page node. To do this, I am trying to find a proper way to get a standalone file that aMember provides that is called "Lite.php" to load on the page node so that I can use the functions, or least begin to learn more...but I'm at a standstill.
I've brought the file over into my src/Pages/ folder and given it the namespace and class, but that is about as far as I get. I run into one error and if I solve that, I run into the next. I believe that the issue may have a little so do with ~line 634 where it looks up the config for aMember. That error is because the path is relative to the add-on directory, which I can fix by putting a copy of the config in that folder but I'm pretty sure that isn't the right way and also doesn't solve the problem.
Any way, I would be greatly appreciated if anyone would be willing to take a look and help me out here.
----------------------------------------
Links to docs:
Directory structure:
I believe @sub_ubi might be of help here for me as well if they see this.
Ok I believe this might be a simple solution for a lot of people so I have held off for too long on seeking assistance.
I run a site with Xenforo and aMember (membership management software), and I would like to pull some data from there and put it inside of a page node. To do this, I am trying to find a proper way to get a standalone file that aMember provides that is called "Lite.php" to load on the page node so that I can use the functions, or least begin to learn more...but I'm at a standstill.
I've brought the file over into my src/Pages/ folder and given it the namespace and class, but that is about as far as I get. I run into one error and if I solve that, I run into the next. I believe that the issue may have a little so do with ~line 634 where it looks up the config for aMember. That error is because the path is relative to the add-on directory, which I can fix by putting a copy of the config in that folder but I'm pretty sure that isn't the right way and also doesn't solve the problem.
Any way, I would be greatly appreciated if anyone would be willing to take a look and help me out here.
----------------------------------------
Links to docs:
Directory structure:
- Public_Html/
- aMember/library/Am/Lite.php
I believe @sub_ubi might be of help here for me as well if they see this.