Portal Themes, PHPnuke Themes and PostNuke themes Themes Home Page Profile Free Nuke theme Downloads Nuke theme Support Forums Nuke Themes Store
spacer image spacer image
Featured
Call of Duty 4 Nuke Theme

Call of Duty 4 Nuke Theme

Call of Duty 4 PHPNuke Theme, Call of Duty 4 PostNuke Theme, Call of Duty 4 Evo Theme, Call of Duty ...

$19.95
Enter Store ]
spacer image
Main Menu
spacer image
Site Status
spacer image Welcome Guest
Join us!
spacer image
spacer imagespacer imagespacer image
spacer image
Registration is free and gives full access to site
spacer image
spacer image Register
spacer image Login:
User:

spacer image
Password:

spacer image
Remember me
spacer image
spacer imageMembers:
Last: Today New:0
Last: Yesterday:1
Last: Total:6887
Last: Last:
michellezum
Members: Online
Members: Members:0
Guests: Guests:14
Total: Total:14
spacer image Online Members
No online members
spacer image
Past News
Older articles
spacer image


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
PaulOffline
Post subject: paypal button  PostPosted: Sep 21, 2006 - 11:47 PM



Joined: Sep 19, 2006
Posts: 10

Status: Offline
im having trouble trying to add a paypal button to my site. i have created a block and pasted the html into the editor, but the only thing that shows up is a small block with the text i have entered. any help would be greatly appreciated.
thank you
 
 View user's profile Send private message  
Reply with quote
marsOffline
Post subject: RE: paypal button  PostPosted: Sep 21, 2006 - 11:56 PM
Site Admin


Joined: Aug 15, 2004
Posts: 3867

Status: Offline
Can you post the code you are using?
 
 View user's profile Send private message  
Reply with quote
PaulOffline
Post subject: RE: paypal button  PostPosted: Sep 22, 2006 - 12:07 AM



Joined: Sep 19, 2006
Posts: 10

Status: Offline
this is the html from paypal

Code:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<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!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN  PKCS7-----
">
</form>
 
 View user's profile Send private message  
Reply with quote
marsOffline
Post subject: RE: paypal button  PostPosted: Sep 22, 2006 - 12:14 AM
Site Admin


Joined: Aug 15, 2004
Posts: 3867

Status: Offline
Ok now can you post a link to the site so I can see what it is doing?
 
 View user's profile Send private message  
Reply with quote
PaulOffline
Post subject:   PostPosted: Sep 22, 2006 - 12:21 AM



Joined: Sep 19, 2006
Posts: 10

Status: Offline
the


Last edited by Paul on Sep 23, 2006 - 05:00 AM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote
marsOffline
Post subject:   PostPosted: Sep 22, 2006 - 03:08 AM
Site Admin


Joined: Aug 15, 2004
Posts: 3867

Status: Offline
It looks like PHPNuke is stripping the tags, Try it this way
Code:

<?php
if (eregi("block-Donations.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content  =  "Help  keep our web site online with a donation!";
$content  .= "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=\"My email\">";
$content  .= "input type=\"hidden\" name=\"item_name\" value=\"My Homepage\">";
$content  .= "input type=\"hidden\" name=\"amount\" value=\"10.00\">";
$content  .= "input type=\"hidden\" name=\"no_note\" value=\"1\">";
$content  .= "input type=\"hidden\" name=\"currency_code\" value=\"USD\">";
$content  .= "input type=\"hidden\" name=\"tax\" value=\"0\">";
$content  .= "input type=\"image\" src=\"https://www.paypal.com/images/x-click-but04.gif\"
              border=\"0\" name=\"submit\"
              alt=\"Make payments with PayPal - it"s fast, free and secure!\">";
$content  .= "/form>";
?>


Put the above code in a file called block-Donations.php in the blocks folder. Then, just activate and position the block from the blocks management link in the administration panel.
 
 View user's profile Send private message  
Reply with quote
PaulOffline
Post subject:   PostPosted: Sep 22, 2006 - 03:46 AM



Joined: Sep 19, 2006
Posts: 10

Status: Offline
the file blocks-donations.php doesnt exist in my block files. i also created a players block and that file is not in my blocks folder.

I copy and paste to notepad and saved as block-Donations.php and add
to blocks folder, and still nothing
 
 View user's profile Send private message  
Reply with quote
GodOfWondersOffline
Post subject:   PostPosted: Sep 28, 2006 - 08:16 PM



Joined: Aug 20, 2004
Posts: 161

Status: Offline
Paul if your using PHP-Nuke I suggest using a module called Nuke Treasury. It allows you to integrate a paypal button into PHP-Nuke and also keeps track of donations through your database and allows you to post donaters and keep track of donations on your site. Here is the d/l link: Nuke Treasury
 
 View user's profile Send private message Send e-mail  
Reply with quote
Display posts from previous:     
Jump to:  
All times are GMT - 5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits
spacer image spacer image
Savings | Free Ringtones | Mortgage | Ringtone | Montana Music | Internet Marketing

Welcome to www.PortalThemes.com, Your #1 Source for

Zikula Themes

,

PHP-Nuke themes

,

MD-Pro Themes

,

Nuke Evolution Themes

,

Platinum Nuke Themes

,

Xanthia Themes

,

AutoThemes and

Joomla Templates
World of Warcraft and Blizzard Entertainment are all trademarks or registered trademarks of Blizzard Entertainment in the United States and/or other countries. These terms and all related materials, logos, and images are copyright Blizzard Entertainment. This site is in no way associated with or endorsed by Blizzard Entertainment
SiteMap SiteMap 2 SiteMap 3