Previous Thread
Next Thread
Print Thread
Rate Thread
#238513 02/28/2003 10:40 PM
Joined: Feb 2003
Posts: 196
Member
Member
Offline
Joined: Feb 2003
Posts: 196
Can the members here attach their custombox1pal.php, so I can use them as a reference and example while doing mine. YOu see, I am not good at all at PHP, but if I see example of those of you how you used your custombox PHP files and I can than create my own, like adding a banner or an image or something. Thanks . That would be useful!

Sponsored Links
me_oh_my #238514 03/01/2003 12:25 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
My profile birthday mod has a custom pal box attached in the thread.
It's in the beta mods forum.... I think the pal box is posted as a reply to the thread.

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Yeah, and I've released two pal boxes, Forum List Pal and RSS Newsfeed Pal which are both based on the custombox1pal.php script. They also include some code to make it easier to select which custom box it should be used as.

Come to think of it, I actually have a template script with those things included, I'll attach it to this post. Just rename the file to custombox1pal.php or whatever number you want to use it as, and change the config option $custombox in the script to that number.
Attachments
71444-templatepal.txt (0 Bytes, 60 downloads)

Joined: Feb 2003
Posts: 196
Member
Member
Offline
Joined: Feb 2003
Posts: 196
Gardener,

You are pal, thanks a bunch . Hmm now let me see if I can figure this out LOL

Joined: Feb 2003
Posts: 196
Member
Member
Offline
Joined: Feb 2003
Posts: 196
Sorry, but I am totally confused now .

This template file you attached, how am I suppose to add what ever I want so it to show in the Etnrance page?. For example if I want to add a clickable banner as an AD?. Or does it call an html file or something?

Step by step please .

Sponsored Links
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Crap, I hade written a long anser and closed the browser by mistake. Doh!

The idea with the custom pal boxes is to add content to the $TempStorage variable, the rest is taken care of by the other parts of the scripts. Just look for the following portion of the script:

Code
<br />    /*<br />		  Write what ever functions and routines you want and have them store all information<br />		  into the above string for storage to the cache string. The information will be echoed<br />		  out to the browser at the end of this script.<br />    */<br />

Below that you can start adding content to the $TempStorage variable. For example like this:

Code
<br />$TempStorage = <<<CONTENT<br /><br />Add your own content here.<br /><br />CONTENT;<br />


Joined: Feb 2003
Posts: 196
Member
Member
Offline
Joined: Feb 2003
Posts: 196
Thats good, but thats content. What if I want a banner to append or an image which is clickable to another site of my choice. Is it right if I place an html code after the <<<CONTENT? Would it work?

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Yes, that is what I meant. You enter your own content there, just plain html. It will show up as the content of the pal box.

Joined: Feb 2003
Posts: 196
Member
Member
Offline
Joined: Feb 2003
Posts: 196
COOOOOOOL. Now it makes sense . Thanks

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Salim, if you want go to my website and you will see how customboxes can be used for sponsors, partners, affiliates etc. with clickable banners.


Nikos
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)