View Full Version : Postbit Question.
TCE Killa
02-03-2008, 01:59 PM
Just need to know how to give users an option in there profile by creating a profile field, so they can put in an image address for a background image to show in there postbit. Any ideas? Thanks alot.
Opserty
02-03-2008, 03:39 PM
Just make a new "Custom Profile Field" in the AdminCP then use the $post[fieldX] (X being a number) in the postbit(_legacy) template.
Brandon Sheley
02-03-2008, 03:42 PM
This would take a little work to get the post bit background to change per post, not to mention it could make your board look very ugly depending on what the users use :(
Opserty
02-03-2008, 03:45 PM
I was thinking you could use style="background-image: url($post[fieldX]);" I don't know if there are security implications or what not? But its true that it could make a mess of your board, like if someone chooses the background image to be Black and font on your board is Black it will annoy the heck out of other users.
TCE Killa
02-03-2008, 03:47 PM
This would take a little work to get the post bit background to change per post, not to mention it could make your board look very ugly depending on what the users use :(
Thats true, I suppose it is not worth it, seen it on other forums though.
Just make a new "Custom Profile Field" in the AdminCP then use the $post[fieldX] (X being a number) in the postbit(_legacy) template.
Thanks but I tried that and several other things, but no luck.
--------------- Added 1202060935 at 1202060935 ---------------
I was thinking you could use style="background-image: url($post[fieldX]);" I don't know if there are security implications or what not? But its true that it could make a mess of your board, like if someone chooses the background image to be Black and font on your board is Black it will annoy the heck out of other users.
True, thanks alot though, I haven't tried this way, Ill try it in abit.
Maybe there is away people can choose there font color in postbit to?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.