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

Reply
 
Thread Tools
Cyb - PayPal Donate Details »»
Cyb - PayPal Donate
Version: 4.8.2, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 01-09-2009 Last Update: Never Installs: 1202
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

Info:
Advanced PayPal Donate system for vBulletin.


Features:
-Allow users to donate suggested or custom amounts, or both
-Set minimum amount accepted
-Set currency
-Block usergroups from using Donate system
-Donations list
-Subscriptions (for Business/Premier PayPal Accounts)
-Donation Bar
-Mark donations as confirmed/unconfirmed
-Delete donations
-Move or add confirmed donators to your VIP/Donator usergroup
-Donate statistics (total donations, total amount, numbers of confirmed/unconfirmed donations)
-Block usergroups from viewing Donations or statistics details
-Add donations manually
-Edit donations
-PM reports

See screenshots for more details...


Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]

2. OPTIONAL (for some customized styles)
Open template "navbar" and add "$cyb_paypal_donate_link" after "vbphrase[user_cp]</a></td>" surrounded by proper TD tags
3. OPTIONAL (for some customized styles)
Open template "navbar" and add "$cybpaypal_donlist_link" after "vbphrase[miscellaneous]</td></tr>" surrounded by proper TD/TR tags
4. OPTIONAL (to put DonBar to desired page)
a) set THIS_SCRIPT option in hack settings
b) Open desired template and put "$cybpaypal_donbar" where you wish to have Donation Bar shown


To set options:
Go to your AdminCP > vBulletin Options > Cyb - PayPal Donate


To enable in vBa CMPS:
https://vborg.vbsupport.ru/showthrea...02#post1693202


Versions:
v1.0 - Oct 13. 2005.
- First Release
v1.5 - Nov 28. 2005.
- Added 5th donate option
- Added option to donate custom ammount (as 6th option - can be enabled/disabled in AdminCP)
v2.0 - Apr 20. 2006.
- All known bugs fixed
- Layout and functionality improved
- Some options and settings added (check updated screenshots)
v2.1 - Apr 22. 2006.
- Typo fixed ("bellow" > "below")
- Fixed little error on donations page
- Added option to turn system on or off
- Predefined error message is displayed to users when system is disabled
- Templates now goes to "Cybernetec" group in Style Manager
v2.2 - Jun 03. 2006.
- Uncached template bug fixed
v2.5 - Jul 30. 2006.
- No more file uploads
- Donate options are now opened below navbar when "Donate" link is clicked
- Two plugins removed
- Codes improved
v2.6 - Jul 30. 2006.
- Now "Donate" box can be opened from any page
Link is shown always, not only on forumhome like in v2.5.
v2.7 - Jul 30. 2006.
- Fixed bug with donate form (conflict with several vB forms)
v2.8 - Aug 04. 2006.
- Release of this hack for vB v3.6
v2.9 - Aug 06. 2006.
- Added option to Show/Hide navbar link
- Now you can link to donate system from thread or portal or another site,... (index.php?do=donate)
v3.0 - Aug 25. 2006.
- If your forum's index.php file was renamed, for any reason, now you can enter new filename in ACP hack options to have this hack working properly
- Added "Product Version Checking" - https://vborg.vbsupport.ru/showthread.php?t=124679
v3.1 - Mar 03. 2007.
-New: Usergroup-based permissions (set who can use donate system)
-Fix: Guests now can see Donate link in NavBar (if usergroup 1 is not blocked in above function)
-New: Added Subscriptions (durations adjusted in ACP, can be disabled)
-New: Changed from "index.php?do=donate" to "misc.php?do=donate" (Update your custom links!))
-New: Unlimited number of donate options (list amounts in one line, separate with commas)
-Few other functionality and make-up changes...
v3.2 - Mar 04. 2007.
-New: Added text field to enter custom values when Custom is chosen in menu. Otherwise this field is hidden.
-New: Set minimum amount accepted
-New: Unit of time for "Subscriptions time periods" changeable (d, w, m, y)
-New: BB Codes enabled for "Donate Box Note" (smilies, easy text formatting etc...)
-New: Currencies switcher in ACP (easier way to choose your currency)
-Fix: Using "1" in "Subscriptions time periods" disabled (you can not subscribe for 1x and this will give you error at PayPal)
-Few code changes for better compatibility with different server/board configurations
v3.3 - Mar 07. 2007.
-Fixed NavBar link
v3.4 - Mar 14. 2007.
-Fixed bug (if Subscriptions disabled donate amount info not sent properly)
-Improved compatibility with Right to Left direction styles
v3.5 - Apr 28. 2007.
-New: Donator list
-Options to choose which usergroups can see the list of Donators
-List updated automatically on new donations but new item is visible to administrators only
-Admin can mark donation as confirmed, unconfirmed, or delete it
-Admin can manually add Donators to list
-"Display Options" allows you to sort donators by username, donation date, or donation amount, and choose sort order
-Javascript code on Donate page improved
v3.6 - Jun 02. 2007.
-Total/unconfirmed donations info
-Edit donation
-Quick confirm/delete donation
-Option to change background color for unconfirmed donations
-Changeable values are underlined for administrators
-To change any value just type over it and hit Update
v3.7 - Jun 03. 2007.
-Fixed Unconfirmed counter
-Fixed text color in dark styles
v3.8 - Jun 04. 2007.
-Added option to sort donations by confirmation status
-IP address shown instead of username for unknown donators (viewable to admins only)
-Admin have option to resolve unknown donator IP address into hostname
-Added "Donate Statistics" block into drop-down menu
-Added confirmed donations count
-Added total amount info
-Added option to choose which stats users can view (admins can view all)
v3.9 - Jun 10. 2007.
-Fixed tab indexes in "add new donator"
-Fixed listing for users with unknown both username and ip
-Added options to confirm/unconfirm/delete multiple items
-Group membership checking works now for supplementary usergroups too, not only primary one
-Currency list updated to support all currencies currently accepted by PayPal
-Added option to disable suggested amounts and use just input field instead of drop-down menu
v3.9.1 - Jul 23. 2007.
-Fixed security exploits
v4.0 - Aug 9. 2007.
-New: Option to move donator to your Donator/VIP usergroup
-New: Added page navigation to donation list page
-New: Option to disallow non-administrators to view amounts on donation list page
v4.1 - Aug 21. 2007.
-New: PM Reports (any of these can be enabled/disabled):
*Send PM to user after donating
*Send PM to user when donation is confirmed
*Send PM to user when donation is confirmed (manually added donations)
*Send PM notices to Staff when someone uses Donate system
v4.2 - Sep 30. 2007.
-New: Confirmation dialogs before performing actions on Donations page
-New: After completing the payment at PayPal.com user is redirected to your "Thank you" page (message = phrase [cybpaypal_thanks])
-New: Choose if you wish to move or add confirmed donator to your VIP/Donator usergroup
-New: Option to choose to load PayPal login/donate form in current or new browser window/tab
-New: Sort donations by usergroupid
-Subscription options removed (I will not support this anymore so please keep old version if you really need subscriptions)
-General cleanup, known bugs fixes, optimization...
--Save content of "Donate Page - Note" setting field before upgrade (you'll need it to update [cybpaypal_note] phrase later)
v4.3 - Oct 18. 2007.
-Fixed bug with permissions (now admin's primary usergroup must not be 6 to be able to confirm/unconfirm/delete donations)
-Added option to disable BB codes in Donate Note (when BB is disabled then you can use HTML)
-Some minor bug fixes
v4.4 - Dec 10. 2007.
-New: Switch date format (d-m-y or m-d-y)
-New: Add your site logo to PayPal login/donate page
-New: Donation bar
-Fixed problem where some users get a shipping charge
v4.5 - Apr 30. 2008.
-CSRF protection added
-Compatible with vBulletin 3.7 Gold (may not work with Beta/RC releases)
-Minor bugs fixed
v4.6 - Jul 25. 2008.
-Fixed bug (sorting wrong on donation list when switched to next page)
-Fixed bug (unconfirmed/confirmed info disappears on donation list when switched to next page)
-Fixed bug (wrong # values shown to non-admins on the first page of donation list)
-Fixed bug ('Donate Now' in Donation Bar not hidden when already on Donate page)
-New: option to change "Donate" navbar link color, or set it to style default
-New: amounts must not be 5,10,200 anymore, but also can be 5.5,10.5 etc...
-New: Subscriptions (I added this again, but much better implemented this time)
-Many other bug fixes/improvements
v4.7 - Jul 27. 2008.
-Fixed bug ("Minimum amount allowed..." message appears unexpectedly)
-New: Option to set which day in month Donation Bar resets
-Some minor bugs fixed
v4.8 - Oct 19. 2008.
-New: Ability to disable donations temporarily (means system is on but new donations are not accepted)
-New: Donation Bar Menu (with links to Donate page, Donation List, Admin Options)
-Fixed "not accepted amount" bug
-Fixed bug where subscriptions are not logged properly on Donation List
-Minor bug fixes/code improvements
v4.8.1/4.8.2 - Dec 29. 2008.
- Security fix/subscriptions bug fix


If you like this hack please click INSTALL.

Download Now

File Type: zip Cyb - PayPal Donate v4.8.2.zip (18.4 KB, 6060 views)

Screenshots

File Type: jpg donate.jpg (13.5 KB, 0 views)
File Type: jpg donate2.jpg (19.0 KB, 0 views)
File Type: jpg donatewait.jpg (20.1 KB, 0 views)
File Type: jpg donbar.jpg (22.9 KB, 0 views)
File Type: jpg donlist_ql.jpg (34.7 KB, 0 views)
File Type: jpg menu.jpg (42.5 KB, 0 views)
File Type: gif sorry_minimum.gif (6.0 KB, 0 views)
File Type: jpg acp.jpg (86.3 KB, 0 views)
File Type: jpg adminoptions.jpg (37.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
bradleyj

Comments
  #172  
Old 06-06-2009, 04:20 PM
kapoor22 kapoor22 is offline
 
Join Date: Jan 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

---------------------------------------------------------------------------------------------------------------------------------------------------
DISCLAIMER - If you decide to use this information, use it at your own risk. There are no gurantee or assurance if this would work in your environment. It may end up screwing up your vbulletin or website environment, partially and/or fully. USE IT AT YOUR OWN RISK
---------------------------------------------------------------------------------------------------------------------------------------------------

Here is how I was able to fix the problem of recurring subscription payment with this Mod -

AFTER UNZIPPING THE DOWNLOADED FILE, I LOOKED FOR FILE CybPayPalDonate.xml. SEARCHED AND REPLACED THIS -

Code:
	$cybpp_get_amount = explode('|', $vbulletin->GPC['amount']);
	$cybpp_ppurl = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions';
	$cybpp_ppurl .= '&a3='.$cybpp_get_amount[0];
	$cybpp_ppurl .= '&p3='.$cybpp_get_amount[1];
	$cybpp_ppurl .= '&t3=M';
	$cybpp_ppurl .= '&no_note=1';

WITH -

Code:
	$cybpp_get_amount = explode('|', $vbulletin->GPC['amount']);
	$cybpp_ppurl = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions';
	$cybpp_ppurl .= '&a3='.$cybpp_get_amount[0];
	$cybpp_ppurl .= '&p3=1';
	$cybpp_ppurl .= '&t3=M';
	$cybpp_ppurl .= '&no_note=1'; 
	$cybpp_ppurl .= '&src=1';
	$cybpp_ppurl .= '&srt='.$cybpp_get_amount[1];
	$cybpp_ppurl .= '&sra=1';

After saving the changes in CybPayPalDonate.xml, I logged-on to VB Admin Control Panel
Plugins & Products > Manage Products > [Add/Import Product]
Browse and select the modified CybPayPalDonate.xml
Select the radio button - YES - for "Allow Overwrite" VERY IMPORTANT
Click 'IMPORT'

I backed up the table vb_cybppdonate, templates cyb_paypal_donbar and cyb_paypal_donate (since I had customizations), but none of this was not necessary for my environment.

I used the following Paypal HTML variables information available at -

Page 165 to page 173 of the "Website Payments Standard Integration Guide" pdf document available on Paypal website.
Logon to Paypal Business Account > Products & Services > Recurring Billing > Manual > Subscriptions and Recurring Payments Manual

Some of the relevant information about the Paypal HTML variables is also available at -
https://cms.paypal.com/us/cgi-bin/?c..._htmlvariables

The information about these variables to customize/fix this Mod (as shown above) were easily understood. Overall this is one of the best Mod I have seen.



Cybernetec,

Since others on this forum have asked for this fix for recurring subscription payment, would you like to review and consider these suggestions/changes to incorporate them in the next release of this Mod.

Thanks for your great work!

kapoor22
Reply With Quote
  #173  
Old 06-06-2009, 05:08 PM
MJJPlaza.com MJJPlaza.com is offline
 
Join Date: Apr 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybernetec View Post
Commas are used to separate amounts. Use dots.

Wrong: 5,5
Good: 5.5
When i manually add a donor in the donor's list, and i put e.g. "5.5" as an amount donated, tha hack automatically converts it into "5" in donor's list.

Maybe i have to enable decimal from admin cp?
Reply With Quote
  #174  
Old 06-06-2009, 05:57 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will be fixed in next version.
Reply With Quote
  #175  
Old 06-06-2009, 06:13 PM
MJJPlaza.com MJJPlaza.com is offline
 
Join Date: Apr 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybernetec View Post
Will be fixed in next version.
Ok thanks, when will be realesed the next version?
Reply With Quote
  #176  
Old 06-09-2009, 09:52 PM
MjrNuT's Avatar
MjrNuT MjrNuT is offline
 
Join Date: Jun 2008
Location: NorCal
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post #171, that is very well offered.

Since I made a feature request before and found out it was already apart of the system, I'll be careful this time as maybe I don't see it like the other one.

Is it possible to have a field to enter more of a message or even some instructions. For instance, stating that a payment will not actually occur until actually logging into Paypal Account and hitting Send Money.

Also, I think Paypal made a change recently or I just noticed this, but a person sending money is presented w/ two tabs for payment types > Services and Personal. This is the other reason I'd like some sort of INFO box to explain or suggest what the Donator/User might/should do.

I hope that made sense, if not please someone slap me silly. :P

Thanks
Reply With Quote
  #177  
Old 06-09-2009, 10:04 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Please choose an option below..." message which is shown above donate options can be changed to anything you want.

Also you can enable PM Notice in product options which is sent to users to let them know that their donations will be checked...
Reply With Quote
  #178  
Old 06-09-2009, 10:20 PM
MjrNuT's Avatar
MjrNuT MjrNuT is offline
 
Join Date: Jun 2008
Location: NorCal
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybernetec View Post
"Please choose an option below..." message which is shown above donate options can be changed to anything you want.

Also you can enable PM Notice in product options which is sent to users to let them know that their donations will be checked...
Thanks for your quick reply...but I guess I'm not finding where I can EDIT that message, which is great! Please explain...

The PM notice I have covered and does not really help me for my Informational needs though.

Thanks
Reply With Quote
  #179  
Old 06-09-2009, 10:42 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Phrase Manager - for all text customizations/translations.
Reply With Quote
  #180  
Old 06-12-2009, 07:00 PM
Markos Markos is offline
 
Join Date: Aug 2006
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyway that wen a new donation is confirmed it will post a thank you post in a certain section of the forum
Reply With Quote
  #181  
Old 06-12-2009, 07:53 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Such feature may be added in next version, but no promises.
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 05:43 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.14329 seconds
  • Memory Usage 2,379KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete