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

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

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 02-20-2010 Last Update: 06-09-2012 Installs: 1892
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
-Donation listing
-Subscriptions (for Business/Premier PayPal Accounts)
-Donation bar
-Confirmed/Unconfirm/Delete donations
-Move or add confirmed donors to your VIP/Donor usergroup
-Donate stats (total donations, total amount, number of confirmed/unconfirmed donations)
-Block usergroups from viewing Donations or statistics details
-Add/Edit donations
-PM reports

View screenshots for more details...

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


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

Versions:
v1.0 - Oct 13. 2005.
-First Release
v4.8.2 - Dec 29. 2008.
-Latest vB 3.x version
v5.0 - Feb 21. 2010.
-Updated for vBulletin 4
-Fixed known bugs
v5.0.1 - May 22. 2012.
-Quick fix for vBulletin 4.2 compatibility
v5.0.2 - Jun 09. 2012.
-Compatible with vB 4.2.1
-Fixed several style issues
-Fixed some permission bugs
v5.0.3 - Jun 10. 2012.
-Added back option to change Donate link color

Download Now

File Type: zip VSa - PayPal Donate v5.0.3.zip (15.4 KB, 3947 views)

Screenshots

File Type: jpg donate.jpg (74.8 KB, 0 views)
File Type: jpg navbar.jpg (46.5 KB, 0 views)
File Type: jpg donlist.jpg (110.7 KB, 0 views)
File Type: jpg options.jpg (57.3 KB, 0 views)
File Type: jpg donbar.jpg (60.6 KB, 0 views)
File Type: jpg acp1.jpg (131.6 KB, 0 views)
File Type: jpg acp2.jpg (148.0 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 02-21-2010, 06:56 PM
Mike_K Mike_K is offline
 
Join Date: Jun 2005
Location: Germany
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I said there is missing a field wich allows to put in the amount.
The field must be shown after choosen "custom".

I don't know why it doesn't work at your site.
Reply With Quote
  #33  
Old 02-21-2010, 07:17 PM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah but aside from the custom option... choose idk $100 dollars for example.. on the paypal page it shows up as 5 bucks, does it show up like that for you?
Reply With Quote
  #34  
Old 02-21-2010, 07:23 PM
chingon chingon is offline
 
Join Date: Dec 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this.

Where in the xml can I edit "donate" to say "Paypal Donations" on the navbar link?
Reply With Quote
  #35  
Old 02-21-2010, 07:27 PM
Mike_K Mike_K is offline
 
Join Date: Jun 2005
Location: Germany
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bouncer222 View Post
yeah but aside from the custom option... choose idk $100 dollars for example.. on the paypal page it shows up as 5 bucks, does it show up like that for you?
Yes, always 5 USD
Reply With Quote
  #36  
Old 02-21-2010, 08:30 PM
masterross's Avatar
masterross masterross is offline
 
Join Date: Nov 2005
Location: Bulgaria
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by atgv View Post
Thanks Valter, VB4 looks & functions much better with your efforts & mods

Edit: Maybe in next update it would be nice to place donate button like attached picture
Go to your style chose "Add New Template", Title "vsa_donate_navbar_link".
Template:
Code:
<vb:if condition="$vboptions['selectednavtab'] == 'donate'">
<li class="selected">
    <a class="navtab" href="misc.php?do=donate{vb:raw session.sessionurl_q}">{vb:rawphrase cybpaypal_donate}</a>
</li>
<vb:else />
    <li><a class="navtab" href="misc.php?do=donate{vb:raw session.sessionurl_q}">{vb:rawphrase cybpaypal_donate}</a></li>
</vb:if>
Save.

After this go to "Plugins & Products/Add New Plugin"
In Product select "VSa - PayPal Donate"
In Hook Location "process_templates_complete"
In Title "VSa - PayPal Donate - NAVBAR"
In Execution Order: 5
In Plugin PHP Code:
PHP Code:
if ($vbulletin->options['vsapaypal_show_link'])
{
    if (
$_REQUEST['do'] == 'donate')
    {
        
$vbulletin->options['selectednavtab'] = 'donate';
    }
    
$template_hook['navtab_middle'] .= vB_Template::create('vsa_donate_navbar_link')->render();

Plugin is Active : Yes
Save


Enjoy!
Reply With Quote
  #37  
Old 02-21-2010, 08:48 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bouncer222 View Post
Yeah I enabled it. but even if you choose a different amount, it still shows 5 dollars, go ahead and try it..

http://www.brotherhoodofgamers.com/misc.php?do=donate

Is it the same for you?
No JavaScript code loaded on your forums. I don't know why, but Donate form is dead without it.
Quote:
Originally Posted by chingon View Post
Thank you for this.

Where in the xml can I edit "donate" to say "Paypal Donations" on the navbar link?
Phrase Manager.

Why playing with XML for such things?
Reply With Quote
  #38  
Old 02-21-2010, 08:54 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be made into a sidebar widget Valter ?
Reply With Quote
  #39  
Old 02-21-2010, 09:30 PM
GrossKopf GrossKopf is offline
 
Join Date: Jan 2007
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I manually enter the amount that has been donated so far?
Reply With Quote
  #40  
Old 02-21-2010, 10:02 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Thank you.
Reply With Quote
  #41  
Old 02-21-2010, 10:08 PM
zbosskiller zbosskiller is offline
 
Join Date: Sep 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrossKopf View Post
How can I manually enter the amount that has been donated so far?
Hey Andy,

If you click on 'Donation Goal' then choose 'View Donations' at the bottom of that loaded page you will see 'Add Donor Manually'. Just enter the UserID of the donor, the amount and leave the date blank. It will then add it to the list and PM the user if you have that set up in your options.

Remember, it's user number and not user name.

Z
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 09:09 PM.


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.06564 seconds
  • Memory Usage 2,369KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (5)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
  • (16)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
  • (8)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