MyBB Community Forums
need some conversion help! - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Development (https://community.mybb.com/forum-68.html)
+---- Thread: need some conversion help! (/thread-32522.html)



need some conversion help! - InsaneFrizz - 2008-06-14

I am currently in the process of converting from SMF to Mybb my site is egadforums.com For the most part I have done the conversion but what I still need to do is get the border images on my mybb board which is at egadforums.com/mybb/ the codes i'm using for smf are as follows which i need to convert to the mybb code and also what file would i put them into for smf they are in index.template.php


For the top and left border images

echo '

	<div align="center">

	<table id="widthControl" border="0" cellpadding="0" cellspacing="0">

		<tr>

			<td width="28" height="28"><img src="', $settings['images_url'], '/bc_topLeft.png" width="28" height="28" alt="" /></td>

			<td width="100%" height="28" background="', $settings['images_url'], '/bc_topBG.png"><img src="', $settings['images_url'], '/spacer.gif" width="1" height="28" alt="" /></td>

			<td width="29" height="28"><img src="', $settings['images_url'], '/bc_topRight.png" width="29" height="28" alt="" /></td>

		</tr>

		<tr>

			<td width="28" background="', $settings['images_url'], '/bc_leftBG.png"><img src="', $settings['images_url'], '/spacer.gif" width="28" height="1" alt="" /></td>

For the Bottom and right border images

<td width="29" background="', $settings['images_url'], '/bc_rightBG.png"><img src="', $settings['images_url'], '/spacer.gif" width="29" height="1" alt="" /></td>

	</tr>

	<tr>

		<td width="28" height="29"><img src="', $settings['images_url'], '/bc_bottomLeft.png" width="28" height="29" alt="" /></td>

		<td width="100%" height="29" background="', $settings['images_url'], '/bc_bottomBG.png"><img src="', $settings['images_url'], '/spacer.gif" width="1" height="29" alt="" /></td>

		<td width="29" height="29"><img src="', $settings['images_url'], '/bc_bottomRight.png" width="29" height="29" alt="" /></td>

	</tr>

	</table>';

Any help would be greatly appreciated.

Thanks in advance
InsaneFrizz
Egad Community Administrator