Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 7:00:39 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 1, 2013 13:31:10 GMT -8
Yes, $[user] is the display name. You could either make up a class like <style>.usersize { font-size: 12px !important; }</style> at the bottom of the template and then put <div class="usersize">$[user]</div> around it or just use a div style for it. Could try span instead if you want to avoid the line break but I'm not sure span works, I forget
|
|
inherit
179966
0
Mar 19, 2019 9:23:16 GMT -8
Welshling
Dohtml - v5 templates, advertising & more.
1,150
May 2012
welshling
|
Post by Welshling on Dec 20, 2013 6:15:57 GMT -8
whoops, forgot to stop by and say thanks. this did the trick >.< So thank you!
|
|
inherit
188160
0
Feb 29, 2016 21:50:07 GMT -8
speedway
14
January 2013
speedway
|
Post by speedway on Dec 29, 2013 2:15:37 GMT -8
Is there any way for the custom field to only be able to be inputted by the admin? In other words, I don't want the user to be able to set this field for themselves.
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 7:00:39 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 29, 2013 9:42:43 GMT -8
Is there any way for the custom field to only be able to be inputted by the admin? In other words, I don't want the user to be able to set this field for themselves. That's an option in the admin panel. Go to Members > Custom Profile Fields > the far righthand drop-down box should let you select that only staff can fill in the field, members won't even be able to see it in their Edit Profile section (though they can see the result in the mini-profile if a staffer fills it out!)
|
|
Leo Ascendent
New Member
I suck with coding, I apologize for my inane questions. :(
Posts: 40
inherit
203430
0
Feb 5, 2014 11:25:17 GMT -8
Leo Ascendent
I suck with coding, I apologize for my inane questions. :(
40
December 2013
leoascendent
|
Post by Leo Ascendent on Dec 31, 2013 7:32:46 GMT -8
Is there a way to get the background's URL to not show up on the user profile?
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 7:00:39 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 31, 2013 13:14:55 GMT -8
Leo Ascendentgo to Admin > Structure > Layout Templates > User Profile > Summary Find where it says something like {foreach $[user.custom_field]} $[user.custom_field.name]: $[user.custom_field.value] {/foreach} and change it to {foreach $[user.custom_field]} {if $[user.custom_field.name] == "Mini Profile Background Image (Enter URL)"} {else} $[user.custom_field.name]: $[user.custom_field.value] {/if} {/foreach} That should do it, lemme know if there's a problem
|
|
Leo Ascendent
New Member
I suck with coding, I apologize for my inane questions. :(
Posts: 40
inherit
203430
0
Feb 5, 2014 11:25:17 GMT -8
Leo Ascendent
I suck with coding, I apologize for my inane questions. :(
40
December 2013
leoascendent
|
Post by Leo Ascendent on Dec 31, 2013 14:57:35 GMT -8
₪» ⅀ ƪ Ƒ «₪, I have some previous editing done, so mine looks a little different: {foreach $[user.custom_field]}
<tr class="$[user.custom_field.content_class]">
<td class="headings">
$[user.custom_field.name]:
</td>
<td>
$[user.custom_field.value]
</td>
</tr>
{/foreach}
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 7:00:39 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 31, 2013 15:03:29 GMT -8
Then you want:
{foreach $[user.custom_field]}
{if $[user.custom_field.name] == "Mini Profile Background Image (Enter URL)"} {else}
<tr class="$[user.custom_field.content_class]">
<td class="headings">
$[user.custom_field.name]:
</td>
<td>
$[user.custom_field.value]
</td>
</tr> {/if} {/foreach}
|
|
Leo Ascendent
New Member
I suck with coding, I apologize for my inane questions. :(
Posts: 40
inherit
203430
0
Feb 5, 2014 11:25:17 GMT -8
Leo Ascendent
I suck with coding, I apologize for my inane questions. :(
40
December 2013
leoascendent
|
Post by Leo Ascendent on Jan 2, 2014 9:00:05 GMT -8
Worked like a charm, thanks.
|
|
Dyzz
New Member
Posts: 44
inherit
147981
0
Oct 2, 2019 9:49:15 GMT -8
Dyzz
44
October 2009
caelum
|
Post by Dyzz on Mar 6, 2018 5:54:17 GMT -8
This is an amazing mini! We're using it here
|
|