You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 75 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Paypal block [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
ironhorse
Nuke Soldier
Nuke Soldier


Joined: Dec 10, 2005
Posts: 16


PostPosted: Sat Dec 10, 2005 10:00 am Reply with quoteBack to top

I am trying to make a donation block for my site but I have the html code for the paypal button but when I try putting it into a block it falls over Sad

All I am after doing is to have one like the support block on this site.

Can anyone help please (I am new to php code Sad )

Thanks

Ironhorse
Find all posts by ironhorseView user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Sat Dec 10, 2005 11:09 am Reply with quoteBack to top

Did you search the forum ? Smile

Paypal Block

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
ironhorse
Nuke Soldier
Nuke Soldier


Joined: Dec 10, 2005
Posts: 16


PostPosted: Sat Dec 10, 2005 12:03 pm Reply with quoteBack to top

Thanks for this toolset but I am not sure what I am meant to do as everytime I convert to either php or block and try using it its messing up Sad

Code:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="******************">
<input type="hidden" name="item_name" value="**************">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>


This is the code I am given by paypal, how do I convert it, I know it was said that "The editor will not accept form tags." but can you give is some help on what I am doing please? i dont know which tools to use

Thanks

Ironhorse
Find all posts by ironhorseView user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Sat Dec 10, 2005 4:20 pm Reply with quoteBack to top

Make a block-Paypal.php file using your text/html/php editor with the following code :

Code:

<?php
#### Generated by Block Creator by Astalavista-BD (www.phpnuke-downloads.com) ###
if (eregi("block-Paypal.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content  =  "<center><form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">";
$content  .= "<input type=\"hidden\" name=\"cmd\" value=\"_xclick\">";
$content  .= "<input type=\"hidden\" name=\"business\" value=\"******************\">";
$content  .= "<input type=\"hidden\" name=\"item_name\" value=\"**************\">";
$content  .= "<input type=\"hidden\" name=\"no_note\" value=\"1\">";
$content  .= "<input type=\"hidden\" name=\"currency_code\" value=\"GBP\">";
$content  .= "<input type=\"hidden\" name=\"tax\" value=\"0\">";
$content  .= "<input type=\"hidden\" name=\"bn\" value=\"PP-DonationsBF\">";
$content  .= "<input type=\"image\" src=\"https://www.paypal.com/en_US/i/btn/x-click-but04.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">";
$content  .= "</form></center> ";
?>


Then upload it to your nuke blocks folder an activate the block. Smile

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
bigone
Nuke Cadet
Nuke Cadet


Joined: Apr 17, 2006
Posts: 7


PostPosted: Mon Apr 17, 2006 11:01 am Reply with quoteBack to top

I have a similar problem... Can't figure out how to get a paypal button on my new club membership module home page. I've searched for days for the info... Here's the url: http://www.strivefitness.ca/modules.php?name=Club .

Trying to make it look like this http://www.nukecards.com/modules.php?name=Club

Please help!!!
Find all posts by bigoneView user's profileSend private message
lornaben
Nuke Cadet
Nuke Cadet


Joined: Feb 27, 2005
Posts: 8


PostPosted: Tue Jun 20, 2006 1:35 pm Reply with quoteBack to top

It seems the HTML is getting 'trimmed' by the WYSIWYG editor.

All looks OK until you save it, then most of the code gets 'cleaned'

Try changing whats allowed in config.php
Find all posts by lornabenView user's profileSend private message
Kingmarine
Nuke Cadet
Nuke Cadet


Joined: Feb 13, 2007
Posts: 4


PostPosted: Fri Mar 09, 2007 11:01 pm Reply with quoteBack to top

Hi, I am trying to put two paypal images in one block, one above the other. I made new images for each button, but can't seem to get the code correct. Only one will show up and I can't get them to separate. It always shows the lower section. I copied what was above and tried to paste the same code right below that. I tried all kinds of different ways to separate it and I can't get it to work. Please help. Thx

Kingmarine
Find all posts by KingmarineView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12389


PostPosted: Sat Mar 10, 2007 1:09 am Reply with quoteBack to top

Probably because the first line is
Code:

$content  =


Indicating that it should start the variable $content

Where as all subsequent lines should be
Code:

$content .=

which tells the code to append to the variable $content

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Kingmarine
Nuke Cadet
Nuke Cadet


Joined: Feb 13, 2007
Posts: 4


PostPosted: Sun Mar 11, 2007 7:41 am Reply with quoteBack to top

Thx, it is working like a charm now. Sometimes the smallest things will frustrate you to no end...
Find all posts by KingmarineView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.225 Seconds - 301 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::