inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Dec 1, 2012 19:16:20 GMT -8
how would i add that under posts
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Dec 1, 2012 19:43:51 GMT -8
Admin Panel -> Themes -> Layout Templates -> Mini Profile
Approx lines 22-28 should display this;
<div class="info"> Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} {foreach $[user.mini_custom_field]} <br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/foreach} {if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} </div>
Simple add the line <br />Date Registered: $[user.registered_on_date] wherever you want it to display. As an example, here's where it would go if you wanted it below the 'Posts: XXX' line;
<div class="info"> Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} <br />Date Registered: $[user.registered_on_date] {foreach $[user.mini_custom_field]} <br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/foreach} {if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} </div>
The blue text is what will display before the members' registration date.
Please be aware that the text shown is formatted in the same way as timestamps, so may be smaller or italicised. I'll have a quick play around (my CSS knowledge isn't particularly strong) and see if I can find a way to stop that from happening in mini-profiles. =]
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Dec 1, 2012 19:54:48 GMT -8
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Dec 1, 2012 20:24:05 GMT -8
How have you been underlining them? To underline the custom fields, try this in the Mini Profile Template; {foreach $[user.mini_custom_field]} <br /><span class="$[user.mini_custom_field.content_class]"><span style="text-decoration: underline;">$[user.mini_custom_field.name]:</span> $[user.mini_custom_field.value]</span> {/foreach}
The same can be applied to the other titles, as they're all visible. You could also assign them their own class in the CSS sheet, but that seems a little over the top to me.
That help at all? =]
edit;
Also, if anybody happens to know how to format dates in the mini-profile properly, please post. Every attempt I made would for some reason change the text size for the whole info section of the miniprofile, and I couldn't quite work out where I was going wrong. =]
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Dec 1, 2012 20:38:57 GMT -8
i just have
<u>$[user.mini_custom_field.name]</u>
which does the same thing
i was thinking the posts and date registered also and whatever i added
but now that i think about it just adding the <u> isnt too much
|
|
#00AF33
14306
0
1
Sept 8, 2023 8:54:17 GMT -8
Jordan
What is truth?
11,838
October 2003
jab2
|
Post by Jordan on Dec 1, 2012 20:46:22 GMT -8
Also, if anybody happens to know how to format dates in the mini-profile properly, please post. Every attempt I made would for some reason change the text size for the whole info section of the miniprofile, and I couldn't quite work out where I was going wrong. =] It's in an <abbr> element within a div with the class .mini-profile. <style type="text/css">
.mini-profile abbr.time { font-size: 100%; /* So it is the same size text as the rest of the mini-profile */ font-style: normal; /* So it is not italic */ }
</style>
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Dec 1, 2012 20:47:36 GMT -8
That pretty much does the same thing, yeah, so I wouldn't worry. It'll add it automagically to every custom field, and you've already covered the others. =]
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Dec 1, 2012 20:58:13 GMT -8
i added what jordan posted in the stylesheet and the font changed to the size of everything else in the mp, thanks jordan
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Dec 1, 2012 21:03:09 GMT -8
Also, if anybody happens to know how to format dates in the mini-profile properly, please post. Every attempt I made would for some reason change the text size for the whole info section of the miniprofile, and I couldn't quite work out where I was going wrong. =] It's in an <abbr> element within a div with the class .mini-profile. <style type="text/css">
.mini-profile abbr.time { font-size: 100%; /* So it is the same size text as the rest of the mini-profile */ font-style: normal; /* So it is not italic */ }
</style>Didn't see this before my last post, sorry bud. Rather annoyingly, I was doing something very similar in the stylesheet, but must have been slightly out. Still, cheers for clearing that up. =]
|
|
inherit
136256
0
Nov 18, 2024 19:23:08 GMT -8
Jessica
106
January 2009
jchen
|
Post by Jessica on Feb 1, 2013 21:08:58 GMT -8
Okay I don't know what happened but I was doing some template modifications and I messed some things up and once I fixed everything again and added back in the Join Date, the join date no longer appears even though I have all edits. CSS: .thread-title { float: right; padding-top:10px; font-size: 14px; font-weight:bold; text-align: center; width: 42%; color:@pagination_text_color; overflow:hidden; }
.mini-profile abbr.time { font-size: 100%; /* So it is the same size text as the rest of the mini-profile (my comment: See, I have it)*/ font-style: normal; /* So it is not italic */ }
/*sticky thread divider (IE needs to be IE 9+)*/ tr.sticky + tr:not(.sticky) td {border-top-width: 5px;}
part of Mini profile template: <div class="info"> Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} <br />Joined: $[user.registered_on_date] {foreach $[user.mini_custom_field]} <br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/foreach} {if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} </div><br /> {/if} {if $[user.miniprofile_badge]} <div class="$[user.miniprofile_badge_container_class]"> {foreach $[user.miniprofile_badge]} $[user.miniprofile_badge.image.thumb] {/foreach} </div> {/if} </div> forum: jchen5.proboards.com/
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Feb 1, 2013 21:19:32 GMT -8
i think theres a pbs bug rite now, mine doesnt work and i seen another thread
|
|
Nyx
New Member
Posts: 18
inherit
188826
0
Aug 7, 2013 7:00:19 GMT -8
Nyx
18
January 2013
owlet
|
Post by Nyx on Jun 2, 2013 16:03:58 GMT -8
I added this to my forum and as far as I know I did everything correctly but the date does not show up in the miniprofile. Help?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jun 3, 2013 9:09:18 GMT -8
With the help of tunescool I got the joined date going but it's not all on one line? I understand this will correct my problem? Is this still an issue you need help with? I added this to my forum and as far as I know I did everything correctly but the date does not show up in the miniprofile. Help? The variable has changed since this was posted way back in December. Try this.
|
|
Nyx
New Member
Posts: 18
inherit
188826
0
Aug 7, 2013 7:00:19 GMT -8
Nyx
18
January 2013
owlet
|
Post by Nyx on Jun 3, 2013 16:11:02 GMT -8
That did the trick. Many thanks Brian c:
|
|
inherit
189398
0
Jun 13, 2013 2:34:37 GMT -8
volkswagenaholic
33
February 2013
volkswagenaholic
|
Post by volkswagenaholic on Jun 5, 2013 16:43:20 GMT -8
With the help of tunescool I got the joined date going but it's not all on one line? I understand this will correct my problem? Is this still an issue you need help with? I added this to my forum and as far as I know I did everything correctly but the date does not show up in the miniprofile. Help? The variable has changed since this was posted way back in December. Try this. I can't get this to work. What am I doing wrong? I added it to line 25 <div class="$[miniprofile_class]"> $[user]<br /> {if $[user.is_guest]}Guest<br />{/if} {if $[user.group]} $[user.group.name]<br />$[user.group.stars]<br /> {elseif $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if} {if $[user.custom_title]}$[user.custom_title]<br />{/if} $[user.warning.bar] <br /> {if $[user.avatar]} <div class="avatar">$[user.avatar]</div><br /> {/if} {if $[user.personal_text.message]} $[user.personal_text]<br /> {/if} {if $[user.is_member]} <div class="info"> Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} {foreach $[user.mini_custom_field]} <br />Date Registered: $[current_user.registered_on_short] <br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/foreach} {if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} </div><br /> {/if} {if $[user.miniprofile_badge]} <div class="$[user.miniprofile_badge_container_class]"> {foreach $[user.miniprofile_badge]} $[user.miniprofile_badge.icon] {/foreach} </div> {/if} </div>
|
|