2017-09-12, 01:42 AM
Hey all,
So I'm following the documentation on how to set a profile background, it works great.
Link to it here: https://community.mybb.com/thread-159715.html
Now that introduced me into how to get custom profile fields.
Now, I'm having an issue. I want to display the same thing in the user cp home page.
I'm using the same code to accses it:
<style>
.profbg {
background-image: url({$userfields['fid5']});
}
</style>
However, it does not work at all it just shows it as blank.
So my main question is, is how to display custom profile fields in places other than Postbit and Profile.
Help is much appreciated!
So I'm following the documentation on how to set a profile background, it works great.
Link to it here: https://community.mybb.com/thread-159715.html
Now that introduced me into how to get custom profile fields.
Now, I'm having an issue. I want to display the same thing in the user cp home page.
I'm using the same code to accses it:
<style>
.profbg {
background-image: url({$userfields['fid5']});
}
</style>
However, it does not work at all it just shows it as blank.
So my main question is, is how to display custom profile fields in places other than Postbit and Profile.
Help is much appreciated!