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

Reply
 
Thread Tools
Paypal Donate Forum Block Details »»
Paypal Donate Forum Block
Version: 1.00, by t-j t-j is offline
Developer Last Online: Jan 2018 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.2.0 Rating:
Released: 06-04-2013 Last Update: Never Installs: 7
Re-useable Code Translations Is in Beta Stage  
No support by the author.

I could not find this when I went looking for it so I googled, found some snippets and this is now what I use and it looks quite well
So as I found some bits on the www all credit to the original author/s

This will add a nice paypal forum block to your forum, and you can edit the link when the paypal button is clicked to either your current donate page or directly to your paypal acc

I have this working on vb 4.2.0 but it should work for any version
You are welcome to edit and improve and re-post any part of this code
See screenshot or go to www.tech-sat.info
I hope it helps someone



To Install:

1. create a new forum block and name it whatever you like
2. set your display order and set the block to active
3. Contant type - set to HTML
4. copy below code and paste it into the content box



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

<span class="smallfont">If you like Tech-Sat, and would like to give something back in return, you can make a donation. Your donation will be used to pay for hosting service, domain, & maintenance costs and just to say Thank You we will upgrade your account to <b><font size="2" color="DarkMagenta">VIP Member</font></b></span>
<br /><br />
<form action="http://www.tech-sat.info/vbdonate.php?do=donate" method="post">
<input type="hidden" name="currency_code" value="euro">
<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/>
5. edit the code with your forum name and either a link to your donate page or your paypal account
6. edit the wording to suit your forum
7. save and your done

Screenshots

File Type: jpg donateblock.jpg (23.1 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 06-05-2013, 07:42 PM
gazza2008 gazza2008 is offline
 
Join Date: Aug 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent mod mate
Reply With Quote
  #3  
Old 06-06-2013, 01:58 AM
hungtl hungtl is offline
 
Join Date: Apr 2010
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks bro
Reply With Quote
  #4  
Old 06-06-2013, 06:51 PM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Correct me if I am wrong here, but this requires the use of the Dbtech donation mod does it not?

How do you get this to work with just a paypal email?
Reply With Quote
  #5  
Old 06-07-2013, 02:22 AM
kapii kapii is offline
 
Join Date: Apr 2008
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking at the code, it does indeed require vBDonate, which this mod in not needed as the donate mod has a forum block with it already.
Reply With Quote
Благодарность от:
Krusty1231
  #6  
Old 07-29-2013, 10:21 AM
TopHoster TopHoster is offline
 
Join Date: Jul 2013
Location: United Kingdom
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much for this. Very useful.
Reply With Quote
  #7  
Old 11-17-2013, 05:57 PM
Spangle Spangle is offline
 
Join Date: Jun 2011
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you sign up to Paypal ( takes fiveminutes) you can actually get a code generated by Paypal, the code includes a donate button, with all the graphics for visa etc, and donations are conducted over a secure server, I'm not sure if the DB mod does that.
Reply With Quote
  #8  
Old 11-17-2013, 06:04 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes the DBT mod does that, but if you use a donate button, you are in violation of PayPal's policy, only Not For Profit can use a donate button.
Reply With Quote
  #9  
Old 11-17-2013, 06:07 PM
Spangle Spangle is offline
 
Join Date: Jun 2011
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Yes the DBT mod does that, but if you use a donate button, you are in violation of PayPal's policy, only Not For Profit can use a donate button.
I followed their guidelines, I'm not actually using a donate button, I'm using a "Buy us a beer" graphic donated by JC on Admin Zone !
Reply With Quote
  #10  
Old 11-17-2013, 06:19 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah that's the way to go. I just had JC make a logo for me to.
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 04:04 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.05400 seconds
  • Memory Usage 2,322KB
  • 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
  • (1)bbcode_code
  • (1)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • 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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete