Page Index Toggle Pages: 1 Print
YaBB Y2.2.3 Templates to Y2.4 (Read 1819 times)
Captain John



YaBB Y2.2.3 Templates to Y2.4
Mar 4th, 2010 at 6:25pm
Print Post  
Display.Template

Find
Code
Select All
# $Revision: 1.19.2.4 $ 



Replace with
Code
Select All
# $Revision: 1.20 $ 



Find & Remove Highlighted
Code
Select All
	{yabb move}{yabb remove}{yabb splice}{yabb lock}{yabb hide}{yabb sticky}{yabb multidelete} 



Find
Code
Select All
	<span class="small">
		{yabb moderators}
	</span> 



Replace with
Code
Select All
	<div class="small">
		{yabb moderators}
	</div> 



Find
Code
Select All
	{yabb email}{yabb profile}{yabb pm}{yabb www}{yabb msn}{yabb gtalk}{yabb skype}{yabb icq}{yabb yim}{yabb aim}{yabb addbuddy} 



Replace with
Code
Select All
	{yabb profile}{yabb email}{yabb pm}{yabb www}{yabb msn}{yabb gtalk}{yabb skype}{yabb myspace}{yabb facebook}{yabb icq}{yabb yim}{yabb aim}{yabb addbuddy} 



Find & Remove Highlighted
Code
Select All
$messageblock = qq~
<div class="displaycontainer">
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="bordercolor" align="center" style="table-layout: fixed;">
<tr>
	<td align="left" class="{yabb css}" valign="top" width="140" style="overflow: hidden;"> 



Find & Remove Highlighted
Code
Select All
		{yabb stars}<br /> 



Find & Remove Highlighted
Code
Select All
		{yabb location}<br /> 



Find
Code
Select All
		{yabb gender} 



Add after
Code
Select All
		{yabb ext_prof} 



Find & Remove
Code
Select All
		<div class="small" style="float: left; width: 99%; text-align: left;">
			{yabb att} &nbsp;
		</div> 



Find
Code
Select All
		<div class="small" style="float: left; width: 99%; text-align: left">
			{yabb showatthr}{yabb showatt} 



Replace with
Code
Select All
		<div class="small" style="float: left; width: 99%; text-align: left;">
			{yabb showatthr}{yabb att}{yabb showatt} 



Find
Code
Select All
		<div style="float: left; width: 99%; padding-top: 5px; margin-top: 5px;" class="dividertop">
		<span class="small" style="float: left; width: 74%;">
			{yabb contactlist} &nbsp;
		</span>
		<span class="small" style="float: left; text-align: right; width: 25%;">
			<span class="small">{yabb ipimg} {yabb ip}<br />{yabb permalink}</span>
		</span>
		</div> 



Replace with
Code
Select All
		<div style="float: left; width: 99%; padding-top: 5px; margin-top: 5px;" class="dividertop">
		<div class="small" style="float: left; width: 74%;">
			{yabb contactlist} &nbsp;
		</div>
		<div class="small" style="float: left; text-align: right; width: 25%;">
			<span class="small">{yabb ipimg} {yabb ip}<br />{yabb permalink} &nbsp;</span>
		</div> 



  
Back to top
 
IP Logged
 
Captain John



Re: YaBB Y2.2.3 Templates to Y2.4
Reply #1 - Mar 5th, 2010 at 5:51pm
Print Post  
default.html

Find & Remove
Code
Select All
//scroll fix for IE
window.onload = function ()
		{
			if(document.all) {
				var codeFix = document.all.tags("div");
				for (var codeI = 0; codeI < codeFix.length; codeI++)
				{
					if (codeFix[codeI].className == "scroll" && (codeFix[codeI].scrollWidth > codeFix[codeI].clientWidth || codeFix[codeI].clientWidth == 0))
					codeFix[codeI].style.height = (codeFix[codeI].clientHeight + 34) + "px";
				}
			}
		} 



Find
Code
Select All
</head>
<body> 



Add after
Code
Select All
<div id="ImageAlert" style="visibility:hidden; position:fixed; background-color:#AAAAAA; width:200px; top:30%; left:41%">
	<div id="ImageAlertText" style="background-color:#EEEEEE; text-align:center; padding: 3px; margin:1px;"> </div>
	<div id="ImageAlertPic" style="background-color:#FFFFFF; text-align:center; margin:1px;"> </div>
</div>
<a name="pagetop">&nbsp;</a><br /> 



Find
Code
Select All
		<td class="small" align="left" valign="top" height="60">{yabb newstitle}<br /><span id="fscroller"> {yabb news}</span></td> 



Replace with
Code
Select All
		<td class="small" align="left" valign="top" height="60">{yabb news}</td> 



  
Back to top
 
IP Logged
 
Captain John



Re: YaBB Y2.2.3 Templates to Y2.4
Reply #2 - Mar 5th, 2010 at 6:06pm
Print Post  
default.css

Find
Code
Select All
/* $Revision: 1.24.2.11 $ */ 



Replace with
Code
Select All
/* $Revision: 1.25 $ */


/* Soft coded css buttons */
.buttonleft {
	padding: 0px 0px 0px 6px;
	background-image: url(../../Buttons/Button22_left.png);
}
.buttonright {
	padding: 0px 6px 0px 0px;
	background-image: url(../../Buttons/Button22_right.png);
}
.buttonimage {
	padding: 0px 0px 0px 25px;
	background-position: 0px 0px;
}
.buttontext {
	position: relative;
	top: 5px;
	left: 0px;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
	font-weight: normal;
	font-style: normal;
}
/* Soft coded css buttons end */
 



Find
Code
Select All
.containerbg {
	background-color: #9CB9F3;
} 



Add after
Code
Select All
.movedbg {
	background-color: #FFFEDF;
	font-size: 12px;
	font-weight: normal;
	font-style: italic;
	font-family: Verdana, Sans-Serif;
	color: #304B58;
}  



Find
Code
Select All
.copyright {
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	font-size: 11px;
	text-align: center;
} 



Replace with
Code
Select All
.copyright {
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	color: #62686F;
}
.copyright a {
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	color: #333366;
} 



Find
Code
Select All
a.nav:hover {
	color: #990000;
	text-decoration: underline;
} 



Add after
Code
Select All
/* Quick-Profile-Links */
.QuickLinks {
	background-color: #DDDDDD;
	position: absolute;
	display: none;
	margin-top: 15px;
	margin-left: 0px;
	padding: 0px;
	border: 1px;
	border-color: #000000;
	border-style: solid;
	list-style: none;
	text-indent: 0px;
}
.QuickLinks li {
	background-color: #EEEEEE;
	white-space: nowrap;
	font-size: 10px;
	margin-left: 0px;
	padding: 3px;
	list-style: none;
	text-indent: 0px;
}
.QuickLinks li:hover {
	background-color:#FFFFFF;
}
.QuickLinks a:hover {
	text-decoration:none;
}
 



Find
Code
Select All
.message {
		font-size: 11px; 



Replace with
Code
Select All
.message {
	font-size: 8pt; 



  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Print
 
  « Board Index ‹ Board  ^Top