inherit
39604
0
Aug 26, 2008 22:26:15 GMT -8
Answerthis
702
April 2005
answerthis
|
Post by Answerthis on Jun 28, 2005 13:14:33 GMT -8
Ok, I need some help with the Ultimate Info Center V2.5. I want these to be the ranks: Administrator General Manager Manager Moderator Member What all do I have to change? Also, the info center currently looks like this http:///a138/Answerthis/?action=view¤t=76abfb8f.bmp What's wrong with it?
|
|
inherit
39604
0
Aug 26, 2008 22:26:15 GMT -8
Answerthis
702
April 2005
answerthis
|
Post by Answerthis on Jun 28, 2005 13:34:31 GMT -8
Here is the origional code <script type="text/javascript"> /*Ultimate Info Center V2.5 Created by hey forums.talesrpg.comDo not repost and keep header incact */ //Edit These Variables var adminColor = '700000'; var gmodColor = '007000'; var modColor = '700070'; var memColor = '000070'; //Do Not Edit Anything Below This Line var td = document.getElementsByTagName('td'); var ivf = document.getElementsByTagName('font'); var iupdated = 0; var iboards= 0; var icategories = 0; var iuvb = 0; var imod = 0; var iemod = 0; var iadmin = 0; for(t=0;t<td.length;t++){ if(td[t].className.match(/welcomebg/i)){ var iscreenname = (td[t].innerHTML.match(/Hey, (.+?), you/i)) ? RegExp.$1: ''; var itotalm = (td[t].innerHTML.match(/you have (.+?),/i)) ? RegExp.$1: ''; var inewm = (td[t].innerHTML.match(/<\/a>, (.+?) new/i)) ? RegExp.$1: '';} if(td[t].width=="66%" && td[t].className.match(/windowbg2/i)){ iboards++;} for(u=0;u<ivf.length;u++){ if(ivf .size=="1" && ivf.innerHTML.match(/- (\d+) viewing/i)){ var iuvb = parseInt(RegExp.$1);}} if(td[t].className.match(/catbg/i) && !td[t].innerHTML.match(/Users Online|Forum Statistics|=markallboardsread/i)){icategories++;} if(td[t].className.match("windowbg") && td[t].width=="20" && td[t].vAlign=="middle"){ td[t].style.display="none"} if(td[t].className=="windowbg2" && td[t].width=="24%" && td[t].innerHTML.match(/<b>Today<\/b>/i)){ iupdated++;} if(td[t].className.match(/catbg/i) && td[t].innerHTML.match(/Forum Statistics/i)){ var itopics = (td[t+2].innerHTML.match(/Total Topics: (\d+)(,\d+)? &/i)) ? RegExp.$1+RegExp.$2: ''; var iposts = (td[t+2].innerHTML.match(/Total Posts: (\d+)(,\d+)?<br/i)) ? RegExp.$1+RegExp.$2: ''; var imembers = (td[t+2].innerHTML.match(/Total Members: (.+?)<br/i)) ? RegExp.$1: ''; var inewmem = (td[t+2].innerHTML.match(/Newest Member: (.+?)<\/a>/i)) ? RegExp.$1: ''; var ilastpost = (td[t+2].innerHTML.match(/Last Updated Topic: (.+?) by/i)) ? RegExp.$1: ''; var ilastuser = (td[t+2].innerHTML.match(/by (.+?) \(/i)) ? RegExp.$1: ''; var ilastdate = (td[t+2].innerHTML.match(/\((.+?)\)\s?<br/i)) ? RegExp.$1: ''; if(td[t+2].innerHTML.match(/Your Instant Messages:/i)){ var iwlcm = 'Welcome back, '+iscreenname+'. You have '+itotalm+' total, '+inewm+' new.';} if(!td[t+2].innerHTML.match(/Your Instant Messages:/i)){ var iwlcm = 'Welcome to the forums, Guest. Please <a href="?action=login">Login</a> or <a href="?action=register">Register</a>.';} td[t+2].innerHTML='<table align="left" border="0" width="20%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td class="windowbg" align="left" colspan="4" width="100%">Posts: '+iposts+'<br />Topics: '+itopics+'<br />Members: '+imembers+'<br />Updated Boards: '+iupdated+'</td></tr></table></td></tr></table><table align="right" border="0" width="79%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td class="windowbg" align="left" colspan="4" width="100%">Last Post: '+ilastpost+' by '+ilastuser+' on '+ilastdate+'.<br /><a href="/index.cgi?action=recent">View the Most Recent Posts</a>.<br />Newest Member to the forums: '+inewmem+'</a><br />'+iwlcm+'</td></tr></table></td></tr></table><br /><br /><br /><br /><br /><table align="left" border="0" width="20%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td class="windowbg" align="left" colspan="4" width="100%">Boards: '+iboards+'<br />Categories: '+icategories+'</td></tr></table></td></tr></table><table align="right" border="0" width="79%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td class="windowbg" align="left" colspan="4" width="100%" valign="top">There are '+iuvb+' viewing inside the forums.<br />[<font color="'+adminColor+'">Administrator</font>] - [<font color="'+gmodColor+'">Global Moderator</font>] - [<font color="'+modColor+'">Moderator</font>] - [<font color="'+memColor+'">Member</font>]</td></tr></table></td></tr></table>';} if(td[t].className.match(/catbg/i) && td[t].innerHTML.match(/Today's Birthdays/i)){ var itotalbday = (td[t+2].innerHTML.match(/(\d+) birthday/i)) ? RegExp.$1: ''; var imembday = td[t+2].innerHTML.split(/today.<br/i)[1]; td[t+2].innerHTML='<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><table align="left" border="0" width="20%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td class="windowbg" align="left" colspan="4" width="100%">Birthdays: '+itotalbday+'</td></tr></table></td></tr></table><table align="right" border="0" width="79%" cellspacing="0" cellpadding="0" class="bordercolor" height="100%"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%" height="100%"><tr><td class="windowbg" valign="top" colspan="4" width="100%" height="100%">'+imembday+'</td></tr></table></td></tr></table></td></tr></table>';} if(td[t].className.match(/catbg/i) && td[t].innerHTML.match(/Events This Month/i)){ var imevents = td[t+2].innerHTML.split(/<\/font>/i)[0]; td[t+2].innerHTML='<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><table align="center" border="0" width="100%" cellspacing="0" cellpadding="0" class="bordercolor" height="100%"><tr><td><table cellpadding="0" cellspacing="1" border="0" width="100%" height="100%"><tr><td class="windowbg" valign="top" colspan="4" width="100%">'+imevents+'</td></tr></table></td></tr></table></td></tr></table>';} if(td[t].className.match(/catbg/i) && td[t].innerHTML.match(/Users Online/i)){ var imemon = td[t+2].innerHTML.split(/<br\s?\/?>/i)[1]; var imem = (td[t+2].innerHTML.match(/(\d+) Member/i)) ? RegExp.$1: ''; var iguest = (td[t+2].innerHTML.match(/(\d+) Guest/i)) ? RegExp.$1: ''; if(td[t+2].innerHTML.match(/Most users online was (\d+), (.+?)<br/i)){ var imostonline = RegExp.$1; var imostdate = RegExp.$2;} var ilinka = td[t+2].getElementsByTagName('a'); for(i=0;i<ilinka.length;i++){ if(ilinka.className == 'group1'){iadmin ++;} if(ilinka.className == 'group2'){iemod ++;} if(ilinka.className == 'group3'){imod ++;}} var itotalonline = parseInt(iadmin) + parseInt(iemod) +parseInt(imod) + parseInt(imem); if(document.cookie.match(/user=admin/i)){ var iguestlinka = '<a href="javascript:popWindow(\'viewguests\')">'; var iguestlinkb = '</a>';} else {var iguestlinka = ''; var iguestlinkb = '';} td[t+2].innerHTML='<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><table align="left" border="0" width="20%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td class="windowbg" align="left" colspan="4" width="100%">Administrators: '+iadmin+'<br />Global Moderators: '+iemod+'<br />Moderators: '+imod+'<br />Members: '+imem+'<br />'+iguestlinka+'Guests: '+iguest+''+iguestlinkb+'</td></tr></table></td></tr></table><table align="right" border="0" width="79%" cellspacing="0" cellpadding="0" class="bordercolor" height="100%"><tr><td height="80"><table cellpadding="4" cellspacing="1" border="0" width="100%" height="100%"><tr><td class="windowbg" align="top" colspan="4" width="100%" height="20">There are '+itotalonline+' users online. The most users online was '+imostonline+' on '+imostdate+'.</td></tr><tr><td class="windowbg" valign="top" colspan="4" width="100%" height="100%">'+imemon+'</td></tr></table></td></tr></table></td></tr></table>';}} </script>
|
|
inherit
38464
0
Jun 8, 2007 12:03:04 GMT -8
[HkK Rly]
1,742
March 2005
maddenking2
|
Post by [HkK Rly] on Jun 28, 2005 13:40:37 GMT -8
It says do not repost.
And I don't remember this being posted in the database here. Maybe ask where you got it from?
|
|
inherit
39604
0
Aug 26, 2008 22:26:15 GMT -8
Answerthis
702
April 2005
answerthis
|
Post by Answerthis on Jun 28, 2005 13:42:45 GMT -8
Wonderful. So where do I go to get help then? It came from SoCal. They don't have a code support board, otherwise I would have posted this there.
|
|
inherit
38464
0
Jun 8, 2007 12:03:04 GMT -8
[HkK Rly]
1,742
March 2005
maddenking2
|
Post by [HkK Rly] on Jun 28, 2005 13:56:40 GMT -8
Wonderful. So where do I go to get help then? It came from SoCal. They don't have a code support board, otherwise I would have posted this there. www.sev6.tkTry asking hey there.
|
|
inherit
39604
0
Aug 26, 2008 22:26:15 GMT -8
Answerthis
702
April 2005
answerthis
|
Post by Answerthis on Jun 28, 2005 13:59:12 GMT -8
It's a dead link.
|
|
inherit
38464
0
Jun 8, 2007 12:03:04 GMT -8
[HkK Rly]
1,742
March 2005
maddenking2
|
Post by [HkK Rly] on Jun 28, 2005 14:12:52 GMT -8
Works for me. Ok then try sev6.proboards31.comI don't think hey comes here very much anymore so try and ask there.
|
|
inherit
39604
0
Aug 26, 2008 22:26:15 GMT -8
Answerthis
702
April 2005
answerthis
|
Post by Answerthis on Jun 28, 2005 14:21:47 GMT -8
Wouldn't anyone else be able to help me?
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Jun 28, 2005 15:32:35 GMT -8
After looking at that copyright, best thing to do is contact HEY.
|
|
inherit
38464
0
Jun 8, 2007 12:03:04 GMT -8
[HkK Rly]
1,742
March 2005
maddenking2
|
Post by [HkK Rly] on Jun 28, 2005 15:34:42 GMT -8
After looking at that copyright, best thing to do is contact HEY. Yeah. Hey is the one that made it, and I suggest you delete the post with the code in it. We can view your source and see if you provide us with your site's URL. Besides, posting the original code won't do anything as we need your code. And hey is the ONLY one who can give you permission to edit the admin, gmod names etc, and most likely the one that can tell you what's wrong (considering he made it).
|
|
inherit
39604
0
Aug 26, 2008 22:26:15 GMT -8
Answerthis
702
April 2005
answerthis
|
Post by Answerthis on Jun 28, 2005 16:41:59 GMT -8
|
|
inherit
40802
0
Nov 22, 2007 19:48:34 GMT -8
Laugh
''Too much of a good thing...is wonderful''
1,682
May 2005
featherlaugh
|
Post by Laugh on Jun 28, 2005 17:04:46 GMT -8
Just wanted to mention that SoCal does have code support, you post the question or ask for help on the thread you got the code from.
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Jun 28, 2005 17:17:40 GMT -8
Just wanted to mention that SoCal does have code support, you post the question or ask for help on the thread you got the code from. Yes they do but Cali didn't make that code though.
|
|
inherit
40802
0
Nov 22, 2007 19:48:34 GMT -8
Laugh
''Too much of a good thing...is wonderful''
1,682
May 2005
featherlaugh
|
Post by Laugh on Jun 28, 2005 17:24:35 GMT -8
Wonderful. So where do I go to get help then? It came from SoCal. They don't have a code support board, otherwise I would have posted this there. I was responding to this, not who wrote the code, sorry I get great support there so I wanted to mention it.
|
|
inherit
39604
0
Aug 26, 2008 22:26:15 GMT -8
Answerthis
702
April 2005
answerthis
|
Post by Answerthis on Jun 28, 2005 19:52:51 GMT -8
Just wanted to mention that SoCal does have code support, you post the question or ask for help on the thread you got the code from. I'll try it.
|
|