Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Paypal Module (dropdown) On vBa CMPS Details »»
Paypal Module (dropdown) On vBa CMPS
Version: 1.00, by DementedMindz DementedMindz is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.7 Rating:
Released: 01-13-2006 Last Update: Never Installs: 94
 
No support by the author.

This is fairly simple to install ill post the code incase the module dont work. but before i go any further i would like to thank derekivey for helping me out on this... so here is a image to show you how it looks... and i am trying to explain this as best as i can and make it as simple as i can... keep in mind you can change the image by going to paypal and chose another one of there images


make a new template named it adv_portal_paypal
and in that template add this code...


Code:
<tr>
 <td class="$bgclass">
<div 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, And Maintenance Costs Only!</span></div>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
  <div align="center">
  <input type="hidden" name="cmd" value="_xclick" />
  <input type="hidden" name="business" value="youremail@whatever.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" />
    $ 
  <select name="amount">
    <option value="1.00">1.00</option>
    <option value="2.00">2.00</option>
    <option value="3.00">3.00</option>
    <option value="4.00">4.00</option>
    <option value="5.00">5.00</option>
    <option value="10.00">10.00</option>
    <option value="20.00">20.00</option>
    <option value="25.00">25.00</option>
    <option value="50.00">50.00</option>
    <option value="100.00">100.00</option>
  </select>
  </div>
<br />
<br />
<div align="center"><span class="smallfont">Select Your Donation Amount And Then Press The Donate Button.</span></div>
<br />
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<br />
   <div align="center"><input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" alt="Make payments with PayPal - it's fast, free and secure!" /><br /><br /></div></fieldset>
   </form>
  </td>
</tr>

in the code make sure you change youremail@whatever.com to your email...

then add a module, you want to add a Template Module

and in the module settings add this

Module Title: Donations
Template to Include: adv_portal_paypal
Use Module Shell Template : yes
Title Row Colspan: 1
and set your Usergroups to what ever you want

hope this helps and if any one wants to edit the code or make it easier to install feel free.

it is 100% html complaint. please let me know if you have any problems

*******************
3/12/05
changed the code a bit also made a module where they can input the donation amount...
*******************


New Module Code
*******************


Code:
<tr>
 <td class="$bgclass">
<div 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, And Maintenance Costs Only!</span></div>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
  <div align="center">$
  <input type="text" name="amount" size="6" value="5.00" />
  <input type="hidden" name="cmd" value="_xclick" />
  <input type="hidden" name="business" value="youremail@whatever.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" />
  </div>
<br />
<br />
<div align="center"><span class="smallfont">Select Your Donation Amount And Then Press The Donate Button.</span></div>
<br />
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<br />
   <div align="center"><input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" alt="Make payments with PayPal - it's fast, free and secure!" /><br /><br /></div></fieldset>
   </form>
  </td>
</tr>

the second code allows users to input there donation amout and is installed the same.....


*******************
Future Plans:
would like to set it up to track the donations via Paid Subscriptions
*******************

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 04-11-2006, 07:47 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="Lime">~Ziki clicks install and can finaly receive money</font>
Reply With Quote
  #53  
Old 05-13-2006, 06:57 AM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any reason that this wont show in my VBA page after an install ? Its showing on the admin cp and i tried moving it to different columns - I only just installed VBAdvanced myself so im not 100% sure on how it all works yet , but from what i can see the module is installed and the templates are there and it is active , but its still not showing on the main page for me :s
Reply With Quote
  #54  
Old 05-13-2006, 11:53 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you set the usergroup permissions for the module?
Reply With Quote
  #55  
Old 05-30-2006, 10:50 AM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!

Thanks a lot
Reply With Quote
  #56  
Old 06-27-2006, 08:45 PM
clearchannel clearchannel is offline
 
Join Date: Nov 2001
Location: Ft Lauderdale, Florida
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a stupid question. My donations are trying to add a shipping charge. I guess this has to do with paypal?
Reply With Quote
  #57  
Old 06-27-2006, 08:47 PM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how are they adding a shiping charge when someone donates? please click install also..
Reply With Quote
  #58  
Old 06-28-2006, 12:08 AM
clearchannel clearchannel is offline
 
Join Date: Nov 2001
Location: Ft Lauderdale, Florida
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's how to fix the problem. Between the form tags, add the discolored code:

Code:
<input type="text" name="amount" size="6" value="$0.00" />
  <input type="hidden" name="cmd" value="_xclick" />
  <input type="hidden" name="business" value="domain@yours.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="hidden" name="shipping" value="0.00">
  <input type="hidden" name="shipping2" value="2.00">
This will override shipping that you may charge for items actually sold on your site.

I changed the value from 5.00 bucks to zero so people don't think I'm looking for a 5 buck donation, your welcome to change it to whatever you want.

I clicked install moments after my last post.
Reply With Quote
  #59  
Old 06-28-2006, 01:16 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry i wasnt sure what you ment i thought you ment when they donated they were being charged shipping.. do you run vbadvanced?
Reply With Quote
  #60  
Old 06-28-2006, 10:35 AM
evesve evesve is offline
 
Join Date: Jul 2005
Location: Sweden
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a template with "WebTemplates 3.5.x: VB Integrated CMS (Content Management System)"
Perfect for us without vBa! Works Fine!
Reply With Quote
  #61  
Old 06-29-2006, 09:46 PM
clearchannel clearchannel is offline
 
Join Date: Nov 2001
Location: Ft Lauderdale, Florida
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DementedMindz
sorry i wasnt sure what you ment i thought you ment when they donated they were being charged shipping.. do you run vbadvanced?
Yes, I have this installed on my vbadvanced cmps page.

I got this directly from the paypal site
Quote:
Shipping will only be applied to all PayPal Shopping Cart Purchases, Buy Now Buttons, and Donations. Shipping will not be applied to payments made with PayPal Subscriptions and Recurring Payments, Winning Buyer Notification, or Instant Purchase (for eBay listings).
When I installed the code, and attempted to make a test donation, it added 10% of the donation in shipping costs. I guess you could omit the two lines of code I provided, and get an extra dime for every dollar donated....LOL
Reply With Quote
Reply


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


All times are GMT. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04670 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete