Custom Profile Fields - Colors Next To Posts »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - Custom Profile Fields - Colors Next To Posts



a22burnett [ Wed 23 Sep, 2009 19:43 ]
Post subject: Custom Profile Fields - Colors Next To Posts
site: www.ps3team.us
forums: http://www.ps3team.us/forums/phpBB3/

Trying to:
Change the color of what users have entered in the custom profile fields next to their posts.
You have the categories, (Joined, Posts, Location, ect.)
Then you have what is entered, (date, post number, city or state)
I want to change the color of what is entered.

Thanks for the help, you guys are great here.


a22burnett [ Sun 27 Sep, 2009 03:36 ]
Post subject: Re: Custom Profile Fields - Colors Next To Posts
No takers?
I'm assuming that it'll be something in the main css.
I've been looking through custom_profile_fields.html to see if I can figure out what's going on, but I'm lost.
I have no idea what I'm looking for. If anyone can help it would be greatly appreciated.
Thanks.


Joshua203 [ Sun 27 Sep, 2009 11:58 ]
Post subject: Re: Custom Profile Fields - Colors Next To Posts
my guess would be in stylesheet.css

Code: [Hide] [Select]
.postdetails {
color: #FDC400;
}


a22burnett [ Sun 27 Sep, 2009 16:55 ]
Post subject: Re: Custom Profile Fields - Colors Next To Posts
OK, you got me on the right track. That changed all the font on the left side though.
I want to leave the bold font the color it is and just change the color of the font that the user enters.
I know the area to look in now though. I'll see if I can figure it out from there, I'll post back if I get it.
In the meantime if anyone can help thanks again.

Thanks for the help Joshua


Joshua203 [ Sun 27 Sep, 2009 17:36 ]
Post subject: Re: Custom Profile Fields - Colors Next To Posts
by the looks of your board i 'ld say you got it done

YW


a22burnett [ Sun 27 Sep, 2009 17:41 ]
Post subject: Re: Custom Profile Fields - Colors Next To Posts
Ok, you can mark this one up as solved.
Just in case anyone else ever looks to do this, this is what I did:

Added: ".yellow {color: #ffe14c;}" to stylesheet.css
Then I went into: "viewtopic_body.html" and replaced:


{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->

<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
<!-- ENDIF -->

<!-- BEGIN custom_fields -->
<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}


With:


{L_JOINED}:</b> <span class="yellow">{postrow.POSTER_JOINED}</span><!-- ENDIF -->
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> <span class="yellow">{postrow.POSTER_POSTS}</span><!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> <span class="yellow">{postrow.POSTER_FROM}</span><!-- ENDIF -->

<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> <span class="yellow">{postrow.PROFILE_FIELD1_VALUE}</span>
<!-- ENDIF -->

<!-- BEGIN custom_fields -->
<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> <span class="yellow"> {postrow.custom_fields.PROFILE_FIELD_VALUE}


May not be the proper way, but it worked. Thanks again josh the info you provided help me figure it out.


Mighty Gorgon [ Fri 02 Oct, 2009 12:25 ]
Post subject: Re: [SOLVED] Custom Profile Fields - Colors Next To Posts
You forgot to close the SPAN tag... just add </span> at the end of that field.


MordyT [ Thu 15 Oct, 2009 05:22 ]
Post subject: Re: Custom Profile Fields - Colors Next To Posts
solid site.
where did you get those buttons from?


Joshua203 [ Fri 16 Oct, 2009 14:23 ]
Post subject: Re: Custom Profile Fields - Colors Next To Posts
i think you get buttons like that when you use colourise it and set the saturation at an unadvised high level (i believe this is advised not set higher than 70%)

Edit:
Quote:
Warning: changing saturation to more than +75 might cause design to look very ugly.


one may call it ugly and another may love the look .... lol


MordyT [ Sat 17 Oct, 2009 23:37 ]
Post subject: Re: Custom Profile Fields - Colors Next To Posts
Joshua203 wrote: [View Post]
i think you get buttons like that when you use colourise it and set the saturation at an unadvised high level (i believe this is advised not set higher than 70%)

Edit:
Quote:
Warning: changing saturation to more than +75 might cause design to look very ugly.


one may call it ugly and another may love the look .... lol

thank you...again...you should be a mod here since you seem to know so much about this subject


Joshua203 [ Sun 18 Oct, 2009 13:01 ]
Post subject: Re: Custom Profile Fields - Colors Next To Posts
thanks for the compliment MordyT but really i don't know enough to be a good mod and on top of that i think MG and his team do a great job here allready eventhough most of them don t even use phpbb they still give very good support on it (looking at the new postcount when i enter here i m sure this must be very time consuming for them)

Greetings, .. Joshua203




Powered by Icy Phoenix