INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Change Start location  (Read 1358 times)

joshhuggins

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 415
Change Start location
« on: December 02, 2004, 10:50:37 am »

Does anyone know how I can change the Start page location to another web site. i'd like to set it to the interact forum. TIA
Josh Huggins
 ;D moving text is still cool!!!!  ;D
Logged
Thanks!

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20062
Re:Change Start location
« Reply #1 on: December 02, 2004, 11:32:23 am »

you can't but if you know HTML\java you can create a start page, replace the one for Media Center

and put something like this in the file and after 5 seconds it should refresh the page and go to the interact form. however i think each time you upgrade this will be over written.

this is one from a page i have that re-directs users

Quote
<script language="JavaScript">

<!--

function FP_preloadImgs() {//v1.0

 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();

 for(var i=0; i<a.length; i++) { d.FP_imgs=new Image; d.FP_imgs.src=a; }

}



function FP_swapImg() {//v1.0

 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;

 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;

 elm.$src=elm.src; elm.src=args[n+1]; } }

}



function FP_getObjectByID(id,o) {//v1.0

 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);

 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;

 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)

 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }

 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;

 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }

 return null;

}

// -->

</script>

<body onload="FP_preloadImgs(/*url*/'buttonE.gif',/*url*/'buttonF.gif')">



<meta http-equiv="refresh" content="5;url=http://www.spartasoft.com/">



<p>

<img border="0" id="img1" src="buttonD.gif" height="60" width="300" alt="GoTo: www.SpartaSoft.Com" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'buttonE.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'buttonD.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'buttonF.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'buttonE.gif')" fp-style="fp-btn: Metal Capsule 1; fp-font-size: 14; fp-transparent: 1" fp-title="GoTo: www.SpartaSoft.Com">
</p>
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

joshhuggins

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 415
Re:Change Start location
« Reply #2 on: December 02, 2004, 12:38:10 pm »

That's exactly what I'm looking for, just don't know where start is looking to for the page direction.
Logged
Thanks!

ForsakenArdor

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 94
  • I hate Jay Leno.
Re:Change Start location
« Reply #3 on: December 04, 2004, 03:27:46 am »

Josh?  The start page seems to be hit or miss for me, or maybe I'm just offline when I see the start page every time and I don't realize it, but, whatever the case, if you're online and MC knows you're online, there's a link to the interact forum on the online page that loads.  It's only one more step after that to get to this specific support board.  I managed to change the offline start page, but I couldn't figure out how to prevent it from going to the online page.  If you want to know how to do that and to go from there, there's two ways.

First is just a meat and potatoes forward.  Edit the index.htm file in Notepad under c:\(mc10 directory)\Data\Default InetPage\, delete everything and replace it with:
<HTML>
<META HTTP-EQUIV="Refresh" CONTENT="0;
 URL=http://yabb.jriver.com/interact/index.php?board=3">
</HTML>

The zero means it will forward immediately, no delay.

The other way is just to insert code into the existing page with a link to the support forum.  I did it so it looks all nice by inserting this code in the right place:
<tr>
<td width="10" valign="middle"><img src="arrow.gif" border="0" width="10" height="11" alt=""></td>
<td class="content" valign="middle">JRiver Media Center Support Forum</td>
</tr>

I put it before the <tr> for the one that says "Importing files".  Search for the word "importing", not "importing files" because they're on separate lines.  That's all I know.  And like KingSparta says, it'll get overwritten every time you upgrade.
Logged

raistlin2k

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 88
  • Change this by choosing profile
Re: Change Start location
« Reply #4 on: February 27, 2005, 06:07:08 pm »

@ForsakenArdor

You describe only changing of offline site? Or does this apply to the online one as well?

IF NOT, is it somehow possible to change the site adress or to prevent MC from going to online site? Because I don't want it to go there. Blocking with a firewall is bad, because then YADB won't work...

Any help would be nice,
Raist
Logged

raistlin2k

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 88
  • Change this by choosing profile
Re: Change Start location
« Reply #5 on: March 01, 2005, 08:43:46 am »

Is it really impossible to do this?

I wanted to write a German help file in HTML, which I wanted to place at the start-page, even if MC is in online mode.

Thanks
Raist
Logged

raistlin2k

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 88
  • Change this by choosing profile
Re: Change Start location
« Reply #6 on: March 02, 2005, 04:47:27 am »

I would like to ask someone of the coding team:

WHY did you lock us to a online-page at your servers?
Especially now, with version 11, where you start on making MC multilanguage (using language-files here in the board)??
Browsing to a english site in a program with german interface is somehow wierd.

I really would love to continue using my translated FAQ as my personal start page for my family.

Thanks
Raist
Logged

raistlin2k

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 88
  • Change this by choosing profile
Re: Change Start location
« Reply #7 on: March 14, 2005, 06:38:25 am »

Still no reply  :'(

Is there really no way for changing this behaviour?

Thanks
Raist
Logged
Pages: [1]   Go Up