Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Sept 15, 2006 8:57:45 GMT
Just like the woopbug... <script type="text/javascript"> <!-- /* change member join dates */
var td = document.getElementsByTagName('td'); if(location.href.match(/ion=(display|(pm)?(calendar)?view|(user)?recent|search2)/)) { function joinDate(user, sDate, lDate) { var re = new RegExp('viewprofile&(amp;)?user='+user+'(")?', 'i'); for(i=0; i<td.length; i++) { if(td.item(i).width == '20%' && td.item(i).innerHTML.match(re)) { td.item(i).innerHTML = td.item(i).innerHTML.replace(/(Joined: ).+?(<br>)/gi,'$1'+sDate+'$2'); } if((location.href.match(re) || (location.href.match(/ion=viewprofile$/) && pb_username == user)) ){ if(td.item(i).width == '25%' && td.item(i).firstChild.innerHTML == 'Date Registered:') { td.item(i+1).firstChild.innerHTML = lDate; } } } }
joinDate('admin', 'Jan 1970', 'Jan 1, 1970, 1.00am');
} //--> </script>Global Footer. Edit/Repeat the bit in bold to change more join dates. The blue date is the one shown in the mini-profile and the purple one is the date shown in the full profile
|
|