2019-07-27, 03:39 PM
Hi
I'm currently working on a plugin that will allow users to upload images that will be used in image albums on a main site. I'm currently debating moving the whole thing external from myBB, however I'd like for the images to be linked to the user's profile. I figured the best way of doing that is to access the uid stored in the mybbusers cookie, however I'm not exactly sure how to do it.
I'm guessing I need to include global $cookies or $session in the top of my php file, but bar that I'm completely useless. I'd really appreciate the help
Thanks,
Flinty
I'm currently working on a plugin that will allow users to upload images that will be used in image albums on a main site. I'm currently debating moving the whole thing external from myBB, however I'd like for the images to be linked to the user's profile. I figured the best way of doing that is to access the uid stored in the mybbusers cookie, however I'm not exactly sure how to do it.
I'm guessing I need to include global $cookies or $session in the top of my php file, but bar that I'm completely useless. I'd really appreciate the help
Thanks,
Flinty