UBB.Dev
Posted By: salim Standard PAL templates - 10/09/2004 1:45 PM
I will really appreciate if one of you GURU attached a PAL template of which I can just put the HTML or JAVA code and change the headings of the Pal Box title and Viola!

Please Thanks
Posted By: JoshPet Re: Standard PAL templates - 10/09/2004 2:49 PM
You have them already - customboxpal1 through 12 allow this.
Posted By: salim Re: Standard PAL templates - 10/09/2004 5:51 PM
Josh,

I have only three pals in my server. Plus all seems confusing

I need a template where I can just put in the HTML or Java code and change the table heading name.

At the moment all the pals I am having are script and confusing the living hell out of me!
Posted By: ericgtr Re: Standard PAL templates - 10/09/2004 6:27 PM
Salim, this is already built into the custom pals i.e. custombox3pal.php Take a look below, as long as you put your html or javascript in the section that I put Your HTML code goes here it will be wrapped with your current tempalte.

Code
<br /><?<br />// Integrated Index Page (IIP) Version 5.4 (October 4, 2003) <br />// Updated to work with UBB.Threads ver 6.4 by Joshua Pettit - www.joshuapettit.com<br />//  <br />// Copyright David Lozier 2002-2003. All Rights reserved.<br />// <br />// This software may be used and modified freely providing:<br />// 1. The copyright notice remains intact at the head of all files.<br />// 2. The copyright notice and link to my personal website is<br />//    displayed at the bottom of all pages generated by the software.<br />//<br />// This software may NOT be distributed without expressed written<br />// consent from the author. <br />//<br />// The author accepts no liability for any loss or damages whatsoever <br />// incurred directly or indirectly from the use of this software. <br />// The author of this software makes no claims as to its fitness for <br />// any purpose whatsoever. If you wish to use this software you <br />// should first satisfy yourself that it meets your requirements.<br />//<br />// Email: [email protected]<br />// URL:   http://www.chattersonline.com<br /><br /><br />	echo "$tbopen<tr><td align=\"left\" class=\"tdheader\">"; // Table Start<br />	<br />	echo "[:"red"]Title[/]"; // Table Heading<br />	<br />	echo "</td></tr><tr><td align=\"center\" valign=\"top\" class=\"lighttable\">"; // Close Header and Open Content<br />echo <<<UBBTPRINT<br /><br /> [:"red"] Your HTML code goes here [/] <br /><br />UBBTPRINT;<br /><br />	//echo "Admins: Your custom content and code can be added to this box by editing the custombox3pal.php script located in the pals directory.";<br /><br />	echo "</td></tr>$tbclose<br />"; // Close Content and End Table<br /><br /><br />?><br />
Posted By: salim Re: Standard PAL templates - 10/09/2004 7:01 PM
ericgtr

I did exactly what you explained and I still I get an error

This is the error I get

"Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/abufaiqa/public_html/threads/pals/custombox3pal.php on line 38"
Posted By: ericgtr Re: Standard PAL templates - 10/09/2004 7:16 PM
Will you post up the code that you are putting into it?
Posted By: salim Re: Standard PAL templates - 10/09/2004 7:46 PM
I am trying to put google ad sense code in the HTML area you indicated above, would that be teh cause of the problem, the google code itself?
Posted By: ericgtr Re: Standard PAL templates - 10/09/2004 8:04 PM
Okay, attached is my pal with google adsense in it, just rename the pal to what you want and change the extension to php. You should be able to change the code in it to your own, let me know how it works out.

Attached File
121177-custombox4pal.txt  (52 downloads)
Posted By: salim Re: Standard PAL templates - 10/09/2004 8:10 PM
Thank youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu it works like charme THANK THANK THANK YOU

I could sworn there is no difference between the pal I had the one you attached, but alas it doesnt matter as long it works thanks again
Posted By: ericgtr Re: Standard PAL templates - 10/09/2004 11:33 PM
© UBB.Developers