inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 15, 2005 15:02:18 GMT -8
I have noticed a few proboards with the age of their forum shown in the info center, How is this done ?
|
|
Blaze
New Member
Posts: 64
inherit
129984
0
Nov 14, 2011 3:57:56 GMT -8
Blaze
64
August 2008
obieglo
|
Post by Blaze on Dec 15, 2005 15:03:24 GMT -8
I have noticed a few proboards with the age of their forum shown in the info center, How is this done ? Can you give an example (board url)?
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 15, 2005 15:08:07 GMT -8
|
|
Blaze
New Member
Posts: 64
inherit
129984
0
Nov 14, 2011 3:57:56 GMT -8
Blaze
64
August 2008
obieglo
|
Post by Blaze on Dec 15, 2005 15:20:39 GMT -8
This should do it. Main Footer:
<script> <!-- // AGE OF BOARD
//By Hechizero
var DateOfCreation=[02,12,2005];// Month, Day, Year
if (location.href.match(/(.+\d+.{4}\W?$|.+\d+.{14}[\?]*$|.+\d+.{22}\w{3}(out|in2|kallboardsread)$)/i)) { var tds=document.getElementsByTagName('td'); for (var h=0;h<tds.length;h++) { if (tds[h].width=='40%' && tds[h].vAlign=='top' && tds[h].parentNode.parentNode.parentNode.width=='98%') { var Now=new Date(); var Original=new Date(DateOfCreation[2],DateOfCreation[0]-1,DateOfCreation[1]); var TimeElapsed=Now.getTime()-Original.getTime(); var ByDays=1000*60*60*24; var ByYears=ByDays*365.25; var ByMonths=ByDays*(365.25/12); var Years=Math.floor(TimeElapsed/ByYears); TimeElapsed-=Years*ByYears; Years=(Years==1 ? Years+'</b> year' : Years+'</b> years'); var Months=Math.floor(TimeElapsed/ByMonths); TimeElapsed-=Months*ByMonths; Months=(Months==1 ? Months+'</b> month' : Months+'</b> months'); var Days=Math.floor(TimeElapsed/ByDays); Days=(Days==1 ? Days+'</b> day' : Days+'</b> days'); tds[h].firstChild.innerHTML+='<br />Forum Age: <b>'+Years+', <b>'+Months+' and <b>'+Days+'.'; } } } --> </script>
Edit the red part with the day that the forum was created. You can see when that was in your admin porfile (date registered).
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 15, 2005 15:21:53 GMT -8
Thanks will try it now.
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 15, 2005 15:25:34 GMT -8
It didnt work...
|
|
inherit
Banned
49714
0
Aug 4, 2006 17:34:22 GMT -8
Shawn Farrell
DON'T send me ANY PM advertisements.
1,249
July 2005
samusaran
|
Post by Shawn Farrell on Dec 15, 2005 15:25:52 GMT -8
Is there a way to get that to work with the Ultimate Info Center v3.0?
|
|
Blaze
New Member
Posts: 64
inherit
129984
0
Nov 14, 2011 3:57:56 GMT -8
Blaze
64
August 2008
obieglo
|
Post by Blaze on Dec 15, 2005 15:26:51 GMT -8
I edited my post above. It should work now. Is there a way to get that to work with the Ultimate Info Center v3.0? I don't know. You can try to insert the code, but if it doesn't work, go to the code support board and ask there.
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 15, 2005 15:31:31 GMT -8
Just tried again, No luck...BUT I have the Ultimate Info Center ?!
|
|
Blaze
New Member
Posts: 64
inherit
129984
0
Nov 14, 2011 3:57:56 GMT -8
Blaze
64
August 2008
obieglo
|
Post by Blaze on Dec 15, 2005 15:38:40 GMT -8
Then I can't help you any further. Go to the code support board and ask there if they can help you.
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 15, 2005 15:42:20 GMT -8
Thanks for Your help Blaze - Nice to see someone from Netherlands...Doei !
|
|
Blaze
New Member
Posts: 64
inherit
129984
0
Nov 14, 2011 3:57:56 GMT -8
Blaze
64
August 2008
obieglo
|
Post by Blaze on Dec 15, 2005 15:53:45 GMT -8
Anytime. tot ziens
|
|
#eb7100
1480
0
1
May 3, 2024 4:39:21 GMT -8
Craig
208,877
September 2001
cmdynasty
|
Post by Craig on Dec 15, 2005 16:15:53 GMT -8
Where abouts in the info centre would you want it?
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 16, 2005 0:55:30 GMT -8
In the Forum Statistics I guess!
|
|
#eb7100
1480
0
1
May 3, 2024 4:39:21 GMT -8
Craig
208,877
September 2001
cmdynasty
|
Post by Craig on Dec 16, 2005 18:51:56 GMT -8
Ok, confused for a second. You removed the ultimate info center
|
|