Previous Thread
Next Thread
Print Thread
Hop To
Custom island for donations #262382 02/20/2019 2:07 PM
Joined: Jan 2019
Posts: 4
Jim0421 Offline OP
Stranger
OP Offline
Stranger
Joined: Jan 2019
Posts: 4
I'm trying to set up a custom island for a paypal button for donations. I can't get it to show up. Feeling stupid. I definitely Have a lot more to learn. I get the iland name showing up but the paypal button isn't there. I know I'm lacking some thing here but can't seem to find anything telling me what. frown

?><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="C5N2AZSRKYZ4L" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>

?>


I know a lot of stuff about a lot of things BUT I still have a lot to learn.
Express Hosting
Re: Custom island for donations [Re: Jim0421] #262383 02/20/2019 2:11 PM
Joined: Jun 2006
Posts: 15,834
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,834
Looks like you stripped out some required code (you have no $body); your island should look like:
Code
/* PHP CODE HERE, IF NECESSARY */

/* DO NOT CHANGE THE LINE BELOW */
$body = <<<EOF

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="C5N2AZSRKYZ4L" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>

EOF;
/* DO NOT CHANGE THE LINE ABOVE */


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade? [virtualnightclub.net]
Forums: A Gardeners Forum [agardenersforum.com] Scouters World [scoutersworld.com]
UBB.threads: UBBWiki [ubbwiki.com], UBB Styles [virtualnightclub.net], UBB.Sitemaps [virtualnightclub.net]
Longtime Supporter & Resident Post-A-Holic
VNC Web Services [virtualnightclub.net]: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Custom island for donations [Re: Jim0421] #262385 02/20/2019 2:44 PM
Joined: Jan 2019
Posts: 4
Jim0421 Offline OP
Stranger
OP Offline
Stranger
Joined: Jan 2019
Posts: 4
OK This is what I find if I open another un edited Body box. I didn't have all the do not edit stuff. I copied and pasted from your reply and it works fine.. I really am trying to learn this stuff I hate to bother people but I don't want to mess up my forum Again. (did it once already) Greatly appreciate all your help. Is there some thing different I would do with what I have here? Where would i insert the paypal code Just after the first line? I have version 7.6.2



/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF

EOF


I know a lot of stuff about a lot of things BUT I still have a lot to learn.
Re: Custom island for donations [Re: Jim0421] #262386 02/20/2019 2:48 PM
Joined: Jun 2006
Posts: 15,834
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,834
Yes, the stock boxes have different comments than those generated by the system (if you "create a new custom island" it'll generate code as I specified); the end coding is still the same, with this still being where HTML coding (the body of your Custom Island) goes
Code
$body = <<<EOF

EOF


Comments in the stock islands in the stock package will be updated in a future release to reflect the comments from when the system generates a new Custom Island, but this will only affect new installs (as a basic upgrade step is to not upload the cache_builders/custom folder).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade? [virtualnightclub.net]
Forums: A Gardeners Forum [agardenersforum.com] Scouters World [scoutersworld.com]
UBB.threads: UBBWiki [ubbwiki.com], UBB Styles [virtualnightclub.net], UBB.Sitemaps [virtualnightclub.net]
Longtime Supporter & Resident Post-A-Holic
VNC Web Services [virtualnightclub.net]: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Additional Community Resources
UBB Developers
UBB Wiki
ShoutChat Box
Recent Topics
Error Messages - What to do???
by Daryl Fawcett - 06/20/2019 9:05 AM
Forum - Left Alignment / Margin?
by keysolutns - 06/19/2019 9:58 AM
Forum Not Working after Cpanel upgrade.
by doug - 06/14/2019 2:35 PM
YouTube does not display?
by BlackMale - 06/09/2019 6:34 AM
Removing a redirect?
by Baldeagle - 06/01/2019 4:50 PM
Who's Online Now
1 registered members (isaac), 40 guests, and 302 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
PianoWorld
PianoWorld
Parsonsfield, Maine (U.S.)
Posts: 97
Joined: October 2008
Show All Member Profiles 
Forum Statistics
Forums35
Topics35,303
Posts192,585
Members11,855
Most Online978
Jun 24th, 2007
Random Gallery Image
Latest Photos
Land Rocks
Cozy Places
Trees
Retreats
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190623)