php forum
php mysql forum
php mysql smarty
 
Topic Options
#280577 - 10/09/04 06:45 AM Standard PAL templates
salim Offline
Member

Registered: 02/08/03
Posts: 200
Loc: Muscat, Oman
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!<br /><br />Please Thanks

Top
#280578 - 10/09/04 07:49 AM Re: Standard PAL templates [Re: me_oh_my]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
You have them already - customboxpal1 through 12 allow this. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#280579 - 10/09/04 10:51 AM Re: Standard PAL templates [Re: Daine]
salim Offline
Member

Registered: 02/08/03
Posts: 200
Loc: Muscat, Oman
Josh,<br /><br />I have only three pals in my server. Plus all seems confusing <img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" /><br /><br />I need a template where I can just put in the HTML or Java code and change the table heading name.<br /><br />At the moment all the pals I am having are script and confusing the living hell out of me!

Top
#280580 - 10/09/04 11:27 AM Re: Standard PAL templates [Re: me_oh_my]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
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.<br /><br />
Code:
<br />&lt;?<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: dave@chattersonline.com<br />// URL:   http://www.chattersonline.com<br /><br /><br />	echo "$tbopen&lt;tr&gt;&lt;td align=\"left\" class=\"tdheader\"&gt;"; // Table Start<br />	<br />	echo "[:"red"]Title[/]"; // Table Heading<br />	<br />	echo "&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align=\"center\" valign=\"top\" class=\"lighttable\"&gt;"; // Close Header and Open Content<br />echo &lt;&lt;&lt;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 "&lt;/td&gt;&lt;/tr&gt;$tbclose&lt;br /&gt;"; // Close Content and End Table<br /><br /><br />?&gt;<br />

Top
#280581 - 10/09/04 12:01 PM Re: Standard PAL templates [Re: BlarC]
salim Offline
Member

Registered: 02/08/03
Posts: 200
Loc: Muscat, Oman
ericgtr<br /><br />I did exactly what you explained and I still I get an error <img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" /><br /><br />This is the error I get<br /><br />"Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/abufaiqa/public_html/threads/pals/custombox3pal.php on line 38"
_________________________
This is where it all takes place!
[]http://www.omanforum.com/threads/uploads/3408-signeo.JPG[/]

Top
#280582 - 10/09/04 12:16 PM Re: Standard PAL templates [Re: me_oh_my]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
Will you post up the code that you are putting into it?

Top
#280583 - 10/09/04 12:46 PM Re: Standard PAL templates [Re: BlarC]
salim Offline
Member

Registered: 02/08/03
Posts: 200
Loc: Muscat, Oman
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?

Top
#280584 - 10/09/04 01:04 PM Re: Standard PAL templates [Re: me_oh_my]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
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.


Attachments
121177-custombox4pal.txt (9 downloads)


Top
#280585 - 10/09/04 01:10 PM Re: Standard PAL templates [Re: BlarC]
salim Offline
Member

Registered: 02/08/03
Posts: 200
Loc: Muscat, Oman
Thank youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> it works like charme THANK THANK THANK YOU <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />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 <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top
#280586 - 10/09/04 04:33 PM Re: Standard PAL templates [Re: me_oh_my]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
<img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top


Moderator:  Gizmo 
Who's Online
0 registered (), 31 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks