Page 1 of 1
Need help with inserting hyperlink
Posted: Sun Mar 18, 2007 6:57 pm
by agustintorre
Hello, we have some new forums we want to add to our website.
But i don't know how to do this, I herd people say that all I need to do is insert the hyperlink into the header of out site. (which I have no idea how to do)
I have tried looking for the header but I can not find it.
Thanks!

Posted: Sun Mar 18, 2007 7:22 pm
by A_old
Ok so to make sure I understand what you need:
You have an existing website (presumably
http://www.mysuperpc.com) and would like to add a link from the main page to your forums, correct?
If you're new to web development, it might be easier to use some sort of tool to do this (something like
http://www.snapfiles.com/get/namu6.html). If so, find the file for the main page of your site (probably index.html or index.htm) and open it up in your HTML editor and add the link (how you do it will vary - if you want to add the link manually, into the HTML code itself, just open said file in notepad or wordpad and add this line to the location you want it to show up at:
<a href="
http://forums.mysuperpc.com/">Forums</a>
save and exit, then replace the exiting file with the new one. Make sure not to delete anything. Make sure to place the above line within the <body> and </body> tags.
Posted: Sun Mar 18, 2007 8:26 pm
by agustintorre
Amro wrote:Ok so to make sure I understand what you need:
You have an existing website (presumably
www.mysuperpc.com) and would like to add a link from the main page to your forums, correct?
If you're new to web development, it might be easier to use some sort of tool to do this (something like
http://www.snapfiles.com/get/namu6.html). If so, find the file for the main page of your site (probably index.html or index.htm) and open it up in your HTML editor and add the link (how you do it will vary - if you want to add the link manually, into the HTML code itself, just open said file in notepad or wordpad and add this line to the location you want it to show up at:
<a href="
http://forums.mysuperpc.com/">Forums</a>
save and exit, then replace the exiting file with the new one. Make sure not to delete anything. Make sure to place the above line within the <body> and </body> tags.
OK but the mysuper pc is not my site its a site have as a link so people will go check it out coz its kwl!
My site is my clans site (
www.riddlesoflife.com) for Americas Army, I did not design the site or anything like that.
The person that created the site was my co leaders friend who has disappeared so were on our own for the website.
This is the site I want to replace with our old forums:
http://riddlesoflife.informe.com/index.php
We have these really bad forums, that no one likes so we got some phpBB forums!
I'm gonna look to see if I can find that index.HTML
Thanks for the help!

Posted: Sun Mar 18, 2007 8:30 pm
by YARDofSTUF
agustintorre wrote:OK but the mysuper pc is not my site its a site have as a link so people will go check it out coz its kwl!
Thats a relief! That site is not "kwl"
I was gonna tell you to just give up cuz I assumed it was the site in question.
Good luck.
Posted: Mon Mar 19, 2007 7:24 am
by TonyT
use the below to replace the section of source code in your site pages
Code: Select all
<div id="navigation">
<img src="images/navigation.gif" alt="" /><a href="index.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/home.gif" alt="" /></a><a href="roster.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/roster.gif" alt="" /></a><a href="forums.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/forums.gif" alt="" /></a><a href="downloads.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/downloads.gif" alt="" /></a><a href="links.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/links.gif" alt="" /></a><a href="matches.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/matches.gif" alt="" /></a><a href="register.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/join.gif" alt="" /></a><img src="images/right-nav.gif" alt="" /> <a href="http://riddlesoflife.informe.com/index.php" target="_new" title="Forums">Forums</a>
</div>
Posted: Mon Mar 19, 2007 3:41 pm
by agustintorre
TonyT wrote:use the below to replace the section of source code in your site pages
Code: Select all
<div id="navigation">
<img src="images/navigation.gif" alt="" /><a href="index.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/home.gif" alt="" /></a><a href="roster.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/roster.gif" alt="" /></a><a href="forums.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/forums.gif" alt="" /></a><a href="downloads.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/downloads.gif" alt="" /></a><a href="links.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/links.gif" alt="" /></a><a href="matches.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/matches.gif" alt="" /></a><a href="register.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/join.gif" alt="" /></a><img src="images/right-nav.gif" alt="" /> <a href="http://riddlesoflife.informe.com/index.php" target="_new" title="Forums">Forums</a>
</div>
Ok thanks for giving me the code, but i cant find were i need to nsert it.
I looked fot the index.hm but there is none.
I put a list up of wats in the folder righ ubove your post!
Thanks!

Posted: Tue Mar 20, 2007 12:20 am
by agustintorre
any one.................
??
Posted: Tue Mar 20, 2007 7:42 am
by TonyT
look in httpdocs dir for:
/OLD/
Posted: Tue Mar 20, 2007 1:29 pm
by morbidpete
index.php
Posted: Tue Mar 20, 2007 1:38 pm
by morbidpete
you could always just change the url for the forums button. i did it on this one for ya
http://www.morbidpete.com/Personal/inde ... anged .php
Posted: Tue Mar 20, 2007 4:04 pm
by agustintorre
morbidpete wrote:index.php
Ok I looked in there but all it did was take me to the web site:
ftp://riddlesoflife.com/riddlesoflife.c ... /index.php
Posted: Tue Mar 20, 2007 4:04 pm
by agustintorre
Ok so how do I do it then?
I have no idea about this stuff lol.
Thanks!
Posted: Tue Mar 20, 2007 4:09 pm
by agustintorre
TonyT wrote:look in httpdocs dir for:
/OLD/
Ive tryied looking in old but still have no idea wut im looking for, tryied index.php but that takes me to the website and it look all wierd.
Thanks!

Posted: Tue Mar 20, 2007 6:04 pm
by TonyT
go here w/ ftp client:
ftp://www.riddlesoflife.com/OLD/
download the file called index.php (DON'T double click the file, drag it to the desktop or rt click & select COPY TO FOLDER and copy to Desktop)
open that file in Notepad
locate the section that looks like this:
Code: Select all
<div id="navigation">
<img src="images/navigation.gif" alt="" /><a href="index.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/home.gif" alt="" /></a><a href="roster.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/roster.gif" alt="" /></a><a href="forums.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/forums.gif" alt="" /></a><a href="downloads.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/downloads.gif" alt="" /></a><a href="links.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/links.gif" alt="" /></a><a href="matches.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/matches.gif" alt="" /></a><a href="register.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/join.gif" alt="" /></a><img src="images/right-nav.gif" alt="" />
</div>
replace that entire section with this:
Code: Select all
<div id="navigation">
<img src="images/navigation.gif" alt="" /><a href="index.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/home.gif" alt="" /></a><a href="roster.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/roster.gif" alt="" /></a><a href="forums.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/forums.gif" alt="" /></a><a href="downloads.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/downloads.gif" alt="" /></a><a href="links.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/links.gif" alt="" /></a><a href="matches.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/matches.gif" alt="" /></a><a href="register.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/join.gif" alt="" /></a><img src="images/right-nav.gif" alt="" /> <a href="http://riddlesoflife.informe.com/index.php" target="_new" title="Forums">Forums</a>
</div>
In Notepad, use File Menu > Save
upload index.php back to /OLD/ directory on server (drag file to ftp window)
Posted: Tue Mar 20, 2007 7:53 pm
by agustintorre
Also I get this error when i try downloading that file:
Log in request denied.
I am logged as I should be.

Posted: Tue Mar 20, 2007 8:49 pm
by agustintorre
OK I figured it out and downloaded it and opened it with notepad, found the line and entered new line you gave me.
saved it then tried to upload it but it didn't work?
I dragged it and said open file or save file...
Thanks for all the help, I really appreciate it!!

Posted: Wed Mar 21, 2007 7:24 am
by TonyT
what program are you using for ftp?
you should really be using a standalone ftp client.
download and install this:
http://www.ftpx.com
note: if use a software firewall then you will have to allow the ftp client to connect when the firewall blocks it.
use this is modified code, not the code above:
Code: Select all
<div id="navigation">
<img src="images/navigation.gif" alt="" /><a href="index.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/home.gif" alt="" /></a><a href="roster.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/roster.gif" alt="" /></a><a href="http://riddlesoflife.informe.com/index.php"><img src="images/forums.gif" alt="Forums" /></a><a href="downloads.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/downloads.gif" alt="" /></a><a href="links.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/links.gif" alt="" /></a><a href="matches.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/matches.gif" alt="" /></a><a href="register.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/join.gif" alt="" /></a><img src="images/right-nav.gif" alt="" />
</div>
Posted: Wed Mar 21, 2007 8:30 am
by agustintorre
well I'm not really using a program, just IE.
I downloaded the program you suggested but I am getting this error when I try connecting to the server:
Connecting to host (206.112.100.132)
! Winsock error: timeout (10035)
! Error connecting to: idex.php
Posted: Wed Mar 21, 2007 8:44 am
by agustintorre
TonyT wrote:what program are you using for ftp?
you should really be using a standalone ftp client.
download and install this:
www.ftpx.com
note: if use a software firewall then you will have to allow the ftp client to connect when the firewall blocks it.
use this is modified code, not the code above:
Code: Select all
<div id="navigation">
<img src="images/navigation.gif" alt="" /><a href="index.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/home.gif" alt="" /></a><a href="roster.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/roster.gif" alt="" /></a><a href="http://riddlesoflife.informe.com/index.php"><img src="images/forums.gif" alt="Forums" /></a><a href="downloads.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/downloads.gif" alt="" /></a><a href="links.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/links.gif" alt="" /></a><a href="matches.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/matches.gif" alt="" /></a><a href="register.php" onclick="doAjax('news', this.href, 0); return false;"><img src="images/join.gif" alt="" /></a><img src="images/right-nav.gif" alt="" />
</div>
Ok I got it to work with SmartFTP Cleint 2.0
But when uploading the file to the server it gave me this error:
[05:46:30] PASV
[05:46:31] 227 Entering Passive Mode (75,126,13,200,6,74).
[05:46:31] Opening data connection to 75.126.13.200 Port: 1610
[05:46:31] STOR index.php
[05:46:31] 550 index.php: Access is denied.
[05:46:31] MDTM 20070321124622 index.php
[05:46:31] 550 20070321124622 index.php: The system cannot find the file specified.
[05:46:31] Transfer failed.
Does this mean I do not have to the aothority to do it?
Thanks!
Posted: Wed Mar 21, 2007 3:07 pm
by TonyT
You do not have permission to overwrite the file, access denied. You need to login ftp with admin privledges.
Posted: Wed Mar 21, 2007 8:15 pm
by agustintorre
OK thats what I thought, (I need to speak to co leader and ask him!)
Thanks for all your help thought.
I'm gonna try to get admin rights, coz I'm co leader, LOL of my clan.
Also do you know were U could find a tutorial on this kind of stuff?
Thanks!

Posted: Thu Mar 22, 2007 7:24 am
by TonyT
Posted: Thu Mar 22, 2007 7:25 am
by agustintorre