Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

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
  #12  
Old 02-20-2014, 11:50 AM
mofeu's Avatar
mofeu mofeu is offline
 
Join Date: Oct 2007
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do I need to change anything?
Because from this link : http://www.tech-sat.info/vbdonate.php?do=donate I got the message In order to accept POST requests originating from this domain, the admin must add the domain to the whitelist
Reply With Quote
  #13  
Old 02-20-2014, 01:18 PM
ramesh_umk3 ramesh_umk3 is offline
 
Join Date: Jul 2010
Location: Earth
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its VSA PAYPAL DONATE plugin you need to install first and replace your domain with his
Code:
https://vborg.vbsupport.ru/showthread.php?t=236480
Regards,
Reply With Quote
  #14  
Old 05-28-2015, 01:19 AM
Macgiber Macgiber is offline
 
Join Date: Apr 2009
Location: PR
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

which direction I have to put in the code
Reply With Quote
  #15  
Old 05-28-2015, 01:23 AM
e24h e24h is offline
 
Join Date: Apr 2010
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much for this. Very useful.
Reply With Quote
Reply

Thread Tools

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:06 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.05905 seconds
  • Memory Usage 2,250KB
  • Queries Executed 21 (?)
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
  • (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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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_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