X7 Chat Support Board
Welcome, Guest. Please login or register.
September 10, 2010, 01:02:54 AM

Login with username, password and session length
Search:     Advanced search
X7 Chat Version 3.0.0 Alpha 2 is now available (http://x7chat.com/support_forum/index.php?topic=3198.msg11497#new).
13112 Posts in 3802 Topics by 74292 Members
Latest Member: arrostenurn
* Home Help Search Login Register
+  X7 Chat Support Board
|-+  Version 1 Archive
| |-+  [Version 1] Help
| | |-+  Making logo a link back to forum?
« previous next »
Pages: [1] Reply Send this topic Print
Author Topic: Making logo a link back to forum?  (Read 3203 times)
cofee_iv
Member
*
Offline Offline

Posts: 3


View Profile Email
« on: September 10, 2004, 09:14:08 AM »
Reply with quote

Can I make the logo in the chat a link back to my forum?  

Thank you!
Report to moderator   Logged
E-Oreo
Administrator
Member
*****
Offline Offline

Posts: 3710


View Profile Email
« Reply #1 on: September 11, 2004, 11:16:54 AM »
Reply with quote

The logo image is in the files lib/html.php and frames/new.top.php.  Adding a simple link tag around the logo image should link back to your forum.  Make sure that when you edit frames/new.top.php you specify the target as _parent since that one is framed.
Report to moderator   Logged
cofee_iv
Member
*
Offline Offline

Posts: 3


View Profile Email
« Reply #2 on: September 11, 2004, 11:20:34 AM »
Reply with quote

Thank you!  Would that be an html tag?  If not, I don't know what it would look like.
Report to moderator   Logged
Chozo4
Member
*
Offline Offline

Posts: 23


View Profile Email
« Reply #3 on: September 11, 2004, 02:14:18 PM »
Reply with quote

Yes it is indeed HTML.

Open lib/html.php

find:
Quote
<Tr valign="top">
     <td height="42" width="195"><img src="./images/chatlogo.gif" width="195" height="42"></td>
     <td height="42">&nbsp;</td>

edit as so (shown in red):
Quote
<Tr valign="top">
     <td height="42" width="195"><a href="http://your.home.page/address.htm" target="_parent"><img src="./images/chatlogo.gif" width="195" height="42"></a></td>
     <td height="42">&nbsp;</td>

Save & Close the file.

Now open frames/new.top.php

find:
Quote
<Tr valign="center">
     <td height="42" width="195"><img src="./images/chatlogo.gif" width="195" height="42"></td>
     <td height="42">

edit as so (shown in red):
Quote
<Tr valign="center">
     <td height="42" width="195"><a href="http://your.home.page/address.htm" target="_parent"><img src="./images/chatlogo.gif" width="195" height="42"></a></td>
     <td height="42">


Save & Close the file.

You should now be set with your chat logo now being linked to whatever you so desire ^.^

Change ' target="_parent" ' to something different like ' target="myhomepage" ' if you want to load it into a new window.
« Last Edit: September 11, 2004, 02:17:02 PM by Chozo4 » Report to moderator   Logged

MechWarrior Resource Depot - {Home (http://mechresource.myvnc.com) - Fora (http://mechresource.myvnc.com/forums) - Chat (http://mechresource.myvnc.com/chat)}
---------------------------------------------------------
Destruction brings enlightenment but at the
cost of self... ~~ Chozo4
pastor_rick
Member
*
Offline Offline

Posts: 19


View Profile
« Reply #4 on: July 23, 2008, 10:23:35 PM »
Reply with quote

has this changed? I am using v2.05 and do not see a lib/html.php file or a frames/new.top.php file

the lib dir exists but there is no frames dir...

this is something I want to do but the instructions don't match the installed files...
Report to moderator   Logged
E-Oreo
Administrator
Member
*****
Offline Offline

Posts: 3710


View Profile Email
« Reply #5 on: July 24, 2008, 08:13:56 AM »
Reply with quote

These instructions are for version 1.  In version 2 the header is in the file sources/frame.php.
Report to moderator   Logged
pastor_rick
Member
*
Offline Offline

Posts: 19


View Profile
« Reply #6 on: July 24, 2008, 06:10:27 PM »
Reply with quote

Thanks for the pointer... going there now...

Quote
Lesigner Girl said:
found a typo in line 644 of /sources/frame.php:

<script langauge="java-script" type="text/java-script">

If my fix causes anything to happen, hopefully it'll be for the better.

This is for v2.05
Report to moderator   Logged
Pages: [1] Reply Send this topic Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 2.14 seconds with 18 queries.