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

Reply
 
Thread Tools
Paypal donate in notice. Details »»
Paypal donate in notice.
Version: 1.00, by seanm07 seanm07 is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 08-09-2008 Last Update: Never Installs: 22
Re-useable Code Translations  
No support by the author.

This is so easy to add you don't even need to know what a computer is to use it.



This is my first little add-on.:erm:
Hope you like it.

Why I made it:
Well because of this thread:https://vborg.vbsupport.ru/showthread.php?t=187701

Installation:
Open Admin cp - Notices - Add notice.
In title put what ever you want to find this in the notice manager as members will not see this.
In notice HTML put this code:

Code:
<center>
<tr>
 <td class="$bgclass">
<div style="margin:0 auto; width: 40%; border: 3px dotted #FFFFFF; background-color: #0066FF";>
</center>
<center>
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
Please enter the amount you would like to donate: 
  <input type="text" name="amount" size="6" value="5.00" />
  <input type="hidden" name="cmd" value="_xclick" />
  <input type="hidden" name="business" value="youremail@blabla.com" />
  <input type="hidden" name="item_name" value="Keep our forum running." />
  <input type="hidden" name="no_note" value="1" />
  <input type="hidden" name="currency_code" value="GBP" />
  <input type="hidden" name="tax" value="0" />

<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!" />
</center>
</form>
<center>
<h4>INSERT DESCRIPTION TO GET PEOPLE TO DONATE HERE</h4>
</div>
</center>
Things you need to edit in the code:
Put a description in where it says "INSERT DESCRIPTION TO GET PEOPLE TO DONATE HERE"
Put your donation email where is says "youremail@blabla.com"
Put what you want to call your donate where it says "Keep our forum running."
Put your currency where it says "GBP" Get currency codes here http://www.xe.com/iso4217.php
Put where it says tax 0 put what ever if any tax you want added.



Leave the Display Order as it is unless you know what your doing and want to change it.
Active is if it is enabled make sure it is set to yes.
Persistent If this option is set to 'No', the notice will be shown only once per visit to each user.

Set when you want it to display.
To set it for all just set it to users posts is between 0 and 999999999 posts.:up:


Show Your Support

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

Comments
  #22  
Old 08-27-2008, 12:47 PM
seanm07 seanm07 is offline
 
Join Date: Apr 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Read my topic post and it says "Put your currency where it says "GBP" Get currency codes here http://www.xe.com/iso4217.php
" ctrl and f then type GBP or just look for it.
Reply With Quote
  #23  
Old 08-29-2008, 04:07 PM
OTForums OTForums is offline
 
Join Date: Aug 2008
Location: United Kingdom
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankyou, once I get my new forum skin I will add this to my forum.

Installed in advance.
Reply With Quote
  #24  
Old 09-14-2008, 01:11 PM
Satfool1 Satfool1 is offline
 
Join Date: Sep 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Added on my forum, works perfectly.

Thanks for sharing as it works better than a product instalation
Reply With Quote
  #25  
Old 09-14-2008, 02:54 PM
AzaDiyaR AzaDiyaR is offline
 
Join Date: Oct 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks working
Reply With Quote
  #26  
Old 10-31-2008, 03:15 PM
Denver Jackson Denver Jackson is offline
 
Join Date: Sep 2008
Location: gsdfgdsf
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to change the colour of the text ?
Reply With Quote
  #27  
Old 11-10-2008, 08:55 AM
raja811 raja811 is offline
 
Join Date: Oct 2006
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

instaled but there no diplay?
Reply With Quote
  #28  
Old 11-10-2008, 10:41 PM
dmknights dmknights is offline
 
Join Date: Jul 2007
Location: UK
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Installed*
Useful. Thank You
Reply With Quote
  #29  
Old 12-06-2008, 06:35 PM
appsfinder appsfinder is offline
 
Join Date: Apr 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had small problem with template i had to remove this code

<tr>
<td class="$bgclass">

what does this code do?
Reply With Quote
  #30  
Old 10-27-2009, 03:04 PM
ckgreenman ckgreenman is offline
 
Join Date: Feb 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Tried this on 3.8.4 and it doesn't work. All it does is appear to reload the current page but doesn't take you to the paypal form. Any suggestions?
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 08:57 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.04572 seconds
  • Memory Usage 2,291KB
  • 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)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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