theBdoom
Member
So I want to make a script which can automatically change my users profile picture based on a profileID which I grab from an API. The API gives a large amount of information and I want to grab the "profileID" which will correspond to a list of profile icons that I have. I want to disable the ability for users to upload an image and make it grab the profileID from he API I am using. Does anyone know if this is possible?
tl;dr
Step 1. Grab profileID from database
Step 2. Set userProfileImage to an image based on the profileID
I want to know if it's possible? I already know how to use PHP to grab the data from my server. I am unsure what XenForo file can make it check the API for the imageID and automatically update the users profile every hour or once a day, or a week. Also, what file would I have to edit in order to disable profileImage uploads? Is there a documentation for XenForo?
tl;dr
Step 1. Grab profileID from database
Step 2. Set userProfileImage to an image based on the profileID
I want to know if it's possible? I already know how to use PHP to grab the data from my server. I am unsure what XenForo file can make it check the API for the imageID and automatically update the users profile every hour or once a day, or a week. Also, what file would I have to edit in order to disable profileImage uploads? Is there a documentation for XenForo?
Last edited: