MyBB Community Forums

Full Version: Gallery on profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm putting together a text based roleplay site, which begs for a gallery of some sort on the user profile with multiple images. The one image plugin was NOT doing it for me, so I fooled around with the code, and a few hours later, I've pretty much been able to create a semi-gallery on the user profile. The admin specifies the amount of images (same for each user) in the code, and you can pretty much have an unlimited amount.

Images are hosted off-site, not uploaded. (I chose this to save disk space. The user can easily host jpg/png files on photobucket or something similar.) To get the pictures on their profile, the user simply pastes the url of the image into a textbox on their profile page (usercp_profile), and it shows up as a picture in the gallery on their member page (member_profile).

For a working version see here: http://satansmuffinparlour.net/member.ph...file&uid=4 (I'm still tweaking it to make it look prettier)

Step carousel taken from dynamic drive here: http://dynamicdrive.com/dynamicindex4/stepcarousel.htm

I've included a screenshot of the input on user profiles. If anyone is interested in this code I may consider making it into a tutorial.

Nice work!
(2011-02-28, 11:08 AM)GraphD1 Wrote: [ -> ]Nice work!
Thanks Big Grin
You're more than welcome, keep it up btwSmile
awesome work.....liked them pretty much,i think this is heavily customised....keep it up bro
The same general technique used for this script can be expanded to other image galleries off DynamicDrive, I'm pretty sure.

Examples of galleries that would work well with it:

Lightbox http://dynamicdrive.com/dynamicindex4/li.../index.htm
FrogJs http://dynamicdrive.com/dynamicindex4/frogjs/index.htm

Probably a few others as well.
(2011-02-28, 01:04 PM)envira Wrote: [ -> ]awesome work.....liked them pretty much,i think this is heavily customised....keep it up bro

Thank you! It's not actually as heavily customized as it looks, but it can certainly be made to fit any theme or style.
Nice !
Thanks Smile