inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Jun 11, 2017 11:15:55 GMT -8
Hi How can I have today or yesterday instead of the hours and dates as shown ^. On Main board only Thanks. pitszal.freeforums.net/
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Jun 12, 2017 16:24:32 GMT -8
Bump
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jun 13, 2017 18:27:19 GMT -8
It looks like you are referring to the timestamps on shoutbox posts pitszal, is that correct?
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Jun 14, 2017 6:18:16 GMT -8
Just Home page Time Stamps Chris
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jun 14, 2017 7:59:29 GMT -8
pitszal , I'm only seeing a shoutbox in the provided image and on the home page of the provided forum so we'll go with them being shoutbox timestamps. To modify them so they say yesterday/today go to your theme's home template and add the TWO CODES from this post to the bottom of that home template.
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Jun 14, 2017 9:53:24 GMT -8
pitszal , I'm only seeing a shoutbox in the provided image and on the home page of the provided forum so we'll go with them being shoutbox timestamps. To modify them so they say yesterday/today go to your theme's home template and add the TWO CODES from this post to the bottom of that home template. Chris as you see in the above^ "Dedicating Our Board" can I have the date only not the time and all the others like "Welcome Friends" saying Today/Yesterday instead of the hours. The SB can remain the same pitszal.freeforums.net/Thanks
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jun 15, 2017 2:11:55 GMT -8
If you do not want to affect the shoutbox timestamps then use the single code in this post instead, place it in the home template as described before in my previous post then to hide the time add the following code below that code in the home template <style>.modified_time > span:not(.today):not(.yesterday) {display:none;}</style>
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Jun 15, 2017 3:53:34 GMT -8
I clicked "This Post" but some how I can't copy the black code and paste it in my Global footer. pitszal.freeforums.net/Thanks
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jun 15, 2017 16:23:35 GMT -8
How 'bout now?
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Jun 15, 2017 18:10:29 GMT -8
Is this the code I am suppose to use? ^ I still can not copy it into the footer.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Jun 16, 2017 19:36:11 GMT -8
Why are you not able to copy the code?
If your using a tablet / iPad / phone, it would make it a lot easier on a laptop or pc.
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Jun 16, 2017 19:54:52 GMT -8
Chris, nscalerr OMG! I just got it to work! It says today/yesterday. However the dates that are older are blank on the home page. only. Thank you
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jun 16, 2017 22:42:04 GMT -8
Chris, nscalerr OMG! I just got it to work! It says today/yesterday. However the dates that are older are blank on the home page. only. Thank you Sorry pitszal , still working blind here since I can only see a shoutbox and no boards on that homepage but to remedy that replace this style code I gave earlier: <style>.modified_time > span:not(.today):not(.yesterday) {display:none;}</style> with this style code: <style>.modified_time .at, .modified_time .at-time {display:none;}</style> (assuming you want to see no time info on any timestamp, if you want to see time on older dates then that will need to be amended)
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Jun 17, 2017 4:03:00 GMT -8
Ok thanks Chris it is perfect now.
|
|