vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Add-On Modules & Modifications

 
 
Thread Tools Display Modes
  #1  
Old 05-21-2004, 03:44 PM
cLord's Avatar
cLord cLord is offline
T.A.F.K.A.M.
 
Join Date: Mar 2004
Posts: 124
Default PayPal Module

This will add a PayPal donation module to your CMPS...

In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_paypal".

Insert this code into the template:

Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] PayPal Donations</b></span></td>
</tr>
<tr>
<td class="$getbgrow" align="center">

<span class="smallfont">If you like this website, and would like to give something in return, you can make a donation. Your donation will be used to pay for hosting service, domain, & maintenance costs only!</span>
<br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="you@yourdomain.com">
<input type="hidden" name="item_name" value="Website Support Donation">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<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>
</td>
</tr>
</table>
<br/>
Save the template!

Still in your Admincp - vBa CMPS - Add Module

- Module Title - PayPal
- Module Identifier - Leave blank
- OR Template to Include - paypal
- Activate and select the column you want it in.
- Save and you are done.

Based upon IndyWebDesign's PayPal Donations Block

Have Fun,
cLord

Last edited by cLord; 10-15-2009 at 05:46 AM.
  #2  
Old 05-21-2004, 08:54 PM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: PayPal Module

GREAT - thank you!


You wouldnt be able to port another one from indy would you? the weather hack? http://www.vbadvanced.com/forum/showthread.php?t=494
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #3  
Old 05-23-2004, 07:28 PM
Pam's Avatar
Pam Pam is offline
Junior Member
 
Join Date: May 2004
Posts: 3
Thumbs up Re: PayPal Module

Worked perfectly! Thank you so much for the super easy instructions!!!
  #4  
Old 05-27-2004, 10:34 AM
cLord's Avatar
cLord cLord is offline
T.A.F.K.A.M.
 
Join Date: Mar 2004
Posts: 124
Default Collapsible version...

This will add a collapsible PayPal donation module to your CMPS...

Create a new module called paypal.php (this can be done with notepad)

Insert this code into the PHP file:

Code:
<?php

$collapseobj_paypal = $vbcollapse['collapseobj_paypal'];
$collapseimg_paypal = $vbcollapse['collapseimg_paypal'];

eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('adv_portal_paypal') . '";');

?>
Save & upload the PHP file to your modules dir.

In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_paypal".

Insert this code into the template:

Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
	<thead>
	<tr>
		<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('paypal')"><img id="collapseimg_paypal" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_paypal.gif" alt="" border="0" /></a>
		<span class="smallfont"><strong>$vba_options[portal_blockbullet] PayPal Donations</strong></span></td>
	</tr>
	</thead>
	<tbody id="collapseobj_paypal" style="$collapseobj_paypal">
	<tr>
		<td class="$getbgrow" align="center">
		<span class="smallfont">If you like this website, and would like to give something in return, you can make a donation. Your donation will be used to pay for hosting service, domain, & maintenance costs only!
		<br /><br />
		<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
		<input type="hidden" name="cmd" value="_xclick">
		<input type="hidden" name="business" value="you@domain.com">
		<input type="hidden" name="item_name" value="Website Support Donation">
		<input type="hidden" name="no_note" value="1">
		<input type="hidden" name="currency_code" value="USD">
		<input type="hidden" name="tax" value="0">
		<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>
		<br /><br />
		Anything is appreciated.</span>
		</td>
	</tr>
	</tbody>
</table>
<br />
Save the template!

Still in your Admincp - vBa CMPS - Add Module

- Module Title - PayPal
- Module Identifier - Leave blank
- File to include - Select paypal.php
- OR Template to Include - Leave blank
- Activate and select the column you want it in.
- Save and you are done.

Based upon IndyWebDesign's PayPal Donations Block & Richard's Collapsible Modules Hack

Have Fun,
cLord
  #5  
Old 06-21-2004, 03:15 AM
cosmictej cosmictej is offline
Junior Member
 
Join Date: Jun 2004
Posts: 15
Default Re: PayPal Module

Hi,
Im talking about the 1st hack, I cant seem to get it working, it just wont display it, any help?

doesnt matter done it now thanks

Last edited by cosmictej; 06-21-2004 at 03:17 AM.
  #6  
Old 07-02-2004, 11:26 AM
FleaBag's Avatar
FleaBag FleaBag is offline
Member
 
Join Date: Mar 2004
Posts: 99
Default Re: PayPal Module

Cool little module, cheers.
  #7  
Old 08-17-2004, 02:26 AM
yeowzinyong yeowzinyong is offline
Junior Member
 
Join Date: Jun 2004
Posts: 1
Default Re: PayPal Module

Great.... works like magic... thanks
  #8  
Old 08-19-2004, 10:48 PM
NeroTheWarlord NeroTheWarlord is offline
Junior Member
 
Join Date: Aug 2004
Posts: 25
Default Re: PayPal Module

Thanks cLord...
  #9  
Old 09-24-2004, 04:29 PM
TTG's Avatar
TTG TTG is offline
Senior Member
 
Join Date: May 2004
Posts: 157
Default Re: PayPal Module

Useful and easy to install ... thanks
__________________


  #10  
Old 11-16-2004, 06:17 AM
vtrac vtrac is offline
Junior Member
 
Join Date: Aug 2004
Posts: 14
Default Re: PayPal Module

Thanks!
  #11  
Old 12-29-2004, 06:47 AM
Bubbasmurf Bubbasmurf is offline
Junior Member
 
Join Date: Nov 2004
Posts: 14
Default Re: PayPal Module

Just what I was looking for, Thanks
  #12  
Old 02-01-2005, 11:34 PM
TeamGoFast TeamGoFast is offline
few steps from dangerous
 
Join Date: Nov 2004
Location: Illinois, IL
Posts: 18
Default Re: PayPal Module

just what i was looking for too! thanks
  #13  
Old 02-17-2005, 04:19 PM
Xpulse Xpulse is offline
Junior Member
 
Join Date: Feb 2005
Posts: 9
Default Re: PayPal Module

yea greath hack man. but how can i put my paypal account?
  #14  
Old 02-17-2005, 06:07 PM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: PayPal Module

Quote:
Originally Posted by Xpulse
yea greath hack man. but how can i put my paypal account?

Did you not see this part?

<input type="hidden" name="business" value="you@domain.com">
  #15  
Old 02-26-2005, 04:04 AM
CHIngs CHIngs is offline
Junior Member
 
Join Date: Feb 2005
Posts: 4
Default Re: PayPal Module

How can I add donators to a certain group, like say "Donators", as soon as they make a donation?
  #16  
Old 03-13-2005, 08:15 AM
n1ckn4me n1ckn4me is offline
Junior Member
 
Join Date: Jan 2005
Posts: 18
Default Re: PayPal Module

got it! nice work!!

(included pay, donate & buy buttons for the ones that speak Dutch )
Attached Images
File Type: gif betaal_paypalNL_btn.gif (1.6 KB, 1625 views)
File Type: gif doneer_paypalNL_btn.gif (1.0 KB, 1622 views)
File Type: gif koop_paypalNL_btn.gif (1.6 KB, 1616 views)

Last edited by n1ckn4me; 03-13-2005 at 08:35 AM.
  #17  
Old 03-13-2005, 08:34 AM
n1ckn4me n1ckn4me is offline
Junior Member
 
Join Date: Jan 2005
Posts: 18
Default Re: PayPal Module

Felt guilty and made the buttons real quick in english for you to enjoy
Attached Images
File Type: gif pay_paypalENG_btn.gif (1.6 KB, 1619 views)
File Type: gif donate_paypalENG_btn.gif (1.6 KB, 1618 views)
File Type: gif buy_paypallENG_btn.gif (1.6 KB, 1615 views)
  #18  
Old 03-26-2005, 10:03 AM
ncangler's Avatar
ncangler ncangler is offline
Senior Member
 
Join Date: Dec 2004
Posts: 299
Default Re: PayPal Module

cLord, Thank you so much for creating this. It is most appreciated.
__________________
NCangler
  #19  
Old 03-30-2005, 12:42 AM
sunnycher sunnycher is offline
EEEK! I broke it again!
 
Join Date: Feb 2005
Location: AL
Posts: 183
Default Re: PayPal Module

Quote:
Originally Posted by CHIngs
How can I add donators to a certain group, like say "Donators", as soon as they make a donation?
I'd like to know this also! I'm looking for one that is more toward paid subscriptions, once they are a paid member, it will automatically add them
to that membership group.

Any ideas?
  #20  
Old 04-05-2005, 02:24 PM
Cyricx Cyricx is offline
Junior Member
 
Join Date: Jun 2004
Posts: 25
Default Re: PayPal Module

VBulletin has a default function for paid subscriptions and paypal.

It'll move them into the usergroup and everything.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quote It Module Acido Add-On Modules & Modifications 33 01-28-2006 12:54 PM
Top (10) Posters Module Acido Add-On Modules & Modifications 69 10-08-2005 09:20 AM
How to add a new module Zedd Add-On Modules & Modifications 6 12-13-2004 11:35 PM
[Suggestion] Option needed when adding module to Homepage bluesteel Feedback & Suggestions 3 05-20-2004 08:34 PM
Page or Module? poseidon Troubleshooting / "How do I..." Questions 2 05-20-2004 11:43 AM


All times are GMT -4. The time now is 10:54 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.