PDA

View Full Version : Theme Problem


SJC
04-30-2009, 07:45 PM
Okay, I want to use a theme with a side menu, not a top menu. But when I use it, people adopt to of the same adoptables when only one is suppose to be adopted. Any ideas?[hr]
Also when you display 2 or more adoptables on a forum, some dont show.

BMR777
04-30-2009, 08:03 PM
Does this theme issue happen with ONLY this one theme? Can you please zip the theme up and attach it to a post?

Also, do you have a link to a forum where this is happening? Does this happen only on a certain forum or forum software type?

SJC
04-30-2009, 08:13 PM
For the theme it's multiple themes that I use.

And for the forum I tried it on two different forums, my official forum: http://pokefarm.netau.net/forum/index.php?topic=3.0 (I put them in quotes so you know where they are).

And the theme is:

<html>
<head>
<title>:BROWSERTITLE:</title>
<style>
A:link
{ text-decoration: none; color: #000000; }
A:visited
{ text-decoration: none; color: #000000; }
A:active
{ text-decoration: none; color: #000000; }
A:hover
{ text-decoration: none; color: #999999; }

body
{ font-family: Verdana; sans serif; helvetica;
color: #000000;
font-size: 9px;
background-color: #303030;
background-image: url(' ');
text-align: justify;
margin-bottom: 5px;
margin-right: 0px;
margin-top: 5px;
}

#centerlayout {
margin-left: -370px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
width: 800px;
left: 50%;
top: 0%;
position: absolute;
}

#leftmenu
{ font-family: Verdana; sans serif; helvetica;
color: #ffffff;
font-size: 9px;
background-color: #804040;
background-image: url(' ');
text-align: center;
border: 1px solid #A70101;
width:120px;
}

#rightmenu
{ font-family: Verdana; sans serif; helvetica;
color: #ffffff;
font-size: 9px;
background-color: #494949;
background-image: url(' ');
text-align: center;
border: 1px solid #A70101;
width:120px;
}

#content
{ font-family: Verdana; sans serif; helvetica;
color: #000;
font-size: 10px;
background-color: #494949;
background-image: url(' ');
border-bottom: 1px solid #A70101;
border-top: 1px solid #A70101;
border-left: 1px solid #A70101;
width: 529px;
}

#disclaimer
{ font-family: Verdana; sans serif; helvetica;
color: #000000;
font-size: 9px;
width:800px;
height:85px;
background-color: #494949;
background-image: url('Disclaimer Background URL delete if none');
border-bottom: 1px solid #A70101;
border-left: 1px solid #A70101;
border-right: 1px solid #A70101;
text-align:center;
}

#banner
{ font-family: Verdana; sans serif; helvetica;
color: #000000;
font-size: 0px;
width:800px;
height:100px;
background-color: #494949;
background-image: url('http://omploader.org/vMWl6Zw');
text-align:center;
border: 1px solid #A70101;
border-left: 1px solid #A70101;
border-right: 1px solid #A70101;
}

h1
{
font-family: Tahoma;
font-size: 11px;
color: #494949;
font-weight: bold;
text-align: center;
background-color: #000000;
border-top:2px solid #A70101;
border-bottom:2px solid #A70101;
}

h2
{
font-family: Tahoma;
font-size: 11px;
color: #494949;
font-weight: bold;
text-align: center;
background-color: #000000;
border-top:2px solid #A70101;
border-bottom:2px solid #A70101;
}

h3
{
font-family: Tahoma;
font-size: 11px;
color: #000000;
font-weight: bold;
text-align: center;
background-color: #666;
border-top:2px solid #A70101;
border-bottom:2px solid #A70101;
}



#leftmenu a {
display: block;
font-family: Arial;
color: #f57762;
text-align: left;
border: 0px solid #f57762;
text-transform: lowwercase;
letter-spacing: 1px;
margin: -1px;
}

#leftmenu a:hover {
color: #000000;
border: 0px solid #f57762;
background: #f57762;
font-style:italic;
text-align: left;
text-transform: lowwercase;
text-decoration: none;
}

#rightmenu a {
display: block;
font-family: Arial;
color: #f57762;
text-align: left;
border: 0px solid #f57762;
text-transform: lowwercase;
letter-spacing: 1px;
margin: -1px;
}

#rightmenu a:hover {
color: #000000;
border: 0px solid #f57762;
background: #f57762;
font-style:italic;
text-align: left;
text-transform: lowwercase;
text-decoration: none;
}

#ticker {
font-family: Verdana;
color: #ffffff;
font-size: 10px;
width: 256px;
height: 12px;
position: absolute;
top: 5px;
left: 445px;
display: inline;
}

</style>
</head>
<body leftmargin="0" rightmargin="0" topmargin="10" bottommargin="10">
<div id="centerlayout">
<div id="ticker">

<marquee onmouseover=this.stop() onmouseout=this.start()>
Welcome to The Pokemon Farm, or TPF for short! We are a website where you can adopt Pokemon and raise it by advertising it. It levels up by people clicking on it. For a Promo Pokemon, use the code: GiRaTiNa. <a href="/promo.php">Click here to activate it!
</marquee>

</div>

<table cellspacing="0" cellpadding="5" border="0">
<td valign="top" align="center" id="banner" colspan="3">
</td>
<tr>


<td valign="top" id="content">
<div align="justify">

<h3>:ARTICLETITLE:</h3>
:ARTICLEDATE:<br>
:ARTICLECONTENT:<br>
:ADS:
</td>

<td valign="top" id="rightmenu">

:LINKSBAR:<br>
:SIDEFEED:

</td>
</tr>
<tr><td valign="top" id="disclaimer" colspan="3">

<a href="http://www.rusnakweb.com/adoptables.php" target="_blank">Powered by Rusnak PHP Adoptables</a>


</td></tr>
</table>

</body>
</html>

BMR777
05-01-2009, 01:03 PM
I wonder if in the theme having the CSS in there with single quotes ' is messing things up when the script parses the theme. Do all the themes that give you issues have the css defined in the actual theme itself?

SJC
05-01-2009, 02:07 PM
It worked, but the images on the site aren't working.[hr]
Now I tried adding a new adoptable and when you go to adopt.php you get this:

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/a8072503/public_html/inc/functions.php on line 13

Error connecting to MySQL[hr]
Now it's working fine. Hmm, I wonder what happened.

BMR777
05-01-2009, 02:38 PM
Is the theme working fine now? What about images on forums? The sql error was due to a host issue, probably just an overworked free hosting server. :)