inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 22, 2013 15:27:45 GMT -8
It should be this... {years} yr{years_plural} / {months} mth{months_plural} / {days} day{days_plural} The plural replacement variables are just for the "s". Well slap me and call me crazy... ok got it lol, yeah the reason for them is because it looks kinda strange seeing "2 Year", or even "1 Years", so I added support in so the code replaces the text variables with the "s" so that it can be used on any word (i.e "4 Skittle s").
|
|
inherit
22402
0
Nov 8, 2021 11:42:58 GMT -8
DeltaDart
Ultimate Interceptor
522
April 2004
mcgeep
|
Post by DeltaDart on Feb 22, 2013 15:32:16 GMT -8
Well slap me and call me crazy... ok got it lol, yeah the reason for them is because it looks kinda strange seeing "2 Year", or even "1 Years", so I added support in so the code replaces the text variables with the "s" so that it can be used on any word (i.e "4 Skittle s"). agreed, that's why I used the {years} yrs / {months} mths / {days} days which looks the same, but I like using you're built in code better since you went through the effort of putting it there
|
|
inherit
166633
0
Feb 8, 2022 13:48:12 GMT -8
Hacksaw Hugglemonster
635
May 2011
mikel46
|
Post by Hacksaw Hugglemonster on Mar 9, 2013 13:47:47 GMT -8
I'd like for it to display as "Year 2, Day 99" or something like that. To where from the 7th of January would've been Day 1 of Year 2, and it'd keep counting and stuff.
How would I do that?
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Mar 10, 2013 0:33:29 GMT -8
Peter, I'm testing some plugins to see if they work with my current, new pre-made theme before releasing it, obviously. I've come up with a problem with this unfortunately. It doesn't add forum age, instead it duplicates my Online in 24hrs section stinky666themes2.freemessageboards.com/
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Mar 10, 2013 3:59:23 GMT -8
Peter, I'm testing some plugins to see if they work with my current, new pre-made theme before releasing it, obviously. I've come up with a problem with this unfortunately. It doesn't add forum age, instead it duplicates my Online in 24hrs section stinky666themes2.freemessageboards.com/ Yeah, unfortunately there isn't a lot I can do, because while I could tweak it to work with your changes, I would have to do this for everyone if they have custom template changes. I could change it so it appends it to the bottom instead so there is less chance of this happening, depends on what people prefer?
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Mar 10, 2013 4:01:03 GMT -8
Peter, I'm testing some plugins to see if they work with my current, new pre-made theme before releasing it, obviously. I've come up with a problem with this unfortunately. It doesn't add forum age, instead it duplicates my Online in 24hrs section stinky666themes2.freemessageboards.com/ Yeah, unfortunately there isn't a lot I can do, because while I could tweak it to work with your changes, I would have to do this for everyone if they have custom template changes. I could change it so it appends it to the bottom instead so there is less chance of this happening, depends on what people prefer? That would be for the best I think. The easiest solution.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Mar 10, 2013 4:20:17 GMT -8
Yeah, unfortunately there isn't a lot I can do, because while I could tweak it to work with your changes, I would have to do this for everyone if they have custom template changes. I could change it so it appends it to the bottom instead so there is less chance of this happening, depends on what people prefer? That would be for the best I think. The easiest solution. Can you give this a test... pixeldepth.net/proboards/plugins/forum_age/Forum_Age_1.5.0.dev.pbp
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Mar 10, 2013 7:17:20 GMT -8
Sorry, was watching The Dark Knight Rises (forgot how awesome it was ). Unfortunately, the same thing happens.
|
|
guish
New Member
Posts: 5
inherit
191620
0
Jan 2, 2014 23:59:30 GMT -8
guish
5
March 2013
guish
|
Post by guish on Mar 22, 2013 9:47:16 GMT -8
Peter, it's not working for me.
|
|
inherit
141078
0
Oct 24, 2022 8:40:45 GMT -8
rassy
579
June 2009
rassy
|
Post by rassy on Mar 31, 2013 13:13:45 GMT -8
Is there a way to have this ONLY on info center on the home page??
|
|
inherit
170390
0
Sept 29, 2019 5:36:27 GMT -8
whisker
558
August 2011
whisker
|
Post by whisker on Apr 5, 2013 14:22:53 GMT -8
:DMany thanks for this, Peter. As we are not a year old yet, I just left out years. It has worked a treat. Hopefully, I can re-instal it again, at the end of year one, to include years.
|
|
Former Member
inherit
guest@proboards.com
155913
0
Nov 24, 2024 16:06:46 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 7, 2013 20:17:30 GMT -8
This is a nice code but I really don't think that "users online" and "users in past 24 hours" should be split up by "forum age". I would rather forum age be above the both of them instead.
|
|
inherit
170390
0
Sept 29, 2019 5:36:27 GMT -8
whisker
558
August 2011
whisker
|
Post by whisker on Apr 8, 2013 2:01:01 GMT -8
This is a nice code but I really don't think that "users online" and "users in past 24 hours" should be split up by "forum age". I would rather forum age be above the both of them instead. I hadn't noticed that. I see now what you mean, Game. Maybe that could be changed, but IMO, it's not a big issue!
|
|
inherit
22402
0
Nov 8, 2021 11:42:58 GMT -8
DeltaDart
Ultimate Interceptor
522
April 2004
mcgeep
|
Post by DeltaDart on Apr 11, 2013 0:39:40 GMT -8
This is a nice code but I really don't think that "users online" and "users in past 24 hours" should be split up by "forum age". I would rather forum age be above the both of them instead. I hadn't noticed that. I see now what you mean, Game. Maybe that could be changed, but IMO, it's not a big issue! I like mine in the Title Bar, thus no worries with a split.
|
|
Former Member
inherit
guest@proboards.com
192162
0
Nov 24, 2024 16:06:46 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 21, 2013 17:44:19 GMT -8
How do you get it to display the age like the above? I just cant seem to work it eh.
|
|