1
script_fu
Can anyone design a Zoullou.net style donation module?

I have a new site that I want to set up a donation module.

Is there anything like
Zoullou's setup?

How hard would this be?

2
script_fu
Re: Can anyone design a Zoullou.net style donation module?

bump

3
christian
Re: Can anyone design a Zoullou.net style donation module?
  • 2007/7/19 11:22

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


Hi,

Look this page

After you can create a php file with this code below and the code attached to paypal button

if (file_exists("mainfile.php")) {
    include(
"mainfile.php");
}
elseif(
file_exists("../mainfile.php")) {
    include(
"../mainfile.php");
}
else {
    include(
"../../mainfile.php");
}
include(
XOOPS_ROOT_PATH "/header.php");
$xoopsTpl->assign('xoops_showrblock'0); // 1 display right blocks
$xoopsTpl->assign('xoops_showlblock'0); // 1 display right blocks
///////
echo "Your code";
///////
include(XOOPS_ROOT_PATH "/footer.php");
?>

4
script_fu
Re: Can anyone design a Zoullou.net style donation module?

Hi Christian,

Thank you for the code.

Is there a way to set it up like zoullou's.

I mean his "graphics" for 'specfic tasks" with a dollar amount. So the community will know how much it will cost to code this feature or that.

5
Northern
Re: Can anyone design a Zoullou.net style donation module?
  • 2007/7/19 17:10

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


Heres a sideways paypal. block.

if (file_exists("mainfile.php")) {
    include(
"mainfile.php");
}
elseif(
file_exists("../mainfile.php")) {
    include(
"../mainfile.php");
}
else {
    include(
"../../mainfile.php");
}
include(
XOOPS_ROOT_PATH "/header.php");
$xoopsTpl->assign('xoops_showrblock'0); // 1 display right blocks
$xoopsTpl->assign('xoops_showlblock'0); // 1 display right blocks
?>



 
                        
                        Name
                        
                        
                        Say what you need to say.  
                        
                        
                        What do you get? 
                        
                        $0.00 
what will it cost you?

                        
                          
                            
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              


                              
                              
                              
                              
                              
                              
                              
                              


                            
                          

  
                      
                      
include(XOOPS_ROOT_PATH "/footer.php");
?>


or you can make one like Zoullou's

if (file_exists("mainfile.php")) {
    include(
"mainfile.php");
}
elseif(
file_exists("../mainfile.php")) {
    include(
"../mainfile.php");
}
else {
    include(
"../../mainfile.php");
}
include(
XOOPS_ROOT_PATH "/header.php");
$xoopsTpl->assign('xoops_showrblock'0); // 1 display right blocks
$xoopsTpl->assign('xoops_showlblock'0); // 1 display right blocks
?>



Name of item :
discribe the item that you are selling or that needed dontated and why.


$30
$20



Click below to vote
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              


                              
                              
                              
                              
                              
                              
                              
                              


                            



include(XOOPS_ROOT_PATH "/footer.php");
?>


Need more?
I can doo these all day long, LOL

Havent tested them, but they should be plug and play for xoops.

6
Northern
Re: Can anyone design a Zoullou.net style donation module?
  • 2007/7/19 17:39

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


I just relaised i added a thankyou.php direction in the paypal scripts.

for those people that have paid services and would only like users that pay for a subscriptin to a page, this is ideal for that setup.

<input type="hidden" name="return" value="http://www.yoursite.com/signup_thanks.php">
                              


you can change this to what ever page you like.
now you will have to ajust the permissions of your site for user access, but you should beable to figure out the rest.

7
script_fu
Re: Can anyone design a Zoullou.net style donation module?

Thank Northern!

You Rock...

I will give this a run on the garage site after it hits my dev first. I think this will help alot.

I will let you guys know how it worked out.

Very cool...

8
Northern
Re: Can anyone design a Zoullou.net style donation module?
  • 2007/7/20 0:12

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26



9
script_fu
Re: Can anyone design a Zoullou.net style donation module?

Well I would say you are on the money! lol...

Hey what about the mini donation on the front page of zoullou's site?

He has it setup so everyone can see mini donation then you click on it and it goes to full page like what you have setup.

This is awesome thank you!

10
Northern
Re: Can anyone design a Zoullou.net style donation module?
  • 2007/7/20 5:16

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


for that youll need to go to Paypal.
That type of mini donation uses a coded section.
and it contains all the need to know things.

you can get that from this link.
https://www.paypal.com/us/cgi-bin/webscr?cmd=_wp-standard-overview-outside
unless you have a account then just hit murchents, and donation, its a step by step thing.

Login

Who's Online

353 user(s) are online (276 user(s) are browsing Support Forums)


Members: 0


Guests: 353


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits