inherit
214318
0
May 15, 2022 9:40:33 GMT -8
S-Freak
31
September 2014
sfreak
|
Post by S-Freak on Jul 11, 2021 1:27:58 GMT -8
Hello! Fair warning. I am a self-taught Proboards-code-specific user x) I only know what I have had to learn to make things the way that I want them I have changed the "Date Registered" column of my members list to a specific Custom Field using this code: In Admin->Themes->Layout Templates->Members (center line of code):<th class="posts $[sortable_class.posts]">Posts</th> <th class="name">Faceclaim</th> <th class="last-online last $[sortable_class.last_online]">Last Online</th> In Admin->Themes->Layout Templates->Member List:<td> {foreach $[user.custom_field]} {if $[user.custom_field.name] == "Faceclaim"} $[user.custom_field.value] {/if} {/foreach} </td> That works, and I am happy <3 But then I saw that one entry on my Members List made a line break, because the value entered was too wide. I went to resize the columns in Admin->Themes->Advanced Styles & CSS->Style Sheet (under the /* Members Page */ entry). I changed the username setting to 12% which works fine, but when I tried to make my custom column equally wider by changing the width on my .members .date-registered { width: 23%; text-align: @members_align_date_registered; } nothing happens. Probably because I have changed the content of the column. Does anyone know of a way that I can make this column wider?
|
|
#eb7100
1480
0
1
Nov 21, 2024 14:52:33 GMT -8
Craig
209,196
September 2001
cmdynasty
|
Post by Craig on Jul 14, 2021 5:07:45 GMT -8
Hi First thing i notice is that although you may have the date-registered class in the <th ...> tag, you didn't include it in the <td> tag. <td class="date-registered"> {foreach $[user.custom_field]} {if $[user.custom_field.name] == "Faceclaim"} $[user.custom_field.value] {/if} {/foreach} </td>
If that doesn't fix it for you, could i ask you link to your forum so we can see the rest of the set up.
|
|
inherit
214318
0
May 15, 2022 9:40:33 GMT -8
S-Freak
31
September 2014
sfreak
|
Post by S-Freak on Jul 14, 2021 10:24:02 GMT -8
Hi Craig That was exactly, what was needed! Thank you (I didn't have the right class in my th either, but changing them both to date-registered did the trick!)
|
|
#eb7100
1480
0
1
Nov 21, 2024 14:52:33 GMT -8
Craig
209,196
September 2001
cmdynasty
|
Post by Craig on Jul 14, 2021 14:39:00 GMT -8
You're welcome. Glad it helped Hi Craig That was exactly, what was needed! Thank you (I didn't have the right class in my th either, but changing them both to date-registered did the trick!)
|
|