Letting the user upload a custom background?
Hi, I have done something similar in one of my project. So, I may put the code here. Where do you want to show the background. Just on user profile page or for every page on the site when the user is logged in. I mean if you see twitter, It allows to setup the background for user profile, while on orkut, the theme changes sitewide. Just trying to understand your need.
I want to show it on just the profile.
Thanks for your help so far.
Thanks. Let me clean the code and put the plugin in an hour here
Please note, I have not added localization to the plugin yet. It will work with single/Multisite both. Once you activate the plugin, a user can visit his/her profile and change Background link will be present next to the change avatar. Hope that helps.
Nice job… works great! You da man… as usual
Maybe an update could include an option to have the chosen background image stay fixed on screen or scroll with pages?
Thank you @sbrajesh. Just tested it and it’s working as advertised, cool.
what a nice plugin, just tried it and it work like a charm. but i will prefer if it can change the colour of the container rather than the site background.
Thanks. I’ll give those additional snippets a try tomorrow
Probably should be an option to delete the background image.
Any chance of adding a color picker option?
This looks like it’s gonna be one of those oh-so-popular goodies by Brajesh!
@sbrajesh – Now you’ve done it. We’re cooking up with more feature requests
… add option to change background for groups as well?
It would actually be very cool if users could have options to change background image or color, either just in their profile or, click, apply the change to the whole site.
Couldn’t this be converted to profiles?
For all those asking for feature requests, I hope you’ve made donations to sbrajesh
Or failing that it might be sort of cool if instead of requests the community returned mods to the work, the backbone of the work done and given to the community then enhanced and extended so the onus isn’t on one single person to have to do, after all the basics are quite easy to throw together but it starts becoming increasingly more work and testing as features get added.
Thank you all.
Sorry, I left yesterday as It was 5 AM in the morning here. Thanks for for all your suggestions. I am putting the update.
@gregfielding , you are right Greg. I am including the auto delete on uploading new image.
@modemlooper , yes I believe that can be modified. In this plugin I did not work to provide custom css, rather my point was, just upload and go .
@djpaul, Thank for the suggestion Paul. I appreciate it.But that is not required
@hnla no worries. When I publish a plugin as free, I do love to support them. So, the updates will follow today . Btw, It is on Github, so always welcome to fork
Cool initiative Brajesh.. I’ll write a post about it on BP-Tricks to let others know about this plugin.
ooh wow, I never thought about that. I am updating it today again and that will allow users to choose this. nice point
- The topic ‘Letting the user upload a custom background?’ is closed to new replies.