SMFHacks.com

Modifications/Themes => Modifications Talk => Topic started by: Rock Lee on December 08, 2020, 11:21:30 am

Title: FTP integration with SMF forum
Post by: Rock Lee on December 08, 2020, 11:21:30 am
I am looking to integrate something like nextcloud (https://nextcloud.com) to the forum but I found myself in an alley...


I was googling in addition to testing codes but I can't work as it should. You can put it wrong, the idea is to take the SMF user to assign it a folder and have the viewing permissions of the forum itself... I tried taking a subdomain and subfolder but everyone could see it, it skipped the controls (avoid uploading something improper, etc.)

I comment on it because layers is an idea for a modification or someone notices my failure when wanting to do it and enlightens me where to go.

I integrated the payment market method by being guided by the existing PayPal method, but in this case I'm not sure why to guide me.


Regards!
Title: Re: FTP integration with SMF forum
Post by: SMFHacks on December 08, 2020, 11:30:31 am
FTP integration would require you to create ftp users if on cpanel might be possible with an api.
You would need to make sure the directories are private not web accessible otherwise people could execute scripts.
Title: Re: FTP integration with SMF forum
Post by: Rock Lee on December 09, 2020, 04:15:53 pm
I am trying to use a single FTP account for a few users as a first stage (creating one for each registered would be madness... otherwise I would have to reduce to a few have said access). Due to the issue of permissions, I wanted to use those of SMF so that they can access this privilege to have X condition, from the beginning I know that if I leave it free it will bring me more than one problem.

Thinking a bit about what you told me, I think I have a possible solution. I will try and comment, thank you very much!


Regards!
Title: Re: FTP integration with SMF forum
Post by: SMFHacks on December 09, 2020, 04:47:21 pm
Good luck!