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.
Re: Custom island for donations [Re: Jim0421] #262383 02/20/2019 2:11 PM
Joined: Jun 2006
Posts: 15,842
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,842
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?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: 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,842
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,842
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?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
ubb.threads 7.7.3 install error on create tables
by andrewjs18 - 09/17/2019 3:39 AM
Horizontal Image Attachment
by ECNet - 09/11/2019 12:17 PM
user profile, after I click Update nothing happens
by PianoWorld - 09/10/2019 12:38 PM
Inline Image Embeds
by ECNet - 09/03/2019 2:38 PM
Who's Online Now
1 registered members (JAISP), 73 guests, and 325 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.3