Previous Thread
Next Thread
Print Thread
Rate Thread
#273148 05/09/2004 11:28 AM
Joined: Feb 2003
Posts: 36
jma
Offline
User
User
Offline
Joined: Feb 2003
Posts: 36
Can I get advice on how to include a form (my PayPal donate button) into a custom pal box (php)?
Thanks in advance.
Joe.

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Try something like this only replace your php button info with yours as I did mine here

<?
// Integrated Index Page (IIP) Version 5.4 (October 4, 2003)
// Updated to work with UBB.Threads ver 6.4 by Joshua Pettit - www.joshuapettit.com
//
// Copyright David Lozier 2002-2003. All Rights reserved.
//
// This software may be used and modified freely providing:
// 1. The copyright notice remains intact at the head of all files.
// 2. The copyright notice and link to my personal website is
// displayed at the bottom of all pages generated by the software.
//
// This software may NOT be distributed without expressed written
// consent from the author.
//
// The author accepts no liability for any loss or damages whatsoever
// incurred directly or indirectly from the use of this software.
// The author of this software makes no claims as to its fitness for
// any purpose whatsoever. If you wish to use this software you
// should first satisfy yourself that it meets your requirements.
//
// Email: [][email protected][/]
// URL: http://www.chattersonline.com


echo <<<UBBTPRINT

$tbopen
<tr>
<td align="left" class="tdheader">
Paypal Donation
</td>
</tr>
<tr>
<td align="center" class="lighttable">
<p align="center">
<a href="https://www.paypal.com/xclick/business=admin%40reeftalk.com">
<img src="https://www.paypal.com/images/x-click-but04.gif" alt="paypal" border="0" />
</a>
</p>
</td>
</tr>
$tbclose
<br />

UBBTPRINT;

?>

Joined: Feb 2003
Posts: 36
jma
Offline
User
User
Offline
Joined: Feb 2003
Posts: 36
Thanks Chuck, but I'm not sure if I got it right. The code I am working with in custombox3pal.php looks like this:

$TempStorage .= "Make a donation and help support this site. Click the DONATE button on the top right of any page. Any and all is greatly appreciated.";

I want to replace the "Click the DONATE" text with my donate button, which is on my generic header and works fine. Can the code you showed me work here? Thanks.
Joe.


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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)