Log in

View Full Version : "Last edited by" color question


adembaba
02-16-2010, 09:16 AM
cfr attached file. There is a time, but you can't see it, because it has the same background color of the forum

I have checked phrase manager, stylevars, but i can't seem to find it.
Where can i change the color of the time in "last edited by" posts?

DaRK mAN306
02-16-2010, 11:07 AM
Hello there adembaba,

In order to change the color of the time in the "last edited by" phrase, you'll have to change the color of the time in the whole forum. That's one way.

The other way is to modify the "last edited by" phrase. I'll try to explain both ways.
The first way: Changing the time class:
First of all, sign into your Admin CP ..
Then, go to "Styles & Templates >> Style Manager" ..
After that, choose "StyleVars" option from your defined vB Style drop-down menu ..
Once you enter the "StyleVars" menu, look for "Common" from the menu on the left ..
Then find "time_color" Block ..
Change the "time_color" Block Attribute to suite your needs and then press "Save" ..
The second way: Modifying the "Last Edited By" phrase:
First of all, sign into your Admin CP ..
Then, go to "Languages & Phrases >> Phrase Manager" ..
After that, choose "Postbit" option from the "Phrase Type" drop-down menu ..
Once you enter the "Postbit" phrases, look for those 2 phrases "last_ edited_ by_ x_ on_ y_ at_ z" & "last_ edited_ link_ by_ x_ on_ y_ at_ z_ postid" .. The first one would be in the first page and the second one shall be in the second page ..
Then edit the first phrase "last_ edited_ by_ x_ on_ y_ at_ z", the default value for it would be: Last edited by {1}; {2} at <span class="time">{3}</span>.
Change the text in RED into this: style="color: #colorCode" The final result shall be something like this: Last edited by {1}; {2} at <span style="color: #colorCode">{3}</span>.Not forgetting to change the GREEN text into the color code you want (e.g. style="color: #000") ..
After doing that, "Save" the phrase ..
Now, go to the second phrase and edit it in the same way we edited the first phrase (That's changing the class="time" into style="color: #colorCode" and change the text in GREEN to the same color code you used in the first phrase) ..
Don't forget to "save" the phrase .!The difference between the two ways is that the first one changes the time's color in the whole forum and the second one changes the time's color in the "Last Edited By" phrase only ..

I hope that this helps you out :) ..

adembaba
02-16-2010, 02:44 PM
It worked. Thank you very much

I used the second way because the other "time" must be white. See at www.bizimmekan.be

DaRK mAN306
02-16-2010, 03:00 PM
It worked. Thank you very much

I used the second way because the other "time" must be white. See at www.bizimmekan.be (http://www.bizimmekan.be)

Glad to help ..
But as I can see you are using the Default Style in your forums (BIZIM MEKAN) ..
Probably you are editing your customized style behind scenes, am I right ?!

adembaba
02-16-2010, 03:02 PM
Glad to help ..
But as I can see you are using the Default Style in your forums (BIZIM MEKAN) ..
Probably you are editing your customized style behind scenes, am I right ?!

I deleted all the styles, except for "standaard". So I have 1 style...