>>  Site Map >>  Forums >>  Blocks 6x

Forum module - topics in forum:



Blocks 6x - Discussions regarding PHP-Nuke Blocks.



Donation block..

hey peeps!
Your donation block on your main page,
Does that add the new names when they donate?
And is that particular dowwnload available here?
later!






The block itself is in our download section I believe... however - no - it is manually edited by Dar with those who have donated.




reply...

All ok thanks,
Did you see the greeting at ported mods when you're loged in?
It's either good evening or good morning, depending on the time of day?
Is that around anywhere?
Later




reply...

I noticed something about the donations block, i have one i made myself
and the other block i just downloaded from here.
gs-world.net
On the top right is the one i made, and if you click it, it takes you to the paypal page, with the message:
Payment For: Site improvements: Web space for members to upload their music/productions.
Whick i put in origionally.
If you scroll down, bottom right, thta's the donation block i just installed.
When you click it, it goes to the paypal page, but doesn't display my message "payment for" Shocked ?






You've kind of answered your own question there.....

You created a block with a custom message..... top right....

You added the downloaded one from here.. bottom right.. did you edit this one before upping it?




reply...

Yeh I just added my paypal email and the top and bottom message boxes.
I just dunno why that my message shows in my one and the one i downloaded doesn't show my message.
Maybe i'm not thinking about this properly.






Hi all....

I have just downloaded and installed the Paypal block. It all works fine, except that thre default currency for donations appears to be USD. In my Paypal account it is set to UKPSterling.

I can't seem to see a field in the php file to change the currency.

Can anyone advise ?

Many thanks.






Try

Code: :
<?php

/****************************************************************************/
/* PHP-NUKE: Web Portal System                                              */
/* ===========================                                              */
/*                                                                          */
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)             */
/* http://phpnuke.org                                                       */
/*                                                                          */
/* This program is free software. You can redistribute it and/or modify     */
/* it under the terms of the GNU General Public License as published by     */
/* the Free Software Foundation; either version 2 of the License.           */
/*                                                                          */
/* Donations block to accept money thru PayPal.                             */
/*                                                                          */
/* Scott Rubin - phpnuke id: scottr - http://www.ierealtor.com - 1/2003     */
/* email: scottr2@earthlink.net                                             */
/*                                                                          */
/* This assumes you have already setup an account with PayPal.              */
/* Just change $paypal_email below to your PayPal email address.            */
/*                                                                          */
/*++++***********************************************************************/

if (eregi("block-Donations.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

# Block to accept money thru PayPal

/*******************************************************************/
/* change $paypal_email value to be your paypal email address      */
/* change $top_msg value to display text above the paypal image    */
/* change $bottom_msg value to display text below the paypal image */
/*******************************************************************/
$paypal_email="yourname@your-domain.com";
$top_msg = "";
$bottom_msg = "";

$content = "<br><center>";
$content .= "$top_msg";
$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=\"$paypal_email\">";
$content .= "<input type=\"hidden\" name=\"currency_code\" value=\"GBP\">";
$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>";
$content .= "$bottom_msg";
$content .= "</center><br>";
?>





Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS