inherit
219308
0
Feb 15, 2019 17:09:12 GMT -8
{ breezes }
11
March 2015
snowykcnomre
Spaghetti Bolognese
Pie
|
Post by { breezes } on Jan 25, 2019 21:34:11 GMT -8
an inquiry: can custom fields be placed in the forum wrapper? specifically, i'm trying to make a custom field image show up in the banner area. interestingly, it shows up when i click on the profile tab, but anywhere else, it's a blank. i'm assuming this is because the custom field command variable only works for the profile layouts, but is there any way to work around this? alternatively, if there's a way to call for the current member's avatar url that would work as well. i haven't found one, so using a custom field was kind of the alternative. edit: when you've been working on this damn code for so long that you forget pb posts use bbcode not html adfghjkl
|
|
#e61919
224482
0
1
Feb 18, 2019 12:56:46 GMT -8
Scott
It's Thumb Appreciation Day! - Obviously I give this holiday a thumbs up.
12,269
August 2015
socalso
|
Post by Scott on Jan 26, 2019 11:24:12 GMT -8
alternatively, if there's a way to call for the current member's avatar url that would work as well. i haven't found one, so using a custom field was kind of the alternative.
You can use this variable in the forum wrapper layout template: $[current_user.avatar]
|
|
inherit
219308
0
Feb 15, 2019 17:09:12 GMT -8
{ breezes }
11
March 2015
snowykcnomre
Spaghetti Bolognese
Pie
|
Post by { breezes } on Jan 29, 2019 4:29:32 GMT -8
You can use this variable in the forum wrapper layout template: $[current_user.avatar] This wouldn't work since I specifically need the avatar URL. $[current_user.avatar] calls on the avatar-wrapper etc. etc. etc. piece of code. I need it without that.
|
|
#e61919
33409
0
1
Feb 18, 2019 10:06:46 GMT -8
Brian Ordonez
Still around. Just busy doing different things. You'll see!
47,854
November 2004
smashmaster3
Brian (Ika2)
|
Post by Brian Ordonez on Feb 14, 2019 16:51:44 GMT -8
There's unfortunately no variable for just the avatar URL, but it shouldn't be too hard to restyle the avatar wrapper using CSS so that it behaves like it's just the image by itself.
If you need the URL so that you can use the image in CSS or somewhere else where only the URL is applicable the only way around that is to include $[current_user.avatar] on the page and obtain the URL from the element using Javascript after the page loads.
|
|
inherit
219308
0
Feb 15, 2019 17:09:12 GMT -8
{ breezes }
11
March 2015
snowykcnomre
Spaghetti Bolognese
Pie
|
Post by { breezes } on Feb 15, 2019 17:09:12 GMT -8
alright, thanks for the help.
|
|