Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Addons/Mods Graveyard (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=41)
-   -   Adopts News (http://www.mysidiaadoptables.com/forum/showthread.php?t=881)

Saphira 05-28-2009 10:26 AM

RE: Adopts News
 
Quote:

Originally Posted by Bloodrun
Lol thanks =D
Let me know if something doesn't work right, or if there's something you think should be added.

postedit.php is missing. :P

Bloodrun 05-28-2009 10:27 AM

RE: Adopts News
 
Quote:

Originally Posted by Saphira
Quote:

Originally Posted by Bloodrun
Lol thanks =D
Let me know if something doesn't work right, or if there's something you think should be added.

postedit.php is missing. :P

DOH! >.<
Added.

Saphira 05-28-2009 10:32 AM

RE: Adopts News
 
Hmm, is there any way to make the system recognise new paragraphs? I've tried html and bbcode, and they both fail. Everything shows up in one continuous paragraph.

Bloodrun 05-28-2009 10:39 AM

RE: Adopts News
 
Quote:

Originally Posted by Saphira
Hmm, is there any way to make the system recognise new paragraphs? I've tried html and bbcode, and they both fail. Everything shows up in one continuous paragraph.

Did you try <br>?

If that doesn't work, Ill just convert the thing to BBcode.

mapleblade 05-28-2009 10:40 AM

RE: Adopts News
 
Quote:

Originally Posted by Bloodrun
Quote:

Originally Posted by mapleblade
at me its really weird its all on the wrong place,

take a look, and HELP ME! :(

http://yoshisisland.0fees.net/adoptables/news.php?nid=1

Oh boy, it's really messing up your layout.
hmm, can i see your template file?

The reason I ask, is because are you using the:

$article_content

or are you using something else?

I think I may know the problem, but would you allow me access to your ftp to fix it?
I believe the structure is just conflicting with the way your template is set up.


Well here is my template :

Quote:

<html>
<head>
<TITLE>:BROWSERTITLE:</TITLE>
<meta name="keywords" content="{%MetaKeywords%}">
<meta name="description" content="{%MetaDescription%}">
<meta http-equiv="Content-Type" content="{%MetaCharset%}">
<style type="text/css">
<!--
td {
font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 11px;
}
body {
background-image: url(images/e025_01.png);
}
.content {
padding-top: 20px;
padding-right: 20px;
padding-bottom: 40px;
padding-left: 20px;
background-image: url(images/e025_14.png);
background-repeat: no-repeat;
background-position: top;
background-color: #FFFFFF;
}
.menutop {
height: 29px;
padding-right: 10px;
padding-left: 5px;
vertical-align: middle;
font-weight: bold;
color: #FFFFFF;
background-image: url(images/e025_09.png);
background-repeat: no-repeat;
background-position: right;
}
#menu {
height:35px;
line-height:35px;
background:url(images/d018_08.jpg) repeat-x;
padding:0 10px;
}
#menu ul {
list-style-type:none;
}
#menu li {
float:left;
}
#menu li a {
padding:0 15px;
display:block;
color:#ffffff;
margin-right:2px;
}
#menu li a:hover {
background:url(images/bg-menu-hover.png) no-repeat center center;
}
a:link, a:visited {
color: #FFFFFF;
text-decoration: underline;
}
a:hover {
color: #000000;
text-decoration: none;
}
.menutop a:link, .menutop a:visited {
color: #FFFFFF;
text-decoration: none;
}
.menutop a:hover {
color: #C8FBFD;
text-decoration: underline;
}
.footer, .footer a:link, .footer a:visited {
color: #000000;
}
.newsbar {
color: #000000;
font-weight: bold;
padding-left: 40px;
}
.logo {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-weight: bold;
color: #FFFFFF;
}
.leftcontent {
padding-top: 10px;
padding-right: 10px;
padding-bottom: 25px;
padding-left: 35px;
}
.style1 {font-size: 16px}
.date {
color: #FFFFFF;
padding-right: 15px;
padding-left: 15px;
}
-->
</style>
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="745" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="211" height="69" background="images/e025_02.png">&nbsp;</td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/e025_03.png" width="534" height="39" alt=""></td>
</tr>
<tr>
<td height="35" background="images/e025_07.png"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="100%"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="211" valign="top" background="images/e025_22.png"><table width="211" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="129" align="center" background="images/e025_13.png"><table width="210" border="0" cellpadding="5" cellspacing="0">
<tr>
<td align="center" nowrap class="logo"><span class="style1">:SITENAME: </span><br>
Where Yoshi's are the Boss</td>
</tr>
</table></td>
</tr>
<tr>
<td height="58" background="images/e025_15.png" class="newsbar">Explore</td>
</tr>
<tr>
<td height="100%" valign="top" background="images/e025_17.png" class="leftcontent">:SIDEFEED:</td>
</tr>
<tr>
<td height="7" background="images/e025_17.png"><img src="images/e025_20.png" width="211" height="7" alt=""></td>
</tr>
<tr>
<td height="6"><img src="images/e025_21.png" width="211" height="6" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td height="124" background="images/e025_25.png">&nbsp;</td>
</tr>
</table></td>
<td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<div id="menu">
<ul>
:LINKSBAR:
</ul>
</div>
<tr>
<td height="100%" valign="top" class="content"><p>:ARTICETITLE::ARTICLEDATE:<br>< br>:ARTICLECONTENT:</p>
</td>
</tr>
<tr>
<td height="65" align="center" background="images/e025_26.png">Powered by Rusnak PHP Adoptables Script</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

Bloodrun 05-28-2009 10:41 AM

RE: Adopts News
 
Quote:

Originally Posted by mapleblade
Quote:

Originally Posted by Bloodrun
Quote:

Originally Posted by mapleblade
at me its really weird its all on the wrong place,

take a look, and HELP ME! :(

http://yoshisisland.0fees.net/adoptables/news.php?nid=1

Oh boy, it's really messing up your layout.
hmm, can i see your template file?

The reason I ask, is because are you using the:

$article_content

or are you using something else?

I think I may know the problem, but would you allow me access to your ftp to fix it?
I believe the structure is just conflicting with the way your template is set up.


Well here is my template :

Quote:

<html>
<head>
<TITLE>:BROWSERTITLE:</TITLE>
<meta name="keywords" content="{%MetaKeywords%}">
<meta name="description" content="{%MetaDescription%}">
<meta http-equiv="Content-Type" content="{%MetaCharset%}">
<style type="text/css">
<!--
td {
font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 11px;
}
body {
background-image: url(images/e025_01.png);
}
.content {
padding-top: 20px;
padding-right: 20px;
padding-bottom: 40px;
padding-left: 20px;
background-image: url(images/e025_14.png);
background-repeat: no-repeat;
background-position: top;
background-color: #FFFFFF;
}
.menutop {
height: 29px;
padding-right: 10px;
padding-left: 5px;
vertical-align: middle;
font-weight: bold;
color: #FFFFFF;
background-image: url(images/e025_09.png);
background-repeat: no-repeat;
background-position: right;
}
#menu {
height:35px;
line-height:35px;
background:url(images/d018_08.jpg) repeat-x;
padding:0 10px;
}
#menu ul {
list-style-type:none;
}
#menu li {
float:left;
}
#menu li a {
padding:0 15px;
display:block;
color:#ffffff;
margin-right:2px;
}
#menu li a:hover {
background:url(images/bg-menu-hover.png) no-repeat center center;
}
a:link, a:visited {
color: #FFFFFF;
text-decoration: underline;
}
a:hover {
color: #000000;
text-decoration: none;
}
.menutop a:link, .menutop a:visited {
color: #FFFFFF;
text-decoration: none;
}
.menutop a:hover {
color: #C8FBFD;
text-decoration: underline;
}
.footer, .footer a:link, .footer a:visited {
color: #000000;
}
.newsbar {
color: #000000;
font-weight: bold;
padding-left: 40px;
}
.logo {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-weight: bold;
color: #FFFFFF;
}
.leftcontent {
padding-top: 10px;
padding-right: 10px;
padding-bottom: 25px;
padding-left: 35px;
}
.style1 {font-size: 16px}
.date {
color: #FFFFFF;
padding-right: 15px;
padding-left: 15px;
}
-->
</style>
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="745" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="211" height="69" background="images/e025_02.png">&nbsp;</td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/e025_03.png" width="534" height="39" alt=""></td>
</tr>
<tr>
<td height="35" background="images/e025_07.png"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="100%"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="211" valign="top" background="images/e025_22.png"><table width="211" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="129" align="center" background="images/e025_13.png"><table width="210" border="0" cellpadding="5" cellspacing="0">
<tr>
<td align="center" nowrap class="logo"><span class="style1">:SITENAME: </span><br>
Where Yoshi's are the Boss</td>
</tr>
</table></td>
</tr>
<tr>
<td height="58" background="images/e025_15.png" class="newsbar">Explore</td>
</tr>
<tr>
<td height="100%" valign="top" background="images/e025_17.png" class="leftcontent">:SIDEFEED:</td>
</tr>
<tr>
<td height="7" background="images/e025_17.png"><img src="images/e025_20.png" width="211" height="7" alt=""></td>
</tr>
<tr>
<td height="6"><img src="images/e025_21.png" width="211" height="6" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td height="124" background="images/e025_25.png">&nbsp;</td>
</tr>
</table></td>
<td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<div id="menu">
<ul>
:LINKSBAR:
</ul>
</div>
<tr>
<td height="100%" valign="top" class="content"><p>:ARTICETITLE::ARTICLEDATE:<br>< br>:ARTICLECONTENT:</p>
</td>
</tr>
<tr>
<td height="65" align="center" background="images/e025_26.png">Powered by Rusnak PHP Adoptables Script</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

Ahh two things, first off, you need to link back to Rusnak not just say it ;)

and two, only the :ARTICLECONTENT: should be in <p> tags.

mapleblade 05-28-2009 10:47 AM

RE: Adopts News
 
oh oops and just <p>:ARTICECONTENT:</p>?

Bloodrun 05-28-2009 11:01 AM

RE: Adopts News
 
Quote:

Originally Posted by mapleblade
oh oops and just <p>:ARTICECONTENT:</p>?

Yessir! =D

mapleblade 05-28-2009 12:22 PM

RE: Adopts News
 
now its still bugged :( (but its better then earlier)

Saphira 05-28-2009 01:45 PM

RE: Adopts News
 
Quote:

Originally Posted by Bloodrun
Quote:

Originally Posted by Saphira
Hmm, is there any way to make the system recognise new paragraphs? I've tried html and bbcode, and they both fail. Everything shows up in one continuous paragraph.

Did you try <br>?

If that doesn't work, Ill just convert the thing to BBcode.

I tried <br>, and <p>, and neither work. It turns

These

Are

Separate, into

These are separate, etc.


All times are GMT -5. The time now is 12:27 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.