Welcome, Guest. Please Login or Register.
April 29, 2025, 07:41:01 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Graphics and Templates  |  Question about code in template « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Question about code in template  (Read 986 times)
thedeeve
Jr. Member
**
Posts: 83


The Diva Is In!

ICQ - 148969237thedeeve330@hotmail.com WWW
Question about code in template
« on: May 29, 2003, 08:23:53 PM »
Reply with quote

I added a java script for a stats tracker to my template and now I want to revise it. Problem is that is no longer shows up in the template, yet it still appears on the board and still functions. Any ideas?  :-\
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Question about code in template
« Reply #1 on: May 29, 2003, 08:46:27 PM »
Reply with quote

the code should be in your template, unless if you put it in one of the source files

a url to your forum will help
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
thedeeve
Jr. Member
**
Posts: 83


The Diva Is In!

ICQ - 148969237thedeeve330@hotmail.com WWW
Re:Question about code in template
« Reply #2 on: May 29, 2003, 08:53:28 PM »
Reply with quote

I'm happy to oblige, but the board is only available to registered members, so you won't see much (we have a closed membership at the moment, so register.php has been removed)... but here goes: http://www.divadish.com/community

Also, here's the code from my template. There is NO sign of my addfreestats script, and yet it is still functioning. I am clueless.  :-[

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<LINK REL="SHORTCUT ICON" HREF="http://www.divadish.com/community/favicon.ico">
<title><yabb title></title>
<style type="text/css">


<!--
/* These take care of the regular links */
A:link        {text-decoration: none; color: #000000; background-color: #CC99FF;}
A:visited     {text-decoration: none; color: #000000; background-color: #CC99FF; }
A:hover       {color: #000000; text-decoration: underline; background-color: #CC99FF; }
/* These take care of the navigation tree links */
.nav          {text-decoration: none; color: #880086; background-color: #CC99FF;}
.nav:link     {text-decoration: none; color: #880086; background-color: #CC99FF;}
.nav:visited  {text-decoration: none; color: #880086; background-color: #CC99FF;}
.nav:hover    { text-decoration: underline; color: #880086; font-weight: bold; background-color: #CC99FF;}
/* Standards */
BODY          {font-family: Arial; font-size:16px;}
TABLE       {empty-cells: show }
TD            {font-family: Arial; color: #880086; font-size:16px;}
input         {background-color: #CC99FF; font-family: Arial; font-size: 12pt; color: #000000;}
textarea      {background-color: #CC99FF; font-family: Arial; font-size: 12pt; color: #000000;}
select        {background-color: #CC99FF; font-family: Arial; font-size: 12pt; color: #000000;}
/* YaBB Colors */
.windowbg     {background-color: #CC99FF; font-size: 16px; font-family: Arial; color: #000000;}
.windowbg2    {background-color: #CC99FF; font-size: 16px; font-family: Arial; color: #000000;}
.windowbg3    {background-color: #CC99FF; font-size: 16px; font-family: Arial; color: #000000;}
.hr           {color: #cc99ff; background-color: CC99FF;}
.titlebg      {background-color: #CC99FF; color: #CC99FF;}
.text1        {font-style: normal; font-weight: bold; font-size: 14px; color: #880086; background-color: #CC99FF;}
.catbg        {color: #880086; font-weight: bold; font-size: 15px; background-image : url(http://www.divadish.com/community/YaBBImages/catbg.jpg);}
     
.bordercolor  {background-color: #880086; font-size: 14px; font-family: Arial;}
.quote        {font-size: 14px; font-family: Arial; color: #000000; background-color: #CC99FF;}
.code         {font-size: 12px; font-family: Arial; color: #000000; background-color: #CC99FF;}
.help         {background-color: #CC99FF; cursor:help; }
.meaction     {color: red;}

-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">  
<META NAME="description" CONTENT="<yabb title>">
<META NAME="keywords" CONTENT="PHP, MySQL, bulletin, board, free, open, source, YaBB, yet, another, SE">
</head>
<SCRIPT LANGUAGE="JavaScript1.1">
<!-- Begin
function stopthief(ie) { var warning = "Right clicking this page is not allowed.";
if (navigator.appName == 'Netscape' && ie.which == 3) {
alert(warning);
return false;
}
else
if (navigator.appName == 'Microsoft Internet Explorer' &&
event.button==2) {
alert(warning);
return false;
}
return true;
}
document.onmousedown = stopthief;
// End -->
</script>



<HEAD>

<BODY>

<body text="#000000" bgcolor="#CC99FF" link="#800080" Ondragstart="return false" onselectstart="return false">
<table border="0" width="90%" cellspacing="0" cellpadding="0" bgcolor="#CC99FF" class="bordercolor" align="center"><tr><td>
<table border="0" width="100%" cellspacing="1" cellpadding="0" bgcolor="#CC99FF" class="bordercolor" align="center">
 <tr>  
   <td>  
   <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
     <tr>  
       <td valign="middle" align="LEFT" bgcolor="#CC99FF"><img src="http://www.divadish.com/images/Divadishlogo2.jpg" alt="logo">                  <img src="http://www.divadish.com/images/flag3.gif" alt="flag">                 <img src="http://www.divadish.com/images/yellow.gif" alt="yellow ribbon"></td>
       <td bgcolor="#CC99FF" valign="middle"><font size="2"><yabb uname><br> <yabb im><BR><yabb time></font></td>
     </tr>
   </table>
   </td>
  </tr>
  <tr align="center" valign="middle" bgcolor="#CC99FF">  
    <td bgcolor="#CC99FF"><font size="1"><yabb menu></font></td>
  </tr>
    <tr>  
       <td width="100%"  bgcolor="#CC99FF" height="24">
          <yabb news>
   </td>
 </tr>
</table>
</td></tr></table>
<br>
<table border="0" width="90%" cellspacing="0" cellpadding="0" bgcolor="#CC99FF" class="bordercolor" align="center"><tr><td>
<table border="0" width="100%" cellspacing="1" cellpadding="0" bgcolor="#CC99FF" class="bordercolor" align="center">
 <tr>
   <td>  
   <table width="100%" cellspacing="0" cellpadding="10" border="0" align="center" bgcolor="#CC99FF">
     <tr>  
       <td valign="TOP" width="100%">
       <yabb main>
       </td>
     </tr>
   </table>
   </td>
 </tr>
</table>
</td></tr></table>
<p align="center"> <yabb memberMenu> </p>
<table border="0" cellspacing="0" cellpadding="0" width="90%" align="center"><tr><td align="right" nowrap><yabb VBStyleLogin></td></tr></table><br>
<table border="0" width="90%" cellspacing="0" cellpadding="0" bgcolor="#CC99FF" class="bordercolor" align="center"><tr><td>
<table border="0" width="100%" cellspacing="1" cellpadding="0" bgcolor="#CC99FF" class="bordercolor" align="center">

<tr>  
   <td>  
   <table border="0" width="100%" cellpadding="3" cellspacing="0" bgcolor="#CC99FF">
     <tr>  
       <td valign="middle" align="right" bgcolor="#CC99FF" width="25%">  
        <a href="http://www.mysql.com"><img border="0"
       src="http://www.divadish.com/community/YaBBImages/
mysql.gif"
       alt="Powered by MySQL" height="31" width="88"></a>
       <a href="http://www.php.net"><img border="0"
       src="http://www.divadish.com/community/YaBBImages/
/php.gif"
       alt="Powered by PHP" height="31" width="88"></a>          
       </td>
       <td bgcolor="#CC99FF" valign="middle" align="center" width="50%">  
       <yabb copyright>
       </td>
        <td bgcolor="#CC99FF" valign="middle" align="left" width="25%">  
        <a href="http://validator.w3.org/check/referer"><img border="0"
       src="http://www.divadish.com/community/YaBBImages/
vhtml.gif"
       alt="Valid HTML 4.01!" height="31" width="88"></a>
       <a href="http://jigsaw.w3.org/css-validator/check/referer"><img border="0"
       src="http://www.divadish.com/community/YaBBImages/
vcss.gif"
       alt="Valid CSS!" height="31" width="88"></a>


       </td>
     </tr>
   </table>
   </td>
 </tr>
</table>
</td></tr></table></body>
</html>
Logged
thedeeve
Jr. Member
**
Posts: 83


The Diva Is In!

ICQ - 148969237thedeeve330@hotmail.com WWW
Re:Question about code in template
« Reply #3 on: May 29, 2003, 08:57:38 PM »
Reply with quote

Oh Lord  ::)  I am so sorry. This was a real blonde moment for me.  :-[  I found the code. It's in my Members Menu in the subs.php. So sorry to have bothered you.  :-X
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  Question about code in template « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.030 seconds with 16 queries.